/**
 * Pages CSS — Consolidated styles for Places, Guide, Search
 *
 * Extracted from inline <style> blocks in:
 *   - template-places-index.php
 *   - template-place-region.php
 *   - template-guide.php
 *   - search.php
 *
 * @package AllPlanner
 */

/* ========================================
   PLACES INDEX (/places/)
   ======================================== */
/* ========================================
   PLACES INDEX (v2 — Photo Cards)
   ======================================== */
/* Reduce theme wrapper spacing on places index */
.page-template-template-places-index .site-content {
    padding-top: var(--space-4);
}
.page-template-template-places-index .site-content > .container {
    margin-top: 0;
}

/* S272 테마 캔버스 해제 — 부모 `.container`(여백 32) + 페이지 자기 여백 겹침 제거.
   이 페이지들의 자(ruler) = 각자의 표준 wrap 하나 (홈·푸터와 같은 좌측선) */
.container:has(> .t2w-pi),
.container:has(> .t2w-tour-detail),
.container:has(> .t2w-celebx),
/* S280: 가이드도 같은 이중 여백이었다 — 실측 375px 본문 좌측선 48(=32+16) vs 푸터 16 */
.container:has(> .t2w-guide-page) { max-width: none; padding-left: 0; padding-right: 0 }

/* S272: 사이트 표준 컨테이너 합류 (옛 1100 + space-4) */
.t2w-pi {
    max-width: var(--t2w-wrap-max, 1200px);
    margin: 0 auto;
    padding: var(--space-4) var(--t2w-wrap-pad, 32px) var(--space-10);
}
.t2w-pi h1 {
    font-size: 34px;
    font-weight: var(--font-bold);
    color: var(--color-text-primary);
    margin: 0 0 var(--space-2);
}
.t2w-pi-sub {
    color: var(--color-text-secondary);
    font-size: 16px;
    margin-bottom: var(--space-6);
}

/* Featured hero cards (top 4 — asymmetric grid) */
.t2w-pi-featured {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: 240px 200px;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}
/* Row 1: Sydney(60%) | Melbourne(40%) */
.t2w-pi-featured .t2w-pi-hero:nth-child(1) { grid-column: 1 / 4; }
.t2w-pi-featured .t2w-pi-hero:nth-child(2) { grid-column: 4 / 6; }
/* Row 2: GoldCoast(40%) | Cairns(60%) */
.t2w-pi-featured .t2w-pi-hero:nth-child(3) { grid-column: 1 / 3; }
.t2w-pi-featured .t2w-pi-hero:nth-child(4) { grid-column: 3 / 6; }

/* First card (largest destination) gets extra emphasis */
.t2w-pi-featured .t2w-pi-hero:first-child h2 { font-size: 36px; }

/* State badge */
.t2w-pi-state {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    padding: 3px 10px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    color: var(--color-white);
    font-size: 13px;
    font-weight: var(--font-bold);
    letter-spacing: 0.05em;
    z-index: 2;
}
.t2w-pi-state--card {
    position: static;
    background: var(--color-bg-gray);
    color: var(--color-text-secondary);
    backdrop-filter: none;
    flex-shrink: 0;
}

.t2w-pi-hero {
    position: relative;
    display: block;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: var(--color-white);
    background: var(--color-text-primary);
}
.t2w-pi-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.t2w-pi-hero:hover img {
    transform: scale(1.06);
}
.t2w-pi-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-5) var(--space-6);
}
.t2w-pi-hero h2 {
    font-size: 30px;
    font-weight: var(--font-bold);
    margin: 0 0 4px;
    color: var(--color-white);
}
.t2w-pi-hero p {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.85);
    margin: 0 0 var(--space-2);
}
.t2w-pi-hero__count {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 15px;
    font-weight: var(--font-bold);
    color: var(--color-primary);
}
.t2w-pi-hero__count .material-symbols-outlined {
    font-size: 16px;
}

/* Section heading */
.t2w-pi-section {
    font-size: 20px;
    font-weight: var(--font-bold);
    color: var(--color-text-primary);
    margin: 0 0 var(--space-4);
}

/* Compact grid (rest) */
.t2w-pi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--space-4);
}

/* Card */
.t2w-pi-card {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    background: var(--color-white);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: 1.5px solid var(--color-border-light);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.t2w-pi-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

/* Card image */
.t2w-pi-card__img {
    width: 100%;
    height: 160px;
    overflow: hidden;
    position: relative;
}
.t2w-pi-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.t2w-pi-card:hover .t2w-pi-card__img img {
    transform: scale(1.08);
}
.t2w-pi-card__img--empty {
    background: var(--color-bg-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}
.t2w-pi-card__img--empty .material-symbols-outlined {
    font-size: 48px;
    color: var(--color-text-muted);
}

/* Card body */
.t2w-pi-card__body {
    padding: var(--space-4) var(--space-5) var(--space-5);
}
.t2w-pi-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
    margin-bottom: 2px;
}
.t2w-pi-card h2 {
    font-size: 22px;
    font-weight: var(--font-bold);
    color: var(--color-text-primary);
    margin: 0;
}
.t2w-pi-card-en {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: var(--space-2);
}
.t2w-pi-card-desc {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-3);
    line-height: 1.5;
}
.t2w-pi-card-count {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 15px;
    color: var(--color-primary-dark);
    font-weight: var(--font-bold);
}
.t2w-pi-card-count .material-symbols-outlined {
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .t2w-pi-featured {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .t2w-pi-featured .t2w-pi-hero:nth-child(1),
    .t2w-pi-featured .t2w-pi-hero:nth-child(2),
    .t2w-pi-featured .t2w-pi-hero:nth-child(3),
    .t2w-pi-featured .t2w-pi-hero:nth-child(4) {
        grid-column: 1;
    }
    .t2w-pi-hero {
        height: 180px;
        border-radius: 16px;
    }
    .t2w-pi-hero h2 { font-size: 24px; }
    .t2w-pi-featured .t2w-pi-hero:first-child h2 { font-size: 24px; }
    .t2w-pi-hero__overlay { padding: var(--space-4); }
    .t2w-pi-grid { grid-template-columns: repeat(2, 1fr); }
    .t2w-pi-card__img { height: 120px; }
}
@media (max-width: 480px) {
    .t2w-pi-grid { grid-template-columns: 1fr; }
}

/* ========================================
   PLACE REGION (/places/{region}/)
   ======================================== */
/* ========================================
   PLACE REGION (v2 — Design System)
   ======================================== */

/* [G] Header gap fix */
.page-template-template-place-region .site-content { padding-top: 0; }
.page-template-template-place-region .site-content > .container { margin-top: 0; }

.t2w-pr {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--space-4) var(--space-10);
}
.t2w-pr h1 {
    font-size: 32px;
    font-weight: var(--font-bold);
    color: var(--color-text-primary);
    margin: 0 0 4px;
}
.t2w-pr-sub {
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    margin-bottom: var(--space-5);
}

/* [E] Hero banner */
.t2w-pr-hero {
    position: relative;
    height: 280px;
    overflow: hidden;
    margin-bottom: var(--space-6);
}
.t2w-pr-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.t2w-pr-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-8) var(--space-6);
    color: var(--color-white);
}
.t2w-pr-hero__overlay h1 {
    color: var(--color-white);
    font-size: 36px;
    margin: 0 0 var(--space-2);
}
.t2w-pr-hero__overlay p {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.85);
    margin: 0 0 var(--space-3);
    max-width: 600px;
    line-height: 1.5;
}
.t2w-pr-hero__overlay .t2w-pr-breadcrumb {
    margin-bottom: var(--space-3);
}
.t2w-pr-hero__overlay .t2w-pr-breadcrumb,
.t2w-pr-hero__overlay .t2w-pr-breadcrumb a {
    color: rgba(255,255,255,0.7);
}
.t2w-pr-hero__count {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 15px;
    font-weight: var(--font-bold);
    color: var(--color-primary);
}
.t2w-pr-hero__count .material-symbols-outlined { font-size: 16px; }

/* Breadcrumb (non-hero) */
.t2w-pr-breadcrumb {
    font-size: 15px;
    color: var(--color-text-muted);
    margin-bottom: var(--space-4);
    padding-top: var(--space-4);
}
.t2w-pr-breadcrumb a {
    color: var(--color-primary-dark);
    text-decoration: none;
}

/* [C] Filters — gold active */
.t2w-pr-filters {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
    margin-bottom: var(--space-6);
}
.t2w-pr-filter {
    padding: var(--space-2) var(--space-4);
    border-radius: 9999px;
    border: 1.5px solid var(--color-border-light);
    background: var(--color-white);
    color: var(--color-text-secondary);
    font-size: 15px;
    font-weight: var(--font-bold);
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.t2w-pr-filter:hover {
    border-color: var(--color-primary-light);
    color: var(--color-text-primary);
}
a.t2w-pr-filter.t2w-pr-filter--active,
.t2w-pr-filter--active {
    background: var(--color-primary, #FFB700);
    color: var(--color-white, #fff);
    border-color: var(--color-primary, #FFB700);
}

/* Grid */
.t2w-pr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--space-4);
}

/* Card */
.t2w-pr-card {
    border-radius: 16px;
    overflow: hidden;
    background: var(--color-white);
    border: 1.5px solid var(--color-border-light);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.t2w-pr-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* [A] Card image — <img> with lazy load */
.t2w-pr-card-img {
    height: 170px;
    position: relative;
    overflow: hidden;
    background: var(--color-bg-gray);
}
.t2w-pr-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.t2w-pr-card:hover .t2w-pr-card-img img {
    transform: scale(1.06);
}
/* S277 Z 문법: 무사진 = 웜 잉크 + 골드 글로우 + 카테고리 글리프 + 「사진 준비 중」 (S274 상세 문법 확장) */
.t2w-pr-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--t2w-hp-ink, #241E1A);
    background-image: radial-gradient(110% 85% at 78% 12%, rgba(var(--color-primary-rgb, 255, 183, 0), .24), transparent 60%);
}
.t2w-pr-card-placeholder .material-symbols-outlined {
    font-size: 46px;
    color: rgba(255, 255, 255, .14);
}
.t2w-pr-card-pill { position: absolute; left: 10px; bottom: 10px; padding: 5px 10px; font-style: normal;
    border-radius: var(--t2w-hp-r-pill, 999px); background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .8);
    font-size: 13px; font-weight: 700 }
.t2w-pr-card-badge {
    position: absolute;
    top: var(--space-2);
    left: var(--space-2);
    padding: 3px 10px;
    border-radius: 8px;
    color: var(--color-white);
    font-size: 13px;
    font-weight: var(--font-bold);
    z-index: 1;
}

/* Card body */
.t2w-pr-card-body { padding: var(--space-3) var(--space-4) var(--space-4); }
.t2w-pr-card-name {
    font-size: 16px;
    font-weight: var(--font-bold);
    color: var(--color-text-primary);
    margin: 0 0 2px;
}
.t2w-pr-card-en {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: var(--space-2);
}

/* [D] Card meta — S277 Z 문법: 별점 = 골드 칩 (S276 비슷한 투어 푸터 문법) */
.t2w-pr-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}
.t2w-pr-card-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px;
    border-radius: var(--t2w-hp-r-pill, 999px); background: var(--color-bg-warm, #fffbeb);
    font-size: 13px; font-weight: 700; color: var(--t2w-hp-ink-soft, #6B6157); white-space: nowrap }
.t2w-pr-card-chip--star { background: var(--color-tag-gold-bg, #FFF3D6); color: var(--color-tag-gold-text, #8A5A00) }

/* [B] Pagination */
.t2w-pr-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* S277: 폰에서 페이지 12개+가 한 줄로 화면을 뚫던 기존 결함 수리 (기하 검증기 375 FAIL 적발) */
    gap: 6px;
    margin-top: var(--space-8);
}
.t2w-pr-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--space-3);
    border-radius: 10px;
    font-size: var(--text-sm);
    font-weight: var(--font-bold);
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    background: var(--color-white);
    border: 1.5px solid var(--color-border-light);
    color: var(--color-text-secondary);
}
.t2w-pr-page:hover {
    border-color: var(--color-primary);
}
.t2w-pr-page--current {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

/* Responsive */
@media (max-width: 768px) {
    .t2w-pr-hero { height: 200px; }
    .t2w-pr-hero__overlay { padding: var(--space-5) var(--space-4); }
    .t2w-pr-hero__overlay h1 { font-size: 28px; }
    .t2w-pr-grid { grid-template-columns: 1fr 1fr; }
    .t2w-pr-card-img { height: 130px; }
}
@media (max-width: 480px) {
    .t2w-pr-hero { height: 180px; }
    .t2w-pr-card-img { height: 110px; }
    .t2w-pr-card-name { font-size: 15px; }
}

/* ========================================
   TRAVEL GUIDE (/guide/)
   ======================================== */
/* Page container */
.t2w-guide-page{max-width:1100px;margin:0 auto;padding:16px 24px 80px}
.t2w-guide-breadcrumb{font-size:15px;color:#9CA3AF;margin-bottom:0;max-width:1100px;margin:0 auto;padding:16px 24px 0}
.t2w-guide-breadcrumb a{color:#6B7280;text-decoration:none}
.t2w-guide-breadcrumb a:hover{color:var(--color-primary,#FFB700)}

/* Hero — index */
.t2w-guide-hero{text-align:center;margin-bottom:40px;padding:40px 24px;background:var(--color-bg-cream);border-radius:20px}
.t2w-guide-hero__icon{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;background:#fff;border-radius:16px;box-shadow:0 2px 8px rgba(0,0,0,0.06);margin-bottom:16px}
.t2w-guide-hero__icon .material-symbols-outlined{font-size:36px;color:var(--color-primary,#FFB700)}
.t2w-guide-hero h1{font-size:32px;font-weight:800;color:#111827;margin:0 0 8px}
.t2w-guide-hero p{font-size:16px;color:#6B7280;margin:0;line-height:1.6}
.t2w-guide-hero__count{display:inline-flex;align-items:center;gap:6px;margin-top:12px;padding:6px 14px;background:#fff;border-radius:20px;font-size:15px;font-weight:600;color:#92400E}
.t2w-guide-hero__count .material-symbols-outlined{font-size:16px}

/* Single guide content */
.t2w-guide-content{font-size:16px;line-height:1.8;color:#374151}
.t2w-guide-content h2{font-size:22px;font-weight:700;color:#111827;margin:32px 0 12px;padding-bottom:8px;border-bottom:2px solid #E5E7EB}
.t2w-guide-content h3{font-size:18px;font-weight:600;color:#1F2937;margin:24px 0 8px}
.t2w-guide-content ul{padding-left:20px;margin:8px 0 16px}
.t2w-guide-content li{margin-bottom:6px}
.t2w-guide-content strong{color:#111827}
.t2w-guide-content p{margin:8px 0 16px}
/* S265: 이용법 가이드 — 본문 화면 캡처 + CTA (planner-basic / planner-add) */
.t2w-guide-content img{display:block;max-width:100%;height:auto;border-radius:14px;border:1px solid var(--color-border-light,#E5E7EB);box-shadow:0 4px 14px rgba(20,30,50,.08);margin:12px 0 22px}
.t2w-guide-content .t2w-guide-cta{display:inline-flex;align-items:center;gap:7px;margin-top:8px;padding:14px 26px;min-height:44px;border-radius:12px;
  background:linear-gradient(120deg,var(--color-primary-lighter,#FFD966),var(--color-primary,#FFB700));
  color:var(--color-secondary-dark,#152A47);font-size:15px;font-weight:800;text-decoration:none;box-shadow:0 8px 18px rgba(255,150,0,.3)}
.t2w-guide-content .t2w-guide-cta:hover{transform:translateY(-2px)}
.t2w-guide-table{width:100%;border-collapse:collapse;margin:16px 0;font-size:15px}
.t2w-guide-table th,.t2w-guide-table td{padding:10px 12px;border:1px solid #E5E7EB;text-align:left}
.t2w-guide-table th{background:#fffbeb;font-weight:600;color:#111827}
.t2w-guide-table tfoot td{font-weight:700;background:#FFFBEB}

/* Single guide — bottom nav */
.t2w-guide-nav{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px;margin-top:40px;padding-top:24px;border-top:1px solid #E5E7EB}
.t2w-guide-nav-card{padding:16px;background:#fffbeb;border-radius:12px;text-decoration:none;color:inherit;border:1px solid #E5E7EB;transition:border-color .2s,background .2s}
.t2w-guide-nav-card:hover{border-color:var(--color-primary,#FFB700);background:#FFFBEB}
.t2w-guide-nav-card .material-symbols-outlined{font-size:28px;color:var(--color-primary,#FFB700);margin-bottom:4px}
.t2w-guide-nav-card h3{font-size:15px;font-weight:600;margin:0 0 2px;color:#111827}
.t2w-guide-nav-card p{font-size:13px;color:#6B7280;margin:0}

/* Grid — 3 columns */
.t2w-guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}

/* Card */
.t2w-guide-index-card{display:flex;flex-direction:column;background:#fff;border:1px solid #E5E7EB;border-radius:16px;text-decoration:none;color:inherit;overflow:hidden;transition:border-color .2s,box-shadow .2s,transform .2s}
.t2w-guide-index-card:hover{border-color:var(--color-primary,#FFB700);box-shadow:0 8px 24px rgba(0,0,0,0.08);transform:translateY(-2px)}

/* Color bar — S262: 잡색 9색 → 웜 3색 순환(골드/클레이/세이지, S191 태그 팔레트) */
.t2w-guide-card__bar{height:4px}
.t2w-guide-card__bar--visa{background:var(--color-primary,#FFB700)}
.t2w-guide-card__bar--flights{background:var(--color-tag-clay-text,#9A4A1E)}
.t2w-guide-card__bar--budget{background:var(--color-tag-sage-text,#5F5A2A)}
.t2w-guide-card__bar--money{background:var(--color-primary,#FFB700)}
.t2w-guide-card__bar--communication{background:var(--color-tag-clay-text,#9A4A1E)}
.t2w-guide-card__bar--packing{background:var(--color-tag-sage-text,#5F5A2A)}
.t2w-guide-card__bar--safety{background:var(--color-primary,#FFB700)}
.t2w-guide-card__bar--transport{background:var(--color-tag-clay-text,#9A4A1E)}
.t2w-guide-card__bar--culture{background:var(--color-tag-sage-text,#5F5A2A)}

/* Card body */
.t2w-guide-card__body{padding:20px;flex:1;display:flex;flex-direction:column}
.t2w-guide-card__header{display:flex;align-items:center;gap:12px;margin-bottom:8px}
.t2w-guide-card__title{font-size:18px;font-weight:700;color:#111827}
.t2w-guide-card__desc{font-size:15px;color:#6B7280;margin-bottom:14px;line-height:1.5}

/* Icon per color */
.t2w-guide-card__icon{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.t2w-guide-card__icon .material-symbols-outlined{font-size:24px}
.t2w-guide-card__icon--visa{background:var(--color-tag-gold-bg,#FFF3D6)}.t2w-guide-card__icon--visa .material-symbols-outlined{color:var(--color-tag-gold-text,#8A5A00)}
.t2w-guide-card__icon--flights{background:var(--color-tag-clay-bg,#FBE0CE)}.t2w-guide-card__icon--flights .material-symbols-outlined{color:var(--color-tag-clay-text,#9A4A1E)}
.t2w-guide-card__icon--budget{background:var(--color-tag-sage-bg,#EFEAD8)}.t2w-guide-card__icon--budget .material-symbols-outlined{color:var(--color-tag-sage-text,#5F5A2A)}
.t2w-guide-card__icon--money{background:var(--color-tag-gold-bg,#FFF3D6)}.t2w-guide-card__icon--money .material-symbols-outlined{color:var(--color-tag-gold-text,#8A5A00)}
.t2w-guide-card__icon--communication{background:var(--color-tag-clay-bg,#FBE0CE)}.t2w-guide-card__icon--communication .material-symbols-outlined{color:var(--color-tag-clay-text,#9A4A1E)}
.t2w-guide-card__icon--packing{background:var(--color-tag-sage-bg,#EFEAD8)}.t2w-guide-card__icon--packing .material-symbols-outlined{color:var(--color-tag-sage-text,#5F5A2A)}
.t2w-guide-card__icon--safety{background:var(--color-tag-gold-bg,#FFF3D6)}.t2w-guide-card__icon--safety .material-symbols-outlined{color:var(--color-tag-gold-text,#8A5A00)}
.t2w-guide-card__icon--transport{background:var(--color-tag-clay-bg,#FBE0CE)}.t2w-guide-card__icon--transport .material-symbols-outlined{color:var(--color-tag-clay-text,#9A4A1E)}
.t2w-guide-card__icon--culture{background:var(--color-tag-sage-bg,#EFEAD8)}.t2w-guide-card__icon--culture .material-symbols-outlined{color:var(--color-tag-sage-text,#5F5A2A)}

/* Tips preview */
.t2w-guide-card__tips{list-style:none;padding:0;margin:0 0 0 0;margin-top:auto}
.t2w-guide-card__tips li{display:flex;align-items:flex-start;gap:6px;font-size:13px;color:#374151;line-height:1.5;padding:4px 0}
.t2w-guide-card__tips li+li{border-top:1px solid #F3F4F6}
.t2w-guide-card__tips .material-symbols-outlined{font-size:15px;color:var(--color-tag-gold-text,#8A5A00);flex-shrink:0;margin-top:2px} /* S262: 체크 아이콘 쿨그린 → 웜 골드 */

/* Read more link */
.t2w-guide-card__more{display:flex;align-items:center;gap:4px;margin-top:14px;font-size:15px;font-weight:600;color:var(--color-primary,#FFB700)}
.t2w-guide-card__more .material-symbols-outlined{font-size:16px}

/* Responsive */
@media(max-width:900px){.t2w-guide-grid{grid-template-columns:repeat(2,1fr);gap:16px}}
@media(max-width:640px){.t2w-guide-page{padding:12px 16px 60px}.t2w-guide-grid{grid-template-columns:1fr;gap:14px}.t2w-guide-hero{padding:28px 16px;border-radius:14px}.t2w-guide-hero h1{font-size:24px}.t2w-guide-hero__icon{width:52px;height:52px}.t2w-guide-nav{grid-template-columns:1fr}}

/* ========================================
   SEARCH RESULTS (v2 — Design System)
   ======================================== */
/* Reduce theme wrapper spacing on search page */
.search-results .site-content {
    padding-top: var(--space-4);
}
.search-results .site-content > .container {
    margin-top: 0;
}

.t2w-search {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-4) var(--space-5) var(--space-10);
}

/* Search bar */
.t2w-search__header { margin-bottom: var(--space-6); }
.t2w-search__form {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    background: var(--color-white);
    border: 2px solid var(--color-border-light);
    border-radius: 16px;
    padding: var(--space-3) var(--space-4);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.t2w-search__form:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(var(--color-primary-rgb), 0.1);
}
.t2w-search__form .material-symbols-outlined {
    color: var(--color-text-muted);
    font-size: 24px;
}
.t2w-search__input {
    flex: 1;
    min-width: 0; /* S262: input 내재 최소폭이 flex 컨테이너를 밀어 모바일에서 폼·검색 버튼이 화면 밖으로 잘리던 것 */
    border: none;
    outline: none;
    font-size: 16px;
    font-family: inherit;
    font-weight: var(--font-medium);
    background: transparent;
    color: var(--color-text-primary);
}
.t2w-search__submit {
    height: 40px;
    padding: 0 var(--space-5);
    border-radius: 12px;
    border: none;
    background: var(--color-primary);
    color: var(--color-white);
    font-weight: var(--font-bold);
    cursor: pointer;
    font-family: inherit;
    font-size: var(--text-sm);
    white-space: nowrap;
    flex-shrink: 0;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.t2w-search__submit:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
}

/* Result count */
.t2w-search__count {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-4);
}
/* 2026-10-11 GAP C1: 도시 안에서만 찾았을 때 한 줄 + 넓혀 찾기 */
.t2w-search__scope { margin: calc(var(--space-2) * -1) 0 var(--space-4); font-size: var(--text-sm); color: var(--color-text-secondary); }
.t2w-search__scope a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-text-primary); font-weight: var(--font-bold); text-underline-offset: 3px; }
.t2w-search__count strong {
    color: var(--color-text-primary);
    font-weight: var(--font-bold);
}

/* Tabs */
.t2w-search__tabs {
    display: flex;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: var(--space-1);
}
.t2w-search__tab {
    padding: var(--space-2) var(--space-4);
    border-radius: 9999px;
    border: 1.5px solid var(--color-border-light);
    background: var(--color-white);
    font-size: 15px;
    font-weight: var(--font-bold);
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    font-family: inherit;
    color: var(--color-text-secondary);
}
.t2w-search__tab:hover {
    border-color: var(--color-primary-light);
    color: var(--color-text-primary);
}
.t2w-search__tab.active {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

/* Result card */
.t2w-search__result {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-4);
    border-radius: 16px;
    background: var(--color-white);
    margin-bottom: var(--space-3);
    text-decoration: none;
    color: inherit;
    border: 1.5px solid var(--color-border-light);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.t2w-search__result:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

/* Result image */
.t2w-search__result-img {
    width: 140px;
    height: 105px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}
.t2w-search__result-placeholder {
    width: 140px;
    height: 105px;
    border-radius: 12px;
    background: var(--color-bg-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.t2w-search__result-placeholder .material-symbols-outlined {
    font-size: 40px;
    color: var(--color-text-muted);
}
/* S262: 가이드 검색 결과 — 웜 골드 아이콘 카드 */
.t2w-search__result-placeholder--guide {
    background: linear-gradient(150deg, var(--t2w-hp-paper, #ffffff), var(--t2w-hp-paper-3, #FFEFD6));
}
.t2w-search__result-placeholder--guide .material-symbols-outlined {
    color: var(--color-tag-gold-text, #8A5A00);
}

/* Result body */
.t2w-search__result-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.t2w-search__result-type {
    font-size: 13px;
    font-weight: var(--font-bold);
    color: var(--color-primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.t2w-search__result-title {
    font-size: 16px;
    font-weight: var(--font-bold);
    color: var(--color-text-primary);
    margin: 4px 0;
    line-height: 1.3;
}
.t2w-search__result-excerpt {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* Empty state */
.t2w-search__empty {
    text-align: center;
    padding: var(--space-10) var(--space-5);
}
.t2w-search__empty .material-symbols-outlined {
    font-size: 64px;
    color: var(--color-border-light);
    display: block;
    margin-bottom: var(--space-4);
}
.t2w-search__empty h3 {
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--color-text-primary);
    margin-bottom: var(--space-2);
}
.t2w-search__empty p {
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
}
/* 2026-10-12 GAP C6: 빈 결과 — 다시 찾기 · 바로 둘러보기 · 알려 주기 */
.t2w-search__retry {
    margin-top: var(--space-5);
}
.t2w-search__empty .t2w-search__browse,
.t2w-search__empty .t2w-search__ask {
    margin-top: var(--space-4);
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}
.t2w-search__browse a,
.t2w-search__ask a {
    color: var(--color-text-primary);
    font-weight: var(--font-semibold);
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
}
.t2w-search__suggestions {
    display: flex;
    gap: var(--space-2);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--space-5);
}
.t2w-search__chip {
    padding: var(--space-2) var(--space-4);
    border-radius: 9999px;
    border: 1.5px solid var(--color-border-light);
    background: var(--color-white);
    font-size: 15px;
    font-weight: var(--font-medium);
    text-decoration: none;
    color: var(--color-text-primary);
    transition: border-color 0.2s ease, background-color 0.2s ease;
}
.t2w-search__chip:hover {
    border-color: var(--color-primary);
    background: rgba(var(--color-primary-rgb), 0.06);
}

/* 2026-10-11 GAP C5: 추천 · 최근 검색어 · 최근 본 상품 */
.t2w-search__header { position: relative; }
.t2w-search__assist { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; background: var(--color-white); border: 1.5px solid var(--color-border-light); border-radius: 16px; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08); padding: var(--space-2); }
.t2w-search__assist[hidden], .t2w-search__suggest[hidden], .t2w-search__recent[hidden], .t2w-search__seen[hidden] { display: none; }
.t2w-search__suggest { list-style: none; margin: 0; padding: 0; }
.t2w-search__suggest-a { display: flex; align-items: center; gap: var(--space-3); min-height: 44px; padding: 0 var(--space-3); border-radius: 12px; color: var(--color-text-primary); text-decoration: none; font-size: 15px; font-weight: var(--font-medium); }
.t2w-search__suggest-a:hover, .t2w-search__suggest-a:focus-visible { background: rgba(var(--color-primary-rgb), 0.08); }
.t2w-search__suggest-k { flex: none; min-width: 44px; font-size: 13px; font-weight: var(--font-bold); color: var(--color-primary-dark); }
.t2w-search__recent { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); padding: var(--space-2); }
.t2w-search__assist-h { width: 100%; font-size: 13px; font-weight: var(--font-bold); color: var(--color-text-secondary); }
.t2w-search__recent-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.t2w-search__recent-chips .t2w-search__chip { min-height: 36px; display: inline-flex; align-items: center; }
.t2w-search__recent-clear { margin-left: auto; min-height: 36px; padding: 0 var(--space-2); border: 0; background: none; color: var(--color-text-secondary); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }
.t2w-search__seen { margin-top: var(--space-8); }
.t2w-search__seen-h { font-size: var(--text-lg); font-weight: var(--font-bold); color: var(--color-text-primary); margin-bottom: var(--space-3); }
.t2w-search__seen-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
.t2w-search__seen-card { display: flex; flex-direction: column; gap: 4px; min-width: 0; text-decoration: none; color: var(--color-text-primary); }
.t2w-search__seen-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; background: var(--color-bg-gray); }
.t2w-search__seen-card b { font-size: 15px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.t2w-search__seen-card span { font-size: 14px; font-weight: var(--font-bold); color: var(--color-text-secondary); }
@media (max-width: 1024px) { .t2w-search__seen-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) {
    .t2w-search__seen-list { display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .t2w-search__seen-list::-webkit-scrollbar { display: none; }
    .t2w-search__seen-card { flex: 0 0 62%; scroll-snap-align: start; }
}

/* Pagination */
.t2w-search__pagination { text-align: center; margin-top: var(--space-8); }
.t2w-search__pagination .nav-links a,
.t2w-search__pagination .nav-links span {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    border-radius: 10px;
    margin: 0 3px;
    font-size: var(--text-sm);
    font-weight: var(--font-bold);
}
.t2w-search__pagination .nav-links .current {
    background: var(--color-primary);
    color: var(--color-white);
}
.t2w-search__pagination .nav-links a {
    background: var(--color-white);
    border: 1.5px solid var(--color-border-light);
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: border-color 0.2s ease;
}
.t2w-search__pagination .nav-links a:hover {
    border-color: var(--color-primary);
}

/* Responsive */
@media (max-width: 768px) {
    .t2w-search { padding: var(--space-4) var(--space-3) var(--space-8); }
    .t2w-search__result-img,
    .t2w-search__result-placeholder {
        width: 100px;
        height: 100px;
    }
    .t2w-search__result-title { font-size: 15px; }
    .t2w-search__result { padding: var(--space-3); gap: var(--space-3); }
    /* S262: 모바일 터치 타깃 44px (검색 버튼·탭) + 폼 여백 압축 */
    .t2w-search__form { padding: var(--space-2) var(--space-3); gap: var(--space-2); }
    .t2w-search__submit { height: 44px; }
    .t2w-search__tab { min-height: 44px; display: inline-flex; align-items: center; }
    .t2w-search__tabs { scrollbar-width: none; }
    .t2w-search__tabs::-webkit-scrollbar { display: none; }
}

/* ========================================
   ITINERARY GALLERY (v2 — Design System)
   ======================================== */

/* Header gap fix */
.page-template-template-itinerary-gallery .site-content { padding-top: var(--space-4); }
.page-template-template-itinerary-gallery .site-content > .container { margin-top: 0; }

.t2w-gallery {
    max-width: 1100px;
    margin: 0 auto;
    padding: var(--space-4) var(--space-4) var(--space-10);
}
.t2w-gallery h1 {
    font-size: 32px;
    font-weight: var(--font-bold);
    color: var(--color-text-primary);
    margin: 0 0 4px;
}
.t2w-gallery-subtitle {
    font-size: 16px;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-6);
}

/* Filters — gold active */
.t2w-gallery-filters {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
    margin-bottom: var(--space-4);
}
.t2w-gallery-filter {
    padding: var(--space-2) var(--space-4);
    border: 1.5px solid var(--color-border-light);
    border-radius: 9999px;
    background: var(--color-white);
    cursor: pointer;
    font-size: 15px;
    font-weight: var(--font-bold);
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    color: var(--color-text-secondary);
    font-family: inherit;
}
.t2w-gallery-filter:hover {
    border-color: var(--color-primary-light);
    color: var(--color-text-primary);
}
.t2w-gallery-filter.active {
    background: var(--color-primary, #FFB700);
    color: var(--color-white, #fff);
    border-color: var(--color-primary, #FFB700);
}
.t2w-gallery-filter .material-symbols-outlined {
    font-size: 16px;
    vertical-align: -3px;
}

/* Grid */
.t2w-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-4);
}

/* Card */
.t2w-gallery-card {
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border: 1.5px solid var(--color-border-light);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.t2w-gallery-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Card image */
.t2w-gallery-card-img {
    height: 160px;
    position: relative;
    overflow: hidden;
    background: var(--color-bg-gray);
}
.t2w-gallery-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.t2w-gallery-card:hover .t2w-gallery-card-img img {
    transform: scale(1.06);
}
.t2w-gallery-card-img-empty {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.t2w-gallery-card-img-empty .material-symbols-outlined {
    font-size: 40px;
    color: var(--color-text-muted);
}

/* Region badge on card image */
.t2w-gallery-card-region {
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
    padding: 4px 12px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    color: var(--color-white);
    font-size: 13px;
    font-weight: var(--font-bold);
    z-index: 1;
}
.t2w-gallery-card-companion {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(var(--color-primary-rgb), 0.9);
    color: var(--color-white);
    font-size: 13px;
    font-weight: var(--font-bold);
    z-index: 1;
}

/* Card body */
.t2w-gallery-card-body {
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    flex: 1;
}
.t2w-gallery-card-title {
    font-size: 16px;
    font-weight: var(--font-bold);
    color: var(--color-text-primary);
    margin: 0 0 var(--space-2);
    line-height: 1.3;
}
.t2w-gallery-card-meta {
    display: flex;
    gap: var(--space-3);
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: var(--space-3);
}
.t2w-gallery-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: var(--space-3);
    border-top: 1px solid var(--color-border-light);
}
.t2w-gallery-author {
    font-size: 13px;
    color: var(--color-text-muted);
}
.t2w-gallery-action {
    font-size: 13px;
    font-weight: var(--font-bold);
    color: var(--color-primary-dark);
}

/* CTA */
.t2w-gallery-cta { margin-top: var(--space-8); }
.t2w-gallery-cta-inner {
    text-align: center;
    padding: var(--space-8) var(--space-5);
    background: rgba(var(--color-primary-rgb), 0.08);
    border-radius: 20px;
}
.t2w-gallery-cta-inner h3 {
    font-size: 22px;
    font-weight: var(--font-bold);
    margin: var(--space-3) 0 var(--space-2);
}
.t2w-gallery-cta-inner p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-5);
}
.t2w-gallery-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: var(--space-3) var(--space-6);
    border-radius: 12px;
    background: var(--color-primary);
    color: var(--color-white);
    font-weight: var(--font-bold);
    font-size: var(--text-sm);
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.t2w-gallery-cta-btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
}

/* Loading / Empty */
.t2w-gallery-loading {
    text-align: center;
    padding: var(--space-8);
    color: var(--color-text-muted);
    grid-column: 1 / -1;
}
.t2w-gallery-empty {
    text-align: center;
    padding: var(--space-10) var(--space-5);
    color: var(--color-text-muted);
    grid-column: 1 / -1;
}

/* Pagination */
.t2w-gallery-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: var(--space-6);
}
.t2w-gallery-page-btn {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--color-border-light);
    border-radius: 10px;
    background: var(--color-white);
    cursor: pointer;
    font-size: var(--text-sm);
    font-weight: var(--font-bold);
    color: var(--color-text-secondary);
    font-family: inherit;
    transition: border-color 0.2s ease;
}
.t2w-gallery-page-btn:hover { border-color: var(--color-primary); }
.t2w-gallery-page-btn.active {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

/* Sub-filters row (sort + season combined) */
.t2w-gallery-filters--sub { margin-top: calc(-1 * var(--space-2)); align-items: center }
.t2w-gallery-filter--sm {
    padding: 5px 12px; font-size: 13px;
    display: inline-flex; align-items: center; gap: 4px;
}
.t2w-gallery-filter--sm .material-symbols-outlined { font-size: 16px }
.t2w-gallery-divider {
    width: 1px; height: 20px; background: var(--color-border-light); margin: 0 4px;
}

/* Card title — 2-line clamp */
.t2w-gallery-card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card description (one_liner) */
.t2w-gallery-card-desc {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.4;
    margin: 0 0 var(--space-2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card meta icons */
.t2w-gallery-card-meta .material-symbols-outlined {
    font-size: 15px; vertical-align: -2px; opacity: .6;
}

/* Card action arrow */
.t2w-gallery-action {
    display: inline-flex; align-items: center; gap: 2px;
}
.t2w-gallery-action .material-symbols-outlined { font-size: 16px }

/* Responsive */
@media (max-width: 768px) {
    .t2w-gallery-grid { grid-template-columns: 1fr; }
    .t2w-gallery h1 { font-size: 24px; }
    .t2w-gallery-card-img { height: 140px; }
    .t2w-gallery-divider { display: none }
    .t2w-gallery-filters--sub { flex-wrap: wrap }
}

/* ========================================
   ITINERARY VIEW (/itinerary/{hash}/)
   Travel Magazine / Product Landing Page
   ======================================== */

/* Wrap — break out of .container constraints */
.iv-wrap {
    background: var(--color-bg-warm, #fffbeb);
    margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%);
    width: 100vw; overflow-x: hidden;
}
/* Remove theme wrapper top padding for this page */
body:has(.iv-wrap) .site-content { padding-top: 0; }
body:has(.iv-wrap) .container { max-width: none; padding: 0; margin: 0; }
/* Hero content uses viewport-safe padding — removed, handled below */

/* ═══ HERO ═══ */
.iv-hero { position: relative; height: 520px; overflow: hidden; }
.iv-hero__grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 6px;
    height: 100%;
}
.iv-hero__grid img,
.iv-hero__grid .iv-hero__placeholder {
    width: 100%; height: 100%; object-fit: cover;
}
.iv-hero__main { grid-row: 1 / 3; border-radius: 0 0 0 20px; }
.iv-hero__sub:first-of-type { border-radius: 0; }
.iv-hero__sub:last-of-type { border-radius: 0 0 20px 0; }
.iv-hero__placeholder {
    background: var(--color-bg-gray, #fffbeb);
    display: flex; align-items: center; justify-content: center;
    color: var(--color-text-muted);
}
.iv-hero__placeholder .material-symbols-outlined { font-size: 48px; }
.iv-hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.6) 0%, rgba(0,0,0,.25) 60%, rgba(0,0,0,.1) 100%);
    pointer-events: none;
}
.iv-hero__content {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 40px max(48px, calc((100vw - 1200px) / 2 + 48px));
    color: #fff; z-index: 2;
}
.iv-hero__back {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 15px; color: rgba(255,255,255,.8); margin-bottom: 16px; cursor: pointer;
}
.iv-hero__back:hover { color: var(--color-white); }
.iv-hero__region {
    font-size: 15px; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 8px;
}
.iv-hero__content .iv-hero__title,
h1.iv-hero__title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 42px; font-weight: 800; line-height: 1.2;
    letter-spacing: -0.5px; margin-bottom: 12px;
    color: var(--color-white, #fff);
}
/* Force all hero text white — override HivePress h1-h6 color */
.iv-hero__content { color: var(--color-white, #fff); }
.iv-hero__content h1,
.iv-hero__content h2,
.iv-hero__content h3 { color: var(--color-white, #fff); }
.iv-hero__subtitle {
    font-size: 16px; color: rgba(255,255,255,.85); line-height: 1.5;
    max-width: 640px; margin-bottom: 4px;
}
.iv-hero__chips { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.iv-hero__content .iv-chip,
.iv-chip {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 6px 14px; border-radius: 9999px;
    background: rgba(255,255,255,.15); backdrop-filter: blur(8px);
    font-size: 15px; font-weight: 600; color: #fff;
}

/* ═══ MAIN LAYOUT ═══ */
.iv-main {
    max-width: 1200px; margin: 0 auto;
    padding: 40px 24px 80px;
    display: grid; grid-template-columns: 1fr 360px; gap: 48px;
}

/* ═══ STORY (left) ═══ */
.iv-story { min-width: 0; }
.iv-section-label {
    font-size: 13px; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--color-primary-text, #b45309);
    margin-bottom: 8px;
}
.iv-section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 32px; font-weight: 700; margin-bottom: 32px; letter-spacing: -0.3px;
}

/* Highlights */
.iv-highlight {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 32px; align-items: center; margin-bottom: 48px;
}
.iv-highlight:nth-child(even) { direction: rtl; }
.iv-highlight:nth-child(even) > * { direction: ltr; }
.iv-highlight__img {
    width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 16px;
}
.iv-highlight__placeholder {
    aspect-ratio: 4/3; border-radius: 16px;
    background: linear-gradient(135deg, #e8dcc8 0%, #d4c5a9 100%);
    display: flex; align-items: center; justify-content: center;
}
.iv-highlight__placeholder .material-symbols-outlined { font-size: 48px; color: rgba(255,255,255,.6); }
.iv-highlight__day {
    font-size: 13px; font-weight: 700;
    color: var(--color-primary-text, #b45309);
    letter-spacing: 1px; margin-bottom: 6px;
}
.iv-highlight__name { font-size: 24px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.2px; }
.iv-highlight__cat {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px 12px; border-radius: 9999px;
    background: var(--color-bg-gray, #f4f4f1);
    font-size: 13px; font-weight: 600; color: var(--color-text-secondary);
    margin-bottom: 12px;
}
.iv-highlight__desc {
    font-size: 16px; line-height: 1.7; color: var(--color-text-secondary, #555);
}

/* Author */
.iv-author {
    display: flex; align-items: center; gap: 16px;
    padding: 24px 0;
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
    margin: 32px 0;
}
.iv-author__avatar {
    width: 56px; height: 56px; border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary, #FFB700), var(--color-primary-dark, #E5A400));
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 800; color: var(--color-white, #fff); flex-shrink: 0;
}
.iv-author__name { font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.iv-author__bio { font-size: 15px; color: var(--color-text-muted); line-height: 1.5; }

/* Day Accordion */
.iv-accordion-section {
    margin-top: 8px;
    padding-top: 24px;
    border-top: 2px solid var(--color-border-light, #E5E7EB);
}
.iv-accordion-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 24px; font-weight: 700; margin-bottom: 20px; letter-spacing: -0.2px;
}
.iv-accordion { border-bottom: 1px solid var(--color-border-light); }
.iv-accordion summary {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 0; font-size: 16px; font-weight: 600;
    cursor: pointer; list-style: none;
}
.iv-accordion summary::-webkit-details-marker { display: none; }
.iv-accordion summary .material-symbols-outlined {
    font-size: 22px; color: var(--color-primary-text, #b45309); transition: transform .2s;
}
.iv-accordion[open] summary .material-symbols-outlined { transform: rotate(90deg); }
.iv-accordion__day-num {
    font-size: 15px; font-weight: 700; color: var(--color-white);
    background: var(--color-primary-text, #b45309);
    padding: 3px 10px; border-radius: 6px; flex-shrink: 0;
}
.iv-accordion__day-text { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iv-accordion__day-count {
    font-size: 13px; font-weight: 500; color: var(--color-text-muted, #888);
    flex-shrink: 0;
}
.iv-accordion__body { padding: 0 0 20px 48px; }
.iv-accordion__place {
    padding: 10px 0; border-bottom: 1px solid var(--color-bg-gray, #f3f4f6);
}
.iv-accordion__place:last-child { border-bottom: none; }
.iv-accordion__place-top {
    display: flex; align-items: center; gap: 10px;
    font-size: 15px; color: var(--color-text-secondary, #4B5563);
}
.iv-accordion__place-top .material-symbols-outlined { font-size: 16px; color: var(--color-text-muted); }
.iv-accordion__place-name { flex: 1; min-width: 0; font-weight: 500; }
.iv-accordion__place-cat {
    font-size: 13px; font-weight: 600; padding: 2px 8px;
    border-radius: 4px; background: var(--color-bg-gray, #fffbeb);
    color: var(--color-text-muted); flex-shrink: 0;
}
.iv-accordion__place-dur {
    font-size: 13px; color: var(--color-text-muted, #888); flex-shrink: 0;
}
.iv-accordion__place-desc {
    font-size: 15px; color: var(--color-text-muted, #888);
    line-height: 1.5; padding-left: 26px; margin-top: 4px;
}

/* ═══ SIDEBAR (right) ═══ */
.iv-sidebar { position: sticky; top: 24px; align-self: flex-start; }
.iv-summary {
    background: var(--color-white);
    border-radius: 16px; padding: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.iv-summary__title { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.iv-summary__region { font-size: 15px; color: var(--color-text-muted); margin-bottom: 20px; }
.iv-summary__stats {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 12px; margin-bottom: 20px;
}
.iv-stat {
    background: var(--color-bg-warm, #f9f9f6);
    border-radius: 10px; padding: 14px; text-align: center;
}
.iv-stat__value { font-size: 24px; font-weight: 800; color: var(--color-primary-text, #b45309); }
.iv-stat__label { font-size: 13px; color: var(--color-text-muted); margin-top: 2px; }

/* Pace meter */
.iv-pace { margin-bottom: 20px; }
.iv-pace__label { font-size: 15px; font-weight: 600; color: var(--color-text-secondary); margin-bottom: 6px; }
.iv-pace__bar { display: flex; gap: 4px; }
.iv-pace__dot {
    width: 100%; height: 6px; border-radius: 3px;
    background: var(--color-border-light, #efebe4);
}
.iv-pace__dot.active {
    background: linear-gradient(90deg, var(--color-primary, #FFB700), var(--color-primary-dark, #E5A400));
}
.iv-pace__range {
    display: flex; justify-content: space-between;
    font-size: 13px; color: var(--color-text-muted); margin-top: 4px;
}

/* Social proof */
.iv-proof {
    display: flex; flex-direction: column; gap: 6px;
    margin-bottom: 24px; padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border-light);
}
.iv-proof__item {
    display: flex; align-items: center; gap: 8px;
    font-size: 15px; color: var(--color-text-muted);
}
.iv-proof__item .material-symbols-outlined { font-size: 16px; color: var(--color-text-muted); }

/* CTA */
a.iv-cta-primary,
button.iv-cta-primary,
.iv-cta-primary {
    display: block; width: 100%; padding: 16px; border: none; border-radius: 12px;
    background: linear-gradient(135deg, var(--color-primary-text, #7d5800), var(--color-primary, #FFB700));
    color: var(--color-white, #fff); font-size: 16px; font-weight: 700;
    cursor: pointer; text-align: center;
    transition: transform .2s, box-shadow .2s, opacity .2s;
    font-family: inherit; text-decoration: none;
}
/* hover handled in Craft section below */
.iv-cta-secondary {
    display: block; width: 100%; text-align: center;
    margin-top: 10px; font-size: 15px;
    color: var(--color-text-muted); cursor: pointer; text-decoration: none;
}
.iv-cta-secondary:hover { color: var(--color-primary-text); }

/* ═══ BOTTOM CTA ═══ */
.iv-bottom-cta { max-width: 1200px; margin: 0 auto 40px; padding: 0 24px; }
.iv-wrap .iv-bottom-cta__inner {
    background: linear-gradient(135deg, var(--color-primary-text, #7d5800) 0%, var(--color-primary, #FFB700) 100%);
    border-radius: 20px; padding: 48px;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.iv-bottom-cta__text { color: var(--color-white); }
.iv-bottom-cta__text h3 { font-size: 28px; font-weight: 800; margin-bottom: 6px; }
.iv-bottom-cta__text p { font-size: 16px; color: rgba(255,255,255,.8); }
a.iv-bottom-cta__btn,
.iv-bottom-cta__btn {
    padding: 16px 36px; border: none; border-radius: 12px;
    background: var(--color-white); color: var(--color-primary-text, #7d5800);
    font-size: 16px; font-weight: 700; cursor: pointer;
    white-space: nowrap; font-family: inherit;
    transition: transform .2s, box-shadow .2s;
    text-decoration: none;
}

/* ═══ MOBILE STICKY CTA ═══ */
.iv-mobile-cta { display: none; }

/* ═══ CRAFT: Transitions & Micro-interactions ═══ */

/* Hero image subtle zoom on load */
.iv-hero__grid img {
    animation: iv-hero-zoom 8s ease-out forwards;
}
@keyframes iv-hero-zoom {
    from { transform: scale(1.05); }
    to { transform: scale(1); }
}

/* Highlight card hover */
.iv-highlight {
    transition: transform .2s ease, box-shadow .2s ease;
    border-radius: 16px;
}
.iv-highlight:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

/* Accordion open/close body transition */
.iv-accordion__body {
    animation: iv-accordion-open .25s ease-out;
}
@keyframes iv-accordion-open {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* CTA hover lift */
a.iv-cta-primary:hover,
.iv-cta-primary:hover {
    opacity: 1; transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(180,83,9,.25);
}
a.iv-bottom-cta__btn:hover,
.iv-bottom-cta__btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 16px rgba(0,0,0,.1);
}

/* Accordion summary hover */
.iv-accordion summary:hover { background: var(--color-bg-gray, #f9f9f6); border-radius: 8px; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
    .iv-hero { height: 400px; }
    .iv-hero__grid { grid-template-columns: 1fr; grid-template-rows: 1fr; }
    .iv-hero__sub { display: none; }
    .iv-hero__main { grid-row: auto; border-radius: 0; }
    .iv-hero__content { padding: 24px 20px; }
    .iv-hero__title {
        font-size: 24px; line-height: 1.3;
        display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .iv-hero__subtitle { font-size: 15px; line-height: 1.4; }
    .iv-hero__region { font-size: 13px; }

    .iv-main { grid-template-columns: 1fr; gap: 0; padding: 0 16px 100px; }

    .iv-sidebar { position: relative; top: 0; order: -1; margin: 24px 0; }
    .iv-summary { box-shadow: none; border: 1px solid var(--color-border-light); }
    .iv-summary__title { font-size: 16px; }

    .iv-section-title { font-size: 24px; }

    .iv-highlight { grid-template-columns: 1fr; gap: 16px; }
    .iv-highlight:nth-child(even) { direction: ltr; }
    .iv-highlight__img { aspect-ratio: 16/9; }
    .iv-highlight__name { font-size: 20px; }
    .iv-highlight__desc { font-size: 15px; }
    .iv-highlight:hover { transform: none; box-shadow: none; }

    .iv-accordion summary { font-size: 15px; }
    .iv-accordion__day-text { font-size: 15px; }

    .iv-bottom-cta__inner { flex-direction: column; text-align: center; padding: 32px 24px; }
    .iv-bottom-cta__text h3 { font-size: 22px; }

    .iv-mobile-cta {
        display: flex; position: fixed; bottom: 0; left: 0; right: 0;
        padding: 12px 16px env(safe-area-inset-bottom, 12px) 16px;
        padding-bottom: max(12px, env(safe-area-inset-bottom));
        background: var(--color-white, #fff);
        box-shadow: 0 -2px 12px rgba(0,0,0,.08); z-index: 100; gap: 8px;
    }
    .iv-mobile-cta .iv-cta-primary { flex: 1; padding: 14px; font-size: 16px; border-radius: 10px; }

    /* Avoid overlap with HivePress bottom nav */
    .iv-wrap { padding-bottom: 60px; }
}

/* ========================================
   MY ITINERARIES (/my-itineraries/)
   ======================================== */
.t2w-mypage { padding: 0 0 64px; min-height: 60vh; margin-top: -32px; }
.t2w-mypage .container { max-width: 960px; margin: 0 auto; padding: 0 16px; }

/* Login prompt */
.t2w-mypage__login { text-align: center; padding: 80px 20px; }
.t2w-mypage__login h2 { margin: 16px 0 8px; font-size: 24px; }
.t2w-mypage__login p { color: #666; margin-bottom: 24px; }
/* S280: 게스트 빈 상태에 다음 행동 3개 — 모바일에서 세로로 쌓이고 버튼 폭이 손가락에 맞게 */
.t2w-mypage__login-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.t2w-mypage__login-note { color: #837560; font-size: 15px; margin: 20px 0 0; }
@media (max-width: 480px) {
    .t2w-mypage__login-actions { flex-direction: column; align-items: stretch; }
    .t2w-mypage__login-actions .t2w-mypage__btn { justify-content: center; }
}

/* Welcome Banner */
.t2w-mypage__banner { background: linear-gradient(135deg, #7d5800 0%, #FFB700 100%); border-radius: 20px; padding: 32px 36px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.t2w-mypage__banner-text h1 { font-size: 24px; font-weight: 800; color: #fff; margin: 0 0 6px; }
.t2w-mypage__banner-text p { font-size: 15px; color: rgba(255,255,255,.8); margin: 0; }
.t2w-mypage__banner-cta { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; border-radius: 12px; background: rgba(255,255,255,.2); border: 1.5px solid rgba(255,255,255,.4); color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; transition: all .2s; flex-shrink: 0; }
.t2w-mypage__banner-cta:hover { background: rgba(255,255,255,.3); color: #fff; }

/* Stats */
.t2w-mypage__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 24px; }
.t2w-mypage__stat { background: #fff; border-radius: 14px; padding: 18px 12px; text-align: center; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.t2w-mypage__stat-val { display: block; font-size: 30px; font-weight: 800; color: #7d5800; margin-bottom: 4px; }
.t2w-mypage__stat-lbl { font-size: 13px; color: #837560; font-weight: 500; }

/* Buttons */
.t2w-mypage__btn { display: inline-flex; align-items: center; gap: 6px; padding: 12px 24px; border-radius: 12px; font-size: 15px; font-weight: 700; text-decoration: none; transition: all .2s; }
.t2w-mypage__btn--primary { background: linear-gradient(135deg, #7d5800, #FFB700); color: #fff; }
.t2w-mypage__btn--primary:hover { opacity: 0.9; color: #fff; }
.t2w-mypage__btn--outline { border: 1.5px solid #E5E7EB; color: #333; background: #fff; }
.t2w-mypage__btn--outline:hover { border-color: #F59E0B; color: #D97706; }

/* Tabs — pill style */
.t2w-mypage__tabs { display: flex; gap: 4px; margin-bottom: 28px; background: #EEEEEB; border-radius: 12px; padding: 4px; }
.t2w-mypage__tab { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 14px; border-radius: 10px; font-size: 15px; font-weight: 600; color: #6B7280; text-decoration: none; text-align: center; transition: all .2s; }
.t2w-mypage__tab:hover { color: #1a1c1b; }
.t2w-mypage__tab--active { background: #fff; color: #1a1c1b; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.t2w-mypage__tab .material-icons-round { font-size: 20px; }

/* Empty state */
.t2w-mypage__empty { text-align: center; padding: 60px 20px; }
.t2w-mypage__empty-icon { width: 80px; height: 80px; margin: 0 auto 20px; background: linear-gradient(135deg, #FFFBEB, #FEF3C7); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.t2w-mypage__empty-icon .material-symbols-outlined { font-size: 40px; color: #D97706; }
.t2w-mypage__empty h3 { font-size: 20px; font-weight: 700; color: #1a1c1b; margin: 0 0 8px; }
.t2w-mypage__empty p { color: #837560; font-size: 15px; margin: 0 0 24px; }
.t2w-mypage__empty .material-icons-round { font-size: 48px; margin-bottom: 12px; color: #D1D5DB; }

/* Grid (itineraries, wishlist) */
.t2w-mypage__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }

/* Card */
.t2w-mypage__card { display: block; background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 20px; text-decoration: none; color: inherit; transition: all .2s; }
.t2w-mypage__card:hover { border-color: var(--t2w-primary, #FFB700); box-shadow: 0 4px 12px rgba(255,183,0,.15); transform: translateY(-2px); }
.t2w-mypage__card-top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--t2w-primary, #FFB700); font-size: 15px; }
.t2w-mypage__card-top .material-icons-round { font-size: 20px; }
.t2w-mypage__card-title { font-size: 16px; font-weight: 600; margin: 0 0 8px; line-height: 1.4; }
.t2w-mypage__card-meta { display: flex; gap: 12px; font-size: 15px; color: #888; }
.t2w-mypage__card-paused { font-weight: 700; color: var(--color-text-secondary); } /* 2026-10-11 B10 */
.t2w-mypage__shared { display: inline-block; margin-top: 8px; font-size: 13px; color: #22C55E; background: #F0FDF4; padding: 2px 8px; border-radius: 8px; }
.t2w-mypage__public { margin-left: auto; font-size: 13px; color: #2563EB; background: #EFF6FF; padding: 2px 8px; border-radius: 8px; font-weight: 500; }
.t2w-mypage__card-img { height: 120px; border-radius: 8px; background: #f5f5f5 center/cover no-repeat; margin-bottom: 12px; position: relative; }
.t2w-mypage__card-cat { position: absolute; top: 8px; left: 8px; background: rgba(0,0,0,.6); color: #fff; font-size: 13px; padding: 2px 8px; border-radius: 6px; }

.t2w-mypage__date { font-size: 13px; color: #aaa; }

/* Reviews Tab */
.t2w-myrvw__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.t2w-myrvw__stat { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 12px; background: #fff; border: 1px solid #eee; border-radius: 12px; }
.t2w-myrvw__stat .material-icons-round { font-size: 28px; color: var(--t2w-primary, #FFB700); }
.t2w-myrvw__stat-num { font-size: 24px; font-weight: 700; color: #1a1a1a; }
.t2w-myrvw__stat-label { font-size: 13px; color: #888; }

.t2w-myrvw__badge { display: flex; align-items: center; gap: 16px; padding: 14px 20px; background: linear-gradient(135deg, #FFFBEB, #FEF3C7); border: 1px solid #FDE68A; border-radius: 12px; margin-bottom: 20px; }
.t2w-myrvw__badge-current { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.t2w-myrvw__badge-icon { font-size: 28px; }
.t2w-myrvw__badge-name { font-size: 16px; font-weight: 600; color: #92400E; }
.t2w-myrvw__badge-progress { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.t2w-myrvw__badge-bar { height: 6px; background: #FDE68A; border-radius: 3px; overflow: hidden; }
.t2w-myrvw__badge-fill { height: 100%; background: linear-gradient(90deg, #F59E0B, #D97706); border-radius: 3px; transition: width .5s ease; }
.t2w-myrvw__badge-next { font-size: 13px; color: #92400E; }
.t2w-myrvw__badge-max { font-size: 15px; font-weight: 600; color: #D97706; }

.t2w-myrvw__list { display: flex; flex-direction: column; gap: 12px; }
.t2w-myrvw__item { display: flex; gap: 14px; background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 16px; transition: border-color .2s; }
.t2w-myrvw__item:hover { border-color: #F59E0B; }
.t2w-myrvw__thumb { flex-shrink: 0; width: 72px; height: 72px; border-radius: 8px; background: #f5f5f5 center/cover no-repeat; }
.t2w-myrvw__content { flex: 1; min-width: 0; }
.t2w-myrvw__top { margin-bottom: 4px; }
.t2w-myrvw__place { font-size: 16px; font-weight: 600; color: #1a1a1a; text-decoration: none; }
.t2w-myrvw__place:hover { color: #D97706; }
.t2w-myrvw__meta { display: block; font-size: 13px; color: #999; margin-top: 2px; }
.t2w-myrvw__stars { display: flex; align-items: center; gap: 2px; margin-bottom: 6px; flex-wrap: wrap; }
.t2w-myrvw__visit-date { font-size: 13px; color: #999; margin-left: 6px; }
.t2w-myrvw__season { font-size: 13px; padding: 1px 6px; border-radius: 6px; margin-left: 4px; font-weight: 500; }
.t2w-myrvw__season--여름 { background: #FEF3C7; color: #92400E; }
.t2w-myrvw__season--가을 { background: #FFEDD5; color: #9A3412; }
.t2w-myrvw__season--겨울 { background: #DBEAFE; color: #1E40AF; }
.t2w-myrvw__season--봄 { background: #DCFCE7; color: #166534; }
.t2w-myrvw__text { font-size: 15px; color: #555; margin: 0 0 8px; line-height: 1.5; word-break: keep-all; }
.t2w-myrvw__photos { display: flex; gap: 6px; margin-bottom: 8px; }
.t2w-myrvw__photo { width: 48px; height: 48px; border-radius: 6px; object-fit: cover; }
.t2w-myrvw__actions { display: flex; align-items: center; gap: 12px; font-size: 13px; color: #aaa; }
.t2w-myrvw__helpful { display: flex; align-items: center; gap: 3px; }
.t2w-myrvw__action-btn { color: var(--t2w-primary, #FFB700); text-decoration: none; font-weight: 500; }
.t2w-myrvw__action-btn:hover { text-decoration: underline; }

/* Bookings tab */
.t2w-booking__filters { display: flex; gap: 8px; margin-bottom: 16px; }
.t2w-booking__chip { padding: 6px 14px; border-radius: 99px; border: 1px solid #e5e7eb; background: #fff; font-size: 13px; font-weight: 600; cursor: pointer; }
.t2w-booking__chip.active { background: var(--t2w-primary, #FFB700); color: #fff; border-color: transparent; }
.t2w-booking__card { display: flex; gap: 16px; padding: 16px; background: #fff; border-radius: 14px; border: 1px solid #f3f4f6; margin-bottom: 12px; }
.t2w-booking__img { width: 80px; height: 60px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.t2w-booking__img img { width: 100%; height: 100%; object-fit: cover; }
.t2w-booking__info { flex: 1; min-width: 0; }
.t2w-booking__name { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.t2w-booking__date { font-size: 13px; color: #6b7280; }
.t2w-booking__right { text-align: right; }
.t2w-booking__status { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.t2w-booking__status--processing { background: #dbeafe; color: #2563eb; }
.t2w-booking__status--completed { background: #d1fae5; color: #059669; }
.t2w-booking__status--cancelled { background: #fee2e2; color: #dc2626; }
.t2w-booking__status--pending { background: #fef3c7; color: #d97706; }
.t2w-booking__price { font-size: 16px; font-weight: 800; }

/* Profile tab */
.t2w-profile { max-width: 600px; }
.t2w-profile__avatar { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.t2w-profile__avatar-circle { width: 64px; height: 64px; border-radius: 50%; background: var(--t2w-primary, #FFB700); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 800; }
.t2w-profile__name { font-size: 22px; font-weight: 700; }
.t2w-profile__email { font-size: 15px; color: #6b7280; }
.t2w-profile__field { margin-bottom: 16px; }
.t2w-profile__field label { display: block; font-size: 15px; font-weight: 600; color: #374151; margin-bottom: 4px; }
.t2w-profile__field input { width: 100%; padding: 10px 14px; border: 1px solid #e5e7eb; border-radius: 10px; font-size: 15px; }
.t2w-profile__save { padding: 12px 32px; border: none; border-radius: 10px; background: var(--t2w-primary, #FFB700); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; }

/* Mobile */
@media (max-width: 768px) {
    .t2w-mypage__banner { padding: 24px 20px; border-radius: 16px; flex-direction: column; align-items: flex-start; gap: 16px; }
    .t2w-mypage__banner-text h1 { font-size: 20px; }
    .t2w-mypage__stats { grid-template-columns: repeat(4, 1fr); gap: 8px; }
    .t2w-mypage__stat { padding: 14px 8px; }
    .t2w-mypage__stat-val { font-size: 22px; }
    .t2w-mypage__tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .t2w-mypage__tab { white-space: nowrap; flex: 0 0 auto; padding: 10px 14px; font-size: 13px; }
    .t2w-mypage__grid { grid-template-columns: 1fr; }
    .t2w-mypage__list-item { flex-direction: column; gap: 12px; align-items: flex-start; }
    .t2w-mypage__list-side { flex-direction: row; gap: 8px; }
    .t2w-myrvw__stats { grid-template-columns: repeat(2, 1fr); }
    .t2w-myrvw__badge { flex-direction: column; align-items: flex-start; gap: 8px; }
    .t2w-myrvw__badge-progress { width: 100%; }
    .t2w-myrvw__thumb { width: 56px; height: 56px; }
    .t2w-myrvw__photos { flex-wrap: wrap; }
}

/* ========================================
 * 404 PAGE (moved from 404.php inline style, 2026-04-17)
 * ======================================== */
.t2w-404 {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    background: var(--t2w-color-bg-warm, #fffbeb);
}
.t2w-404__icons { margin-bottom: 16px; }
.t2w-404__icon {
    font-size: 48px;
    display: inline-block;
    animation: t2w-404-float 3s ease-in-out infinite;
}
.t2w-404__icon--2 { animation-delay: -1s; }
.t2w-404__icon--3 { animation-delay: -2s; }
@keyframes t2w-404-float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.t2w-404__code {
    font-size: 72px;
    font-weight: 900;
    color: var(--t2w-color-primary, #FFB700);
    margin: 0;
    line-height: 1;
}
.t2w-404__title {
    font-size: 28px;
    font-weight: 800;
    color: var(--t2w-text-primary, #111827);
    margin: 12px 0 8px;
}
.t2w-404__desc {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 32px;
}
.t2w-404__cards {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    max-width: 720px;
}
.t2w-404__card {
    flex: 1;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.2s;
    text-align: center;
    padding-bottom: 16px;
}
.t2w-404__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.t2w-404__card-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}
.t2w-404__card-placeholder {
    width: 100%;
    height: 120px;
    background: #fffbeb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d1d5db;
}
.t2w-404__card-name {
    font-size: 15px;
    font-weight: 700;
    margin: 12px 12px 4px;
}
.t2w-404__card-region {
    font-size: 13px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}
.t2w-404__card-cat {
    display: inline-block;
    font-size: 13px;
    color: var(--t2w-color-primary, #FFB700);
    background: rgba(255,183,0,0.08);
    padding: 2px 8px;
    border-radius: 99px;
    margin-top: 8px;
    font-weight: 600;
}
.t2w-404__actions {
    display: flex;
    gap: 12px;
}
.t2w-404__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}
.t2w-404__btn--primary {
    background: var(--t2w-color-primary, #FFB700);
    color: #fff;
}
.t2w-404__btn--primary:hover { background: #E5A400; }
.t2w-404__btn--secondary {
    background: #fff;
    color: var(--t2w-text-primary, #111827);
    border: 1px solid #e5e7eb;
}
.t2w-404__btn--secondary:hover { border-color: var(--t2w-color-primary, #FFB700); }
.t2w-404__btn .material-symbols-outlined { font-size: 20px; }

@media (max-width: 768px) {
    .t2w-404__cards { flex-direction: column; max-width: 300px; }
    .t2w-404__code { font-size: 56px; }
    .t2w-404__title { font-size: 22px; }
    .t2w-404__actions { flex-direction: column; width: 100%; max-width: 300px; }
    .t2w-404__btn { justify-content: center; }
}

/* Itinerary Gallery — dark mode (moved from template-itinerary-gallery.php inline <style>, 2026-04-18) */
[data-theme="dark"] .t2w-gallery-card { background: #1F2937; border-color: #374151; }
[data-theme="dark"] .t2w-gallery-filter { background: #1F2937; border-color: #374151; color: #D1D5DB; }
[data-theme="dark"] .t2w-gallery-place-chip { background: #374151; color: #D1D5DB; }

/* Post-Trip Review (moved from template-post-trip-review.php inline <style>, 2026-04-18) */
.t2w-ptr-card { border: 1px solid #E5E7EB; border-radius: 12px; padding: 16px; margin-bottom: 12px; transition: border-color .2s; }
.t2w-ptr-card.reviewed { border-color: #A7F3D0; background: #F0FDF4; }
.t2w-ptr-card-header { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.t2w-ptr-thumb { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.t2w-ptr-thumb-ph { background: #E5E7EB; display: flex; align-items: center; justify-content: center; color: #9CA3AF; font-size: 22px; }
.t2w-ptr-card-info strong { display: block; font-size: 16px; margin-bottom: 2px; }
.t2w-ptr-meta { font-size: 13px; color: #9CA3AF; }
.t2w-ptr-reviewed { font-size: 15px; color: #059669; font-weight: 600; }
.t2w-ptr-inline-review .t2w-pd-star { font-size: 28px; }
.t2w-ptr-inline-review .t2w-rf-quick-row { margin-top: 8px; }
.t2w-ptr-submit {
    width: 40px; height: 40px; border: none; border-radius: 8px; cursor: pointer;
    background: #10B981; color: #fff; font-size: 15px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.t2w-ptr-submit:hover { background: #059669; }
.t2w-ptr-submit:disabled { opacity: .5; cursor: not-allowed; }

[data-theme="dark"] .t2w-ptr-card { border-color: #374151; background: #1F2937; }
[data-theme="dark"] .t2w-ptr-card.reviewed { border-color: #065F46; background: #064E3B; }
[data-theme="dark"] .t2w-ptr-reviewed { color: #6EE7B7; }
[data-theme="dark"] .t2w-ptr-thumb-ph { background: #374151; }
[data-theme="dark"] .t2w-ptr-reward { background: linear-gradient(135deg,#451A03,#78350F); border-color: #92400E; }

@media (max-width: 768px) {
    .t2w-ptr { padding: 16px 12px 60px; }
    .t2w-ptr-hero h1 { font-size: 22px; }
    .t2w-ptr-hero > div:last-child { flex-direction: column; gap: 4px; }
}

/* Vendor Dashboard (moved from template-vendor-dashboard.php inline <style>, 2026-04-18) */
.page-template-template-vendor-dashboard .site-content { padding-top: 16px; }
.t2w-vendor { max-width: 1200px; margin: 0 auto; padding: 0 20px 60px; }
.t2w-vendor__layout { display: flex; align-items: flex-start; gap: 32px; margin-top: 24px; }
.t2w-vendor__sidebar { width: 240px; flex-shrink: 0; position: sticky; top: 84px; }
.t2w-vendor__content { flex: 1; min-width: 0; }

.t2w-vendor__profile { text-align: center; margin-bottom: 20px; }
.t2w-vendor__avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--t2w-primary, #FFB700); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; margin: 0 auto 8px; }
.t2w-vendor__name { font-size: 16px; font-weight: 700; }

.t2w-vendor__nav { display: flex; flex-direction: column; gap: 4px; }
.t2w-vendor__nav-item { display: flex; align-items: center; gap: 10px; min-height: 44px; box-sizing: border-box; padding: 10px 14px; border-radius: 10px; text-decoration: none; color: #6b7280; font-size: 15px; font-weight: 500; transition: all 0.2s; }
.t2w-vendor__nav-item:hover { background: #fffbeb; color: var(--t2w-text, #111827); }
.t2w-vendor__nav-item.active { background: rgba(255,183,0,0.1); color: var(--t2w-text, #111827); font-weight: 700; }
.t2w-vendor__nav-item .material-symbols-outlined { font-size: 22px; }

.t2w-vendor__hero { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 24px; margin-bottom: 18px; border: 1px solid #e5e7eb; border-radius: 14px; background: #fff; box-shadow: 0 10px 24px rgba(17, 24, 39, 0.05); }
.t2w-vendor__eyebrow { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; color: #047857; font-size: 15px; font-weight: 800; }
.t2w-vendor__eyebrow .material-symbols-outlined { font-size: 20px; }
.t2w-vendor__hero h1 { margin: 0 0 6px; color: #111827; font-size: 32px; font-weight: 800; line-height: 1.2; }
.t2w-vendor__hero p { margin: 0; color: #6b7280; font-size: 15px; line-height: 1.55; }
.t2w-vendor__hero-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; min-width: 250px; }
.t2w-vendor__primary-action,
.t2w-vendor__secondary-action { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 0 16px; border-radius: 10px; font-size: 15px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.t2w-vendor__primary-action { background: #FFB700; color: #111827; }
.t2w-vendor__secondary-action { background: #fff; color: #111827; border: 1px solid #e5e7eb; }
.t2w-vendor__primary-action .material-symbols-outlined,
.t2w-vendor__secondary-action .material-symbols-outlined { font-size: 21px; }

.t2w-vendor__stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.t2w-vendor__stat-card { background: #fff; border: 1px solid #f3f4f6; border-radius: 14px; padding: 16px; }
.t2w-vendor__stat-card .material-symbols-outlined { font-size: 32px; margin-bottom: 8px; }
.t2w-vendor__stat-label { font-size: 13px; color: #6b7280; margin-bottom: 4px; }
.t2w-vendor__stat-value { font-size: 24px; font-weight: 800; }

.t2w-vendor__activation-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr); gap: 16px; margin-bottom: 16px; }
.t2w-vendor__panel,
.t2w-vendor__fee-card { padding: 18px; border: 1px solid #e5e7eb; border-radius: 14px; background: #fff; }
.t2w-vendor__panel { margin-bottom: 16px; }
.t2w-vendor__activation-grid .t2w-vendor__panel { margin-bottom: 0; }
.t2w-vendor__panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.t2w-vendor__panel-head h2 { margin: 0 0 4px; color: #111827; font-size: 20px; font-weight: 800; line-height: 1.25; }
.t2w-vendor__panel-head p { margin: 0; color: #6b7280; font-size: 15px; line-height: 1.5; }
.t2w-vendor__action-list,
.t2w-vendor__readiness { display: grid; gap: 8px; }
.t2w-vendor__action-row,
.t2w-vendor__ready-row { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 56px; padding: 12px; border: 1px solid #edf0f3; border-radius: 10px; background: #fafafa; color: inherit; text-decoration: none; }
.t2w-vendor__action-row:hover,
.t2w-vendor__ready-row:hover { border-color: #d1d5db; background: #fff; }
.t2w-vendor__action-row > .material-symbols-outlined:first-child,
.t2w-vendor__ready-row > .material-symbols-outlined:first-child { color: #6b7280; font-size: 24px; }
.t2w-vendor__action-row strong,
.t2w-vendor__ready-row strong { display: block; color: #111827; font-size: 15px; font-weight: 800; line-height: 1.35; }
.t2w-vendor__action-row em,
.t2w-vendor__ready-row em { display: block; margin-top: 2px; color: #6b7280; font-size: 13px; font-style: normal; line-height: 1.45; }
.t2w-vendor__action-row > .material-symbols-outlined:last-child { color: #9ca3af; font-size: 22px; }
.t2w-vendor__fee-list { display: grid; gap: 8px; margin: 0; }
.t2w-vendor__fee-list div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; background: #fafafa; }
.t2w-vendor__fee-list dt { color: #4b5563; font-size: 15px; font-weight: 700; }
.t2w-vendor__fee-list dd { margin: 0; color: #111827; font-size: 20px; font-weight: 900; }
.t2w-vendor__fee-note { margin: 12px 0 0; color: #6b7280; font-size: 13px; line-height: 1.55; }
.t2w-vendor__ready-state { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 28px; padding: 0 10px; border-radius: 999px; background: #fffbeb; color: #6b7280; font-size: 13px; font-weight: 800; }
.t2w-vendor__ready-row.is-ready .t2w-vendor__ready-state { background: #ecfdf5; color: #047857; }

.t2w-vendor__table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid #f3f4f6; }
.t2w-vendor__table th { background: #fafaf8; padding: 10px 14px; text-align: left; font-size: 13px; font-weight: 600; color: #6b7280; }
.t2w-vendor__table td { padding: 12px 14px; border-top: 1px solid #f3f4f6; font-size: 15px; }
.t2w-vendor__table a { color: var(--t2w-primary); text-decoration: none; }
.t2w-vendor__status { padding: 3px 10px; border-radius: 99px; font-size: 13px; font-weight: 600; }
.t2w-vendor__status--completed { background: #d1fae5; color: #059669; }
.t2w-vendor__status--processing { background: #dbeafe; color: #2563eb; }
.t2w-vendor__status--cancelled { background: #fee2e2; color: #dc2626; }
.t2w-vendor__status--open { background: #ecfdf5; color: #047857; }
.t2w-vendor__status--closed { background: #f1f5f9; color: #475569; }
.t2w-vendor__status--review { background: #fef3c7; color: #a16207; }

.t2w-vendor__review-card { background: #fff; border: 1px solid #f3f4f6; border-radius: 12px; padding: 16px; margin-bottom: 12px; }
.t2w-vendor__review-header { display: flex; align-items: center; gap: 10px; }

.t2w-vendor__add-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 20px; border-radius: 10px; background: var(--t2w-primary); color: #111827; text-decoration: none; font-weight: 700; font-size: 15px; }

.t2w-vendor__section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.t2w-vendor__section-head h2 { margin: 0 0 4px; }
.t2w-vendor__section-head p { margin: 0; color: #6b7280; font-size: 15px; }
.t2w-vendor__helper-text { margin: -8px 0 16px; color: #6b7280; font-size: 15px; line-height: 1.55; }
.t2w-vendor__empty { display: grid; justify-items: center; gap: 8px; padding: 48px 18px; border: 1px dashed #d1d5db; border-radius: 12px; background: #fff; text-align: center; color: #6b7280; }
.t2w-vendor__empty--compact { padding: 32px 18px; }
.t2w-vendor__empty .material-symbols-outlined { font-size: 34px; color: #9ca3af; }
.t2w-vendor__empty strong { color: #111827; font-size: 16px; }
.t2w-vendor__empty p { margin: 0; max-width: 420px; font-size: 15px; line-height: 1.55; }
.t2w-vendor__empty-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 6px; padding: 0 18px; border-radius: 10px; background: #111827; color: #fff; font-size: 15px; font-weight: 800; text-decoration: none; }
.t2w-vendor__quote-list { display: grid; gap: 16px; }
.t2w-vendor__quote-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: 18px; padding: 18px; border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; }
.t2w-vendor__quote-title { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.t2w-vendor__quote-title strong { font-size: 16px; }
.t2w-vendor__quote-meta { display: flex; flex-wrap: wrap; gap: 8px; color: #4b5563; font-size: 15px; }
.t2w-vendor__quote-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.t2w-vendor__quote-tags span { padding: 4px 8px; border-radius: 999px; background: #fffbeb; color: #374151; font-size: 13px; font-weight: 600; }
.t2w-vendor__quote-message { margin: 14px 0 0; color: #111827; font-size: 15px; line-height: 1.6; white-space: pre-wrap; }
.t2w-vendor__quote-response-form { display: grid; gap: 12px; align-self: start; }
.t2w-vendor__quote-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.t2w-vendor__quote-response-form label { display: grid; gap: 6px; color: #374151; font-size: 15px; font-weight: 700; }
.t2w-vendor__quote-response-form input,
.t2w-vendor__quote-response-form textarea { width: 100%; padding: 10px 12px; border: 1px solid #e5e7eb; border-radius: 10px; font: inherit; font-size: 15px; }
.t2w-vendor__quote-response-form textarea { resize: vertical; min-height: 98px; }
.t2w-vendor__quote-response-form input:focus,
.t2w-vendor__quote-response-form textarea:focus { outline: none; border-color: #FFB700; box-shadow: 0 0 0 3px rgba(255,183,0,0.15); }
.t2w-vendor__quote-sent { align-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 10px; background: #ecfdf5; color: #047857; font-size: 15px; font-weight: 700; }
.t2w-vendor__quote-sent .material-symbols-outlined { font-size: 20px; }
.t2w-vendor__message-layout { display: grid; grid-template-columns: minmax(240px, 320px) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.t2w-vendor__message-list { display: grid; align-content: start; gap: 8px; max-height: 640px; overflow-y: auto; }
.t2w-vendor__message-thread { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 12px 13px; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; color: inherit; text-decoration: none; }
.t2w-vendor__message-thread:hover,
.t2w-vendor__message-thread.is-active { border-color: #FFB700; background: #fffdf5; }
.t2w-vendor__message-thread strong { display: block; overflow: hidden; color: #111827; font-size: 15px; font-weight: 900; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.t2w-vendor__message-thread small { display: block; overflow: hidden; margin-top: 2px; color: #4b5563; font-size: 13px; font-weight: 800; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.t2w-vendor__message-thread em { display: -webkit-box; margin-top: 4px; overflow: hidden; color: #6b7280; font-size: 13px; font-style: normal; line-height: 1.45; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.t2w-vendor__message-thread b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #ef4444; color: #fff; font-size: 13px; line-height: 1; }
.t2w-vendor__message-detail { display: grid; grid-template-rows: auto minmax(260px, 1fr) auto; min-height: 520px; overflow: hidden; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; }
.t2w-vendor__message-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid #f3f4f6; }
.t2w-vendor__message-eyebrow { display: block; margin-bottom: 3px; color: #6b7280; font-size: 13px; font-weight: 900; line-height: 1; }
.t2w-vendor__message-head h3 { margin: 0 0 4px; color: #111827; font-size: 20px; font-weight: 900; line-height: 1.25; }
.t2w-vendor__message-head p { margin: 0; color: #6b7280; font-size: 15px; }
.t2w-vendor__message-bubbles { display: grid; align-content: start; gap: 10px; overflow-y: auto; padding: 18px; background: #f8fafc; }
.t2w-vendor__message-bubble { max-width: 82%; }
.t2w-vendor__message-bubble span { display: block; margin-bottom: 4px; color: #6b7280; font-size: 13px; font-weight: 800; }
.t2w-vendor__message-bubble p { margin: 0; padding: 10px 12px; border-radius: 8px; font-size: 15px; line-height: 1.55; white-space: pre-wrap; }
.t2w-vendor__message-bubble.is-mine { justify-self: end; }
.t2w-vendor__message-bubble.is-mine span { text-align: right; }
.t2w-vendor__message-bubble.is-mine p { background: #111827; color: #fff; }
.t2w-vendor__message-bubble.is-customer p { border: 1px solid #e5e7eb; background: #fff; color: #111827; }
.t2w-vendor__message-bubble.is-system { justify-self: center; max-width: 92%; text-align: center; }
.t2w-vendor__message-bubble.is-system span { color: #64748b; }
.t2w-vendor__message-bubble.is-system p { border: 1px solid #dbeafe; background: #eff6ff; color: #1e3a8a; }
.t2w-vendor__message-attachments { display: grid; gap: 6px; margin-top: 6px; }
.t2w-vendor__message-attachment { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px; align-items: center; max-width: 260px; overflow: hidden; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; color: #374151; font-size: 13px; font-weight: 800; text-decoration: none; }
.t2w-vendor__message-attachment img { display: block; width: 64px; height: 64px; object-fit: cover; background: #fffbeb; }
.t2w-vendor__message-attachment span { margin: 0; color: inherit; font-size: 13px; }
.t2w-vendor__message-attachment.is-blocked { display: block; max-width: 260px; padding: 9px 10px; border-color: #fecaca; background: #fff7f7; color: #991b1b; }
.t2w-vendor__message-form { display: grid; gap: 10px; padding: 12px 14px 14px; border-top: 1px solid #f3f4f6; background: #fff; }
.t2w-vendor__message-form label { display: grid; gap: 6px; color: #374151; font-size: 15px; font-weight: 800; }
.t2w-vendor__message-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.t2w-vendor__message-quick button { min-height: 44px; padding: 0 12px; border: 1px solid #e5e7eb; border-radius: 999px; background: #fffbeb; color: #374151; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.t2w-vendor__message-quick button:hover,
.t2w-vendor__message-quick button:focus { border-color: #FFB700; background: #fff7d6; outline: none; }
.t2w-vendor__message-composer { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 8px; align-items: end; }
.t2w-vendor__message-form textarea { width: 100%; min-height: 44px; max-height: 120px; resize: none; padding: 11px 12px; border: 1px solid #e5e7eb; border-radius: 8px; font: inherit; font-size: 15px; line-height: 1.45; }
.t2w-vendor__message-form textarea:focus { outline: none; border-color: #FFB700; box-shadow: 0 0 0 3px rgba(255,183,0,0.15); }
.t2w-vendor__message-form p { margin: 0; color: #6b7280; font-size: 13px; line-height: 1.45; }
.t2w-vendor__message-form .t2w-vendor__message-send { display: inline-grid !important; place-items: center; width: 44px; min-width: 44px; height: 44px; min-height: 44px; padding: 0 !important; border: 0; border-radius: 8px; background: #FFB700; color: #111827; line-height: 1; cursor: pointer; }
.t2w-vendor__message-send .material-symbols-outlined { font-size: 21px; line-height: 1; }
.t2w-vendor__message-upload { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.t2w-vendor__message-upload > button { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; padding: 0 10px; border: 1px solid #e5e7eb; border-radius: 8px; background: #fffbeb; color: #374151; font: inherit; font-size: 13px; font-weight: 900; cursor: pointer; }
.t2w-vendor__message-upload > button:hover,
.t2w-vendor__message-upload > button:focus { border-color: #FFB700; background: #fff7d6; outline: none; }
.t2w-vendor__message-preview { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.t2w-vendor__message-preview button { display: inline-flex; align-items: center; gap: 5px; max-width: 220px; min-height: 32px; padding: 0 7px; border: 1px solid #d1d5db; border-radius: 8px; background: #fff; color: #374151; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.t2w-vendor__message-preview span:not(.material-symbols-outlined) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t2w-vendor__message-preview em { color: #6b7280; font-style: normal; }
.t2w-vendor__message-preview i.material-symbols-outlined { font-size: 15px; }

@media (max-width: 768px) {
    .t2w-vendor { padding: 0 12px 48px; }
    .t2w-vendor__layout { flex-direction: column; align-items: stretch; }
    .t2w-vendor__sidebar { position: static; width: 100%; }
    .t2w-vendor__profile { display: flex; align-items: center; gap: 10px; text-align: left; margin-bottom: 12px; }
    .t2w-vendor__avatar { width: 42px; height: 42px; margin: 0; font-size: 16px; }
    .t2w-vendor__nav { flex-direction: row; overflow-x: auto; gap: 6px; }
    .t2w-vendor__nav-item { flex: 0 0 auto; min-height: 44px; white-space: nowrap; padding: 8px 12px; font-size: 15px; }
    .t2w-vendor__hero { flex-direction: column; padding: 18px; }
    .t2w-vendor__hero h1 { font-size: 24px; }
    .t2w-vendor__hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; min-width: 0; }
    .t2w-vendor__activation-grid { grid-template-columns: 1fr; }
    .t2w-vendor__stats-grid { grid-template-columns: repeat(2, 1fr); }
    .t2w-vendor__section-head { flex-direction: column; align-items: stretch; }
    .t2w-vendor__add-btn { width: 100%; }
    .t2w-vendor__table { display: block; overflow-x: auto; white-space: nowrap; font-size: 13px; }
    .t2w-vendor__quote-card { grid-template-columns: 1fr; }
    .t2w-vendor__quote-form-grid { grid-template-columns: 1fr; }
    .t2w-vendor__message-layout { grid-template-columns: 1fr; }
    .t2w-vendor__message-list { max-height: none; }
    .t2w-vendor__message-detail { min-height: 460px; }
    .t2w-vendor__message-bubbles { min-height: 220px; }
}

.t2w-vendor__settings-form { max-width: 600px; }
.t2w-vendor__settings-summary { display: flex; align-items: flex-start; gap: 10px; max-width: 640px; margin-bottom: 18px; padding: 14px 16px; border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; }
.t2w-vendor__settings-summary .material-symbols-outlined { color: #3b82f6; font-size: 24px; }
.t2w-vendor__settings-summary p { margin: 0; color: #4b5563; font-size: 15px; line-height: 1.55; }
.t2w-vendor__field { margin-bottom: 20px; }
.t2w-vendor__field label { display: block; font-size: 15px; font-weight: 600; color: #374151; margin-bottom: 6px; }
.t2w-vendor__field input[type="text"],
.t2w-vendor__field input[type="tel"],
.t2w-vendor__field textarea { width: 100%; padding: 10px 14px; border: 1px solid #e5e7eb; border-radius: 10px; font-size: 15px; font-family: inherit; transition: border-color 0.2s; }
.t2w-vendor__field input:focus,
.t2w-vendor__field textarea:focus { outline: none; border-color: #FFB700; box-shadow: 0 0 0 3px rgba(255,183,0,0.15); }
.t2w-vendor__checkboxes { display: flex; flex-wrap: wrap; gap: 8px; }
.t2w-vendor__checkbox { display: flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid #e5e7eb; border-radius: 8px; font-size: 15px; cursor: pointer; transition: all 0.2s; }
.t2w-vendor__checkbox:has(input:checked) { background: rgba(255,183,0,0.1); border-color: #FFB700; }
.t2w-vendor__checkbox input { accent-color: #FFB700; }
.t2w-vendor__save-btn { display: inline-flex; align-items: center; gap: 6px; background: #FFB700; color: #000; font-size: 15px; font-weight: 700; font-family: inherit; padding: 12px 24px; border: none; border-radius: 10px; cursor: pointer; transition: all 0.2s; }
.t2w-vendor__save-btn:hover { background: #E5A500; transform: translateY(-1px); }
.t2w-vendor__save-btn .material-symbols-outlined { font-size: 20px; }
.t2w-vendor__notice { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-size: 15px; }
.t2w-vendor__notice--success { background: #ecfdf5; color: #059669; border: 1px solid #a7f3d0; }
.t2w-vendor__notice--error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.t2w-vendor__notice--warn { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.t2w-vendor__alerts { margin: 0 0 18px; padding: 12px 16px; border: 1px solid #bfdbfe; border-radius: 12px; background: #eff6ff; }
.t2w-vendor__alerts-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; color: #1e3a8a; font-size: 15px; }
.t2w-vendor__alerts-read { border: 0; background: none; color: #1d4ed8; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; text-decoration: underline; }
.t2w-vendor__alerts ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.t2w-vendor__alerts li { display: grid; gap: 2px; padding: 8px 10px; background: #fff; border-radius: 8px; font-size: 15px; color: #111827; }
.t2w-vendor__alerts li span { color: #374151; }
.t2w-vendor__alerts li small { color: #6b7280; font-size: 13px; }
/* S358 판매자 예약 화면 — 있는 무늬(표·상태칩·알림)를 그대로 쓰고 모자란 것만 더한다 */
.t2w-vendor__status--wait { background: #fef3c7; color: #a16207; }
.t2w-vendor__status--ok { background: #d1fae5; color: #059669; }
.t2w-vendor__status--bad { background: #fee2e2; color: #dc2626; }
.t2w-vendor__status--muted { background: #f1f5f9; color: #475569; }
.t2w-vendor__card { background: #fff; border: 1px solid #e9e4dd; border-radius: 14px; padding: 18px 18px 6px; margin-bottom: 18px }
.t2w-vendor__card-title { margin: 0 0 12px; font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 8px }
.t2w-vendor__sub { display: block; margin-top: 2px; font-size: 13px; color: #6B6157 }
.t2w-vendor__table--bk td { vertical-align: top }
.t2w-vendor__act > summary { cursor: pointer; font-size: 13px; color: #b91c1c; list-style: none }
.t2w-vendor__act > summary::-webkit-details-marker { display: none }
.t2w-vendor__actform { margin-top: 8px; display: grid; gap: 6px; min-width: 190px }
.t2w-vendor__actform label { font-size: 13px; font-weight: 600 }
.t2w-vendor__actform label em { display: block; font-style: normal; font-weight: 400; font-size: 13px; color: #6B6157 }
.t2w-vendor__actform input[type="text"] { padding: 7px 9px; border: 1px solid #ddd6cd; border-radius: 8px; font-size: 13px }
.t2w-vendor__actform--inline { margin-top: 0 }
.t2w-vendor__btn { padding: 7px 12px; border-radius: 8px; border: 1px solid #ddd6cd; background: #fff; font-size: 13px;
    font-weight: 600; cursor: pointer }
.t2w-vendor__btn:hover { background: #faf7f3 }
.t2w-vendor__btn--bad { border-color: #f3c2c2; color: #b91c1c }
/* S359 고객 상담 창 — 손님이 운영자에게 직접 문의 */
.t2w-sup { max-width: 680px; margin: 28px auto; padding: 20px; border: 1px solid #e9e4dd; border-radius: 14px; background: #fff }
.t2w-sup__title { margin: 0 0 6px; font-size: 21px; font-weight: 800; color: var(--color-secondary, #1E3A5F) }
.t2w-sup__lead { margin: 0 0 14px; font-size: 15px; color: #6B6157; line-height: 1.5 }
.t2w-sup__log { max-height: 340px; overflow-y: auto; padding: 4px 2px; margin-bottom: 12px }
.t2w-sup__empty { margin: 8px 0; font-size: 15px; color: #8a8175 }
.t2w-sup__msg { max-width: 84%; margin-bottom: 10px; padding: 9px 12px; border-radius: 12px; font-size: 15px; line-height: 1.5 }
.t2w-sup__msg p { margin: 0 }
.t2w-sup__msg--them { background: #f6f3ef; color: #3d372f; border-top-left-radius: 4px }
.t2w-sup__msg--me { margin-left: auto; background: var(--color-secondary, #1E3A5F); color: #fff; border-top-right-radius: 4px }
.t2w-sup__who { display: block; font-size: 13px; font-weight: 700; opacity: .72; margin-bottom: 2px }
.t2w-sup__msg time { display: block; margin-top: 3px; font-size: 12px; opacity: .6 }
.t2w-sup__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px }
.t2w-sup__chip { padding: 7px 12px; border-radius: 999px; border: 1px solid #e5dfd6; background: #fff;
    font-size: 13px; font-weight: 600; color: #6B6157; cursor: pointer; font-family: inherit }
.t2w-sup__chip:hover { background: #faf7f3 }
.t2w-sup__chip.is-on { background: var(--color-secondary, #1E3A5F); border-color: var(--color-secondary, #1E3A5F); color: #fff }
.t2w-sup__form textarea { width: 100%; padding: 11px 13px; border: 1px solid #e5e7eb; border-radius: 10px;
    font-size: 15px; font-family: inherit; resize: vertical }
.t2w-sup__foot { display: flex; align-items: center; gap: 10px; margin-top: 8px }
.t2w-sup__note { flex: 1 1 auto; min-width: 0; font-size: 13px; color: #8a8175 }
.t2w-sup__send { flex: 0 0 auto }
@media (max-width: 560px) { .t2w-sup { margin: 20px 12px; padding: 16px } .t2w-sup__msg { max-width: 92% } }

/* S359 손님 추가 옵션 고르기 — 예약 상자 안 */
.t2w-tz__bkadd { margin: 10px 0 2px; padding-top: 10px;
    border-top: 1px dashed var(--t2w-hp-line, rgba(30, 58, 95, .12)) }
.t2w-tz__bkaddttl { display: block; font-size: 13px; font-weight: 800; letter-spacing: .02em;
    color: var(--color-text-muted, #6B7280); margin-bottom: 6px }
.t2w-tz__bkaddrow { display: flex; align-items: flex-start; gap: 8px; padding: 7px 0; cursor: pointer }
.t2w-tz__bkaddrow input { margin-top: 2px; flex: 0 0 auto; accent-color: var(--color-secondary, #1E3A5F) }
.t2w-tz__bkaddname { flex: 1 1 auto; min-width: 0; font-size: 15px; font-weight: 600;
    color: var(--color-secondary, #1E3A5F); line-height: 1.35 }
.t2w-tz__bkaddname em { font-style: normal; font-size: 12px; font-weight: 700; margin-left: 5px;
    padding: 1px 5px; border-radius: 999px; background: var(--t2w-hp-paper-2, #FFF6E6);
    color: var(--t2w-gg-deep, #8C6C2A) }
.t2w-tz__bkaddname small { display: block; font-size: 13px; font-weight: 500;
    color: var(--color-text-muted, #6B7280); margin-top: 1px }
.t2w-tz__bkaddprice { flex: 0 0 auto; font-size: 13px; font-weight: 800;
    color: var(--color-secondary, #1E3A5F) }

/* S359 판매자 추가 옵션 — 되풀이 입력 줄 */
.t2w-vendor__btn--ghost { border-style: dashed; color: #6B6157; margin-top: 8px }
.t2w-vendor__opts { display: flex; flex-direction: column; gap: 8px }
.t2w-vendor__opt { display: grid; grid-template-columns: minmax(0, 1.4fr) 90px 132px minmax(0, 1.2fr) 32px;
    gap: 6px; align-items: center }
.t2w-vendor__opt input, .t2w-vendor__opt select { width: 100%; padding: 8px 10px; border: 1px solid #e5e7eb;
    border-radius: 8px; font-size: 15px; font-family: inherit; background: #fff }
.t2w-vendor__opt-x { width: 32px; height: 32px; border-radius: 8px; border: 1px solid #f3c2c2; background: #fff;
    color: #b91c1c; font-size: 16px; line-height: 1; cursor: pointer }
.t2w-vendor__opt-x:hover { background: #fef2f2 }
@media (max-width: 720px) {
    .t2w-vendor__opt { grid-template-columns: minmax(0, 1fr) 32px; grid-auto-rows: auto }
    .t2w-vendor__opt-x { grid-row: 1; grid-column: 2 }
}

/* S358 판매자 정산 — 달 고르개·요약 카드 */
.t2w-vendor__months { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px }
.t2w-vendor__month { padding: 6px 12px; border-radius: 999px; border: 1px solid #e9e4dd; background: #fff;
    font-size: 13px; color: #6B6157; text-decoration: none }
.t2w-vendor__month.is-on { background: #241E1A; border-color: #241E1A; color: #fff; font-weight: 700 }
.t2w-vendor__sums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px }
.t2w-vendor__sum { background: #fff; border: 1px solid #e9e4dd; border-radius: 12px; padding: 14px 16px }
.t2w-vendor__sum span { display: block; font-size: 13px; color: #6B6157; margin-bottom: 5px }
.t2w-vendor__sum b { font-size: 21px; letter-spacing: -.01em }
.t2w-vendor__sum b.is-minus { color: #b91c1c }
.t2w-vendor__sum--payout { background: #FDF7EC; border-color: #F0E2CB }
/* S360: 자주 묻는 질문 입력 줄 — 판매자가 직접 적는다. */
.t2w-vendor__faqrow { display: grid; grid-template-columns: 1fr auto; gap: 6px; align-items: start; margin-bottom: 10px; padding: 10px; border: 1px solid #e9e4dd; border-radius: 10px; background: #fff }
.t2w-vendor__faqrow input, .t2w-vendor__faqrow textarea { grid-column: 1; width: 100%; box-sizing: border-box }
.t2w-vendor__faqdel { grid-column: 2; grid-row: 1 / span 2; align-self: center; padding: 6px 10px; border: 1px solid #e5e1da; border-radius: 8px; background: #faf8f5; color: #8a8178; font-size: 13px; cursor: pointer; white-space: nowrap }
@media (max-width: 520px) { .t2w-vendor__faqrow { grid-template-columns: 1fr } .t2w-vendor__faqdel { grid-column: 1; grid-row: auto; justify-self: end } }
.t2w-vendor__addbtn { min-height: 40px; padding: 8px 14px; border: 1px dashed rgba(229, 164, 0, .6); border-radius: 10px; background: var(--color-bg-warm, #fffbeb); color: var(--t2w-gg-deep, #8C6C2A); font-size: 14px; font-weight: 700; cursor: pointer }
.t2w-vendor__addbtn:hover { background: var(--t2w-hp-paper-2, #FFF6E6) }
/* 2026-10-11 GAP B13: 업체 설정 — 심사 때 확인하는 서류(읽기 전용) */
.t2w-vendor__docs { margin: 0 0 18px; padding: 16px 18px; border: 1px solid #e9e4dd; border-radius: 12px; background: #fff }
.t2w-vendor__docs h3 { margin: 0 0 4px; font-size: 16px }
.t2w-vendor__docs-list { list-style: none; margin: 10px 0 0; padding: 0 }
.t2w-vendor__docs-list li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-top: 1px solid rgba(30, 58, 95, .06) }
.t2w-vendor__docs-list li > span:last-child { min-width: 0 }
.t2w-vendor__docs-list .material-symbols-outlined { flex: none; margin-top: 2px; font-size: 18px; color: #b8b0a6 }
.t2w-vendor__docs-list li.is-ok .material-symbols-outlined { color: #10B981 }
.t2w-vendor__docs-list li.is-expired .material-symbols-outlined, .t2w-vendor__docs-list li.is-expired small { color: #b32d2e }
.t2w-vendor__docs-list b { display: block; font-size: 14px }
.t2w-vendor__docs-list small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.5; color: #8a8178; overflow-wrap: anywhere }
/* 2026-10-11 GAP B7: 업체 설정 — 운영 공지(상품 화면 판매자 칸에 뜬다) */
.t2w-vendor__notice-box { margin: 0 0 18px; padding: 16px 18px; border: 1px solid #e9e4dd; border-radius: 12px; background: #fff }
.t2w-vendor__notice-box h3 { margin: 0 0 4px; font-size: 16px }
.t2w-vendor__notice-form { margin-top: 12px }
.t2w-vendor__notice-form .t2w-vendor__field { margin-bottom: 12px }
.t2w-vendor__notice-until input[type="date"] { width: 100%; max-width: 220px; min-height: 44px; padding: 8px 12px; border: 1px solid #e5e7eb; border-radius: 10px; font-size: 15px; font-family: inherit; background: #fff; box-sizing: border-box }
.t2w-vendor__notice-actions { display: flex; flex-wrap: wrap; gap: 8px }
.t2w-vendor__notice-actions .t2w-btn { min-height: 44px }
.t2w-vendor__notice-actions .t2w-btn.t2w-btn--outline { background: #fff; color: var(--color-secondary, #1E3A5F); border: 1px solid #e5e7eb; box-shadow: none }
/* 2026-10-11 GAP B14: 코스 줄 — 시간 · 무엇을 · 구분 한 줄, 설명은 아래 */
.t2w-vendor__itinline { grid-column: 1; display: grid; grid-template-columns: 88px minmax(0, 1fr) 128px; gap: 6px }
.t2w-vendor__faqrow .t2w-vendor__itinline input, .t2w-vendor__faqrow .t2w-vendor__itinline select { grid-column: auto; width: 100%; min-width: 0; box-sizing: border-box }
@media (max-width: 520px) { .t2w-vendor__itinline { grid-template-columns: 88px minmax(0, 1fr) } .t2w-vendor__faqrow .t2w-vendor__itinline select { grid-column: 1 / -1 } }
/* S360: 목록 카드의 할인 표기 — 상세와 같은 규칙. */
.t2w-tx-off { display: inline-block; margin-right: 5px; padding: 1px 5px; border-radius: 4px; background: #DC2626; color: #fff; font-size: 13px; font-weight: 700; vertical-align: middle }
.t2w-tx-was { margin-right: 5px; color: #9CA3AF; font-size: 15px; font-weight: 500 }
/* S360: 판매자가 스스로 내린 값 — 정가는 취소선으로 남긴다. */
.t2w-tz__off { display: inline-block; margin-right: 6px; padding: 1px 6px; border-radius: 5px; background: #DC2626; color: #fff; font-size: 13px; font-weight: 700; vertical-align: middle }
.t2w-tz__price-was { margin-right: 6px; color: #9CA3AF; font-size: 16px; font-weight: 500 }
/* S360: 우리가 부담한 할인 — 판매자 몫에서 빠지지 않았음을 눈으로 보여 준다. */
.t2w-vendor__sum b.is-plus { color: #047857 }
.t2w-vendor__sum--funded { background: #F0FDF4; border-color: #BBF7D0 }
.t2w-vendor__note-funded { margin-top: 6px; font-size: 15px; color: #047857 }
.t2w-vendor__funded { display: block; margin-top: 3px; font-size: 13px; color: #047857; white-space: nowrap }
.t2w-vendor__sum--payout b { color: #A8410F }
@media (max-width: 720px) { .t2w-vendor__sums { grid-template-columns: 1fr } }

/* 판매자 상품 등록 폼 (S281) — 기존 .t2w-vendor__field 문법을 그대로 타고,
   폼이 넓어야 하는 것만 덮어쓴다. 3뷰포트 규칙: 768 이하에서 가로줄이 세로로 접힌다. */
.t2w-vendor__product-form { max-width: 760px; }
.t2w-vendor__form-title { margin: 32px 0 14px; font-size: 18px; font-weight: 700; color: #111827; }
.t2w-vendor__field em { margin-left: 6px; font-style: normal; font-size: 13px; font-weight: 600; color: #b45309; }
.t2w-vendor__field input[type="number"],
.t2w-vendor__field input[type="file"],
.t2w-vendor__field select { width: 100%; padding: 10px 14px; border: 1px solid #e5e7eb; border-radius: 10px; font-size: 15px; font-family: inherit; background: #fff; }
.t2w-vendor__field select:focus,
.t2w-vendor__field input[type="number"]:focus { outline: none; border-color: #FFB700; box-shadow: 0 0 0 3px rgba(255,183,0,0.15); }
.t2w-vendor__field-row { display: flex; flex-wrap: wrap; gap: 16px; }
.t2w-vendor__field-row > .t2w-vendor__field { flex: 1 1 200px; min-width: 0; }
/* P2(2026-10-13): 심사 요청 전 두 동의 + 운영자 대리일 때 밖에서 받은 확인 기록 */
.t2w-vendor__consent { margin: 8px 0 20px; padding: 14px 16px 4px; border: 1px solid #e5e7eb; border-radius: 10px; background: #fffdf5; }
.t2w-vendor__consent legend { padding: 0 6px; font-size: 15px; font-weight: 700; color: #111827; }
.t2w-vendor__field .t2w-vendor__consent-check { display: flex; align-items: flex-start; gap: 8px; min-height: 44px; font-weight: 400; cursor: pointer; }
.t2w-vendor__consent-check input { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.t2w-vendor__field input[type="date"] { width: 100%; padding: 10px 14px; border: 1px solid #e5e7eb; border-radius: 10px; font-size: 15px; font-family: inherit; background: #fff; }
.t2w-vendor__photo-list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.t2w-vendor__photo-item { display: flex; flex-direction: column; gap: 4px; width: 108px; font-size: 13px; color: #6b7280; }
/* S283: 사진마다 대표 지정과 삭제를 함께 — 나중에 언제든 바꿀 수 있게. */
.t2w-vendor__photo-pick,
.t2w-vendor__photo-drop { display: flex; align-items: center; gap: 4px; cursor: pointer; }
.t2w-vendor__photo-item.is-cover img { border-color: #2563eb; box-shadow: 0 0 0 2px rgba(37, 99, 235, .25); }
.t2w-vendor__photo-item.is-cover .t2w-vendor__photo-pick { color: #2563eb; font-weight: 600; }
.t2w-vendor__count { margin-left: 6px; font-size: 13px; font-weight: 400; color: #6b7280; }
/* S283: 형태 고르기 — 「진행 방식 / 출발 때」 두 줄로 나눠 보여준다. */
.t2w-vendor__fmtgroup { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
/* S352: 예약 받는 날짜 달력 (판매자 폼) — 마이리얼트립 방식, 켠 날만 손님이 고른다 */
.t2w-vendor__cal { max-width: 380px; border: 1px solid #e5e7eb; border-radius: 12px; padding: 12px 14px; background: #fff; }
.t2w-vendor__cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.t2w-vendor__cal-head b { font-size: 15px; color: var(--color-secondary, #1E3A5F); }
.t2w-vendor__cal-head button { width: 30px; height: 30px; border-radius: 8px; border: 1px solid #e5e7eb; background: #fff; font-size: 16px; font-weight: 800; color: var(--color-secondary, #1E3A5F); cursor: pointer; }
.t2w-vendor__cal-head button:disabled { opacity: .3; cursor: default; }
.t2w-vendor__cal table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.t2w-vendor__cal th { font-size: 13px; font-weight: 700; color: #9ca3af; padding: 3px 0; }
.t2w-vendor__cal td { padding: 2px; text-align: center; }
.t2w-vendor__cal td button { width: 100%; aspect-ratio: 1.1; border-radius: 8px; border: 1px solid #e5e7eb; background: #fff; font-size: 13px; font-weight: 700; color: var(--color-secondary, #1E3A5F); cursor: pointer; font-family: inherit; }
.t2w-vendor__cal td button:disabled { border-color: transparent; color: #d1d5db; cursor: default; }
.t2w-vendor__cal td button.is-on { background: var(--t2w-primary, #FFB700); border-color: var(--t2w-primary, #FFB700); color: #fff; font-weight: 900; }
.t2w-vendor__cal-note { margin-top: 6px; font-size: 13px; color: #6b7280; }
.t2w-vendor__fmtlabel { min-width: 62px; font-size: 13px; color: #6b7280; }
/* S283: 보완 사유 — 상품 줄 바로 아래에 붙여 무엇을 고칠지 바로 보이게. */
.t2w-vendor__noterow td { background: #fff7ed; color: #9a3412; font-size: 15px; border-top: 0; }
.t2w-vendor__noterow b { margin-right: 6px; }
.t2w-vendor__noterow .material-symbols-outlined { font-size: 16px; vertical-align: -3px; margin-right: 4px; }
/* 2026-10-11 B11: 줄 끝 「수정 · 잠시 내리기/다시 올리기」 — 링크처럼 보이는 단추, 손가락 자리 44px. */
.t2w-vendor__rowacts { white-space: nowrap; }
.t2w-vendor__rowacts a, .t2w-vendor__pauseform { display: inline-flex; align-items: center; min-height: 44px; vertical-align: middle; }
.t2w-vendor__pauseform { margin: 0 0 0 var(--t2w-space-2); }
.t2w-vendor__linkbtn { min-height: 44px; padding: 0 var(--t2w-space-1); border: 0; background: none; color: var(--color-text-secondary); font: inherit; text-decoration: underline; cursor: pointer; }
.t2w-vendor__linkbtn:hover { color: var(--color-text-primary); }
.t2w-vendor__photo-item img { width: 108px; height: 78px; object-fit: cover; border-radius: 8px; border: 1px solid #e5e7eb; }
.t2w-vendor__product-form .t2w-vendor__add-btn { min-height: 44px; }
/* P1′(2026-10-10): 「심사 요청」 + 「임시 저장」 두 버튼 — 넓은 화면은 한 줄, 폰은 아래 미디어 규칙이 꽉 채운다. */
.t2w-vendor__form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--t2w-space-2); margin-bottom: var(--t2w-space-4); }
.t2w-vendor__form-actions .t2w-vendor__btn { min-height: 44px; padding: 0 var(--t2w-space-5); font-size: 15px; font-weight: 700; }
@media (max-width: 768px) {
    .t2w-vendor__form-actions { flex-direction: column; align-items: stretch; }
    .t2w-vendor__field-row { flex-direction: column; gap: 0; }
    .t2w-vendor__photo-item,
    .t2w-vendor__photo-item img { width: 96px; }
}

.t2w-vendor__stat-section { margin-bottom: 24px; }
.t2w-vendor__stat-section h3 { font-size: 16px; font-weight: 700; margin-bottom: 12px; }

@media (max-width: 480px) {
    .t2w-vendor__stats-grid { gap: 10px; }
    .t2w-vendor__stat-card { padding: 13px; }
    .t2w-vendor__stat-value { font-size: 21px; }
    .t2w-vendor__hero-actions { grid-template-columns: 1fr; }
    .t2w-vendor__panel,
    .t2w-vendor__fee-card { padding: 14px; }
    .t2w-vendor__action-row,
    .t2w-vendor__ready-row { grid-template-columns: 22px minmax(0, 1fr); }
    .t2w-vendor__action-row > .material-symbols-outlined:last-child { display: none; }
    .t2w-vendor__ready-state { grid-column: 2; justify-self: start; margin-top: 2px; }
}

/* Coming Soon page (moved from template-coming-soon.php inline <style>, 2026-04-18) */
.t2w-coming-soon {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #FFFFFF 0%, #FFFBEB 100%);
    padding: 40px 20px;
}
.t2w-coming-soon__inner {
    max-width: 520px;
    text-align: center;
}
.t2w-coming-soon__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: rgba(255, 183, 0, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.t2w-coming-soon__icon .material-symbols-outlined {
    font-size: 40px;
    color: #FFB700;
}
.t2w-coming-soon__title {
    font-size: 32px;
    font-weight: 800;
    color: #1F2937;
    margin: 0 0 12px;
}
.t2w-coming-soon__desc {
    font-size: 16px;
    color: #6B7280;
    line-height: 1.7;
    margin: 0 0 32px;
}
.t2w-coming-soon__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 32px;
}
.t2w-coming-soon__feature {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    font-size: 15px;
    font-weight: 600;
    color: #374151;
}
.t2w-coming-soon__feature .material-symbols-outlined {
    font-size: 22px;
    color: #FFB700;
}
.t2w-coming-soon__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}
.t2w-coming-soon__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 24px;
    border-radius: 9999px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}
.t2w-coming-soon__btn--primary {
    background: #FFB700;
    color: white;
    box-shadow: 0 4px 12px rgba(255, 183, 0, 0.3);
}
.t2w-coming-soon__btn--primary:hover {
    background: #E5A400;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}
.t2w-coming-soon__btn--secondary {
    background: white;
    color: #1E3A5F;
    border: 1px solid #E5E7EB;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.t2w-coming-soon__btn--secondary:hover {
    background: #fffbeb;
    color: #1E3A5F;
    text-decoration: none;
}
.t2w-coming-soon__btn .material-symbols-outlined { font-size: 20px; }

@media (max-width: 480px) {
    .t2w-coming-soon__features {
        grid-template-columns: 1fr;
    }
    .t2w-coming-soon__actions {
        flex-direction: column;
    }
    .t2w-coming-soon__btn {
        justify-content: center;
    }
}

/* ──────────────────────────────────────────────────────────
   Tour Detail Page (2026-04-19 P0-3)
   /?t2w_tour_id=N — replaces broken /product/?product_id=N
   ────────────────────────────────────────────────────────── */
/* S272: 사이트 표준 컨테이너 합류 — 배경은 풀블리드, 좌측선은 __inner 하나가 결정
   (테마 `.container` 여백 겹침은 아래 캔버스 해제 규칙에서 제거. 옛 pad 16 + inner 860/1120) */
.t2w-tour-detail { padding: 24px 0 120px; background: var(--t2w-surface, #fff); }
.t2w-tour-detail__inner { max-width: var(--t2w-wrap-max, 1200px); margin: 0 auto; padding: 0 var(--t2w-wrap-pad, 32px); }
/* (S277 청소: 구본 마크업 사역 규칙 — hero·header·title·vendor·meta·section·incl·places — 제거.
   Z 채택(S276, commit 216b8d68)으로 사용처 0. 생존 = 베이스·__inner(미존재 상품 분기)·__cta·__assistant·__book·--missing) */
.t2w-tour-detail__cta { margin-top: 32px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.t2w-tour-detail__cta .t2w-btn { min-height: 44px; }
.t2w-tour-detail__cta .t2w-btn:focus-visible { outline: 2px solid var(--t2w-gold, #F59E0B); outline-offset: 2px; }
.t2w-tour-detail__assistant { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.t2w-tour-detail__assistant .material-symbols-outlined { font-size: 20px; line-height: 1; }
/* S209/S210 commerce corridor: booking CTA on tour detail */
.t2w-tour-detail__book { display: inline-flex; align-items: center; justify-content: center; gap: 6px; box-shadow: var(--shadow-gold-sm, 0 2px 8px rgba(255, 183, 0, 0.2)); }
.t2w-tour-detail__book:hover { box-shadow: var(--shadow-gold-md, 0 4px 15px rgba(255, 183, 0, 0.3)); }
.t2w-tour-detail__book .material-symbols-outlined { font-size: 20px; line-height: 1; }
/* S210: mobile — CTA footer becomes a fixed action bar above the bottom nav (72px, footer.css) */
@media (max-width: 768px) {
    .t2w-tour-detail { padding-bottom: 220px; } /* clear bottom nav (72) + action bar (~68) + breathing room */
    .t2w-tour-detail__cta {
        position: fixed;
        left: 0;
        right: 0;
        bottom: calc(72px + env(safe-area-inset-bottom, 0px));
        margin: 0;
        padding: 10px 12px;
        background: rgba(255, 255, 255, 0.95);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(229, 231, 235, 0.5);
        z-index: 890; /* below .t2w-bottom-nav (900) and modals */
        flex-wrap: nowrap;
        gap: 8px;
    }
    .t2w-tour-detail__cta .t2w-btn { min-height: 48px; font-size: 15px; padding: 10px 12px; }
    /* S360: 값 — 예약 단추 왼쪽에. 좁은 화면이라 한 줄로 눌러 담는다. */
    .t2w-tour-detail__ctaprice { display: flex; flex-direction: column; justify-content: center; line-height: 1.15; flex: 0 0 auto; padding-right: 2px }
    .t2w-tour-detail__ctaprice del { font-size: 13px; color: #9CA3AF }
    .t2w-tour-detail__ctaprice b { font-size: 16px; white-space: nowrap }
    .t2w-tour-detail__ctaprice small { font-size: 12px; color: #8a8178 }
    /* AI helper collapses to an icon square; booking/planner keep text and share the row */
    .t2w-tour-detail__assistant { flex: 0 0 48px; padding: 10px 0; }
    .t2w-tour-detail__assistant [data-t2w-tour-ai-label] { display: none; }
    .t2w-tour-detail__assistant .material-symbols-outlined { font-size: 24px; }
    .t2w-tour-detail__cta .t2w-btn--primary,
    .t2w-tour-detail__cta .t2w-btn--secondary { flex: 1 1 auto; }
    .t2w-tour-detail__assistant.t2w-btn--outline { flex: 0 0 48px; background: var(--t2w-white, #fff); }
}
.t2w-tour-detail__assistant--loading { opacity: 0.72; cursor: wait; }
.t2w-tour-detail--missing { text-align: center; padding: 80px 24px; }
.t2w-tour-detail--missing h1 { font-size: 22px; margin: 0 0 12px; }
.t2w-product-chat[hidden] { display: none; }
.t2w-product-chat { position: fixed; inset: 0; z-index: 9998; }
.t2w-product-chat__backdrop { position: absolute; inset: 0; background: rgba(17, 24, 39, 0.42); }
.t2w-product-chat__panel { position: absolute; right: 20px; bottom: 20px; display: grid; grid-template-rows: auto minmax(180px, 1fr) auto; width: min(440px, calc(100vw - 40px)); max-height: min(700px, calc(100vh - 40px)); overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 24px 70px rgba(17, 24, 39, 0.22); }
.t2w-product-chat__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 16px 18px; border-bottom: 1px solid #f3f4f6; }
.t2w-product-chat__eyebrow { display: block; margin-bottom: 3px; color: #6b7280; font-size: 13px; font-weight: 900; line-height: 1; }
.t2w-product-chat__head h2 { margin: 0 0 4px; color: #111827; font-size: 20px; font-weight: 900; line-height: 1.25; }
.t2w-product-chat__head p { margin: 0; color: #6b7280; font-size: 15px; line-height: 1.4; }
.t2w-product-chat__close { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; color: #111827; cursor: pointer; }
.t2w-product-chat__close .material-symbols-outlined { font-size: 22px; }
.t2w-product-chat__messages { display: grid; align-content: start; gap: 10px; min-height: 180px; overflow-y: auto; padding: 16px 18px; background: #f8fafc; }
.t2w-product-chat__empty { align-self: center; justify-self: center; max-width: 280px; color: #6b7280; font-size: 15px; line-height: 1.55; text-align: center; }
.t2w-product-chat__empty strong { display: block; margin-bottom: 4px; color: #111827; font-size: 15px; }
.t2w-product-chat__empty p { margin: 0; }
.t2w-product-chat__bubble { max-width: 82%; }
.t2w-product-chat__bubble span { display: block; margin: 0 0 4px; color: #6b7280; font-size: 13px; font-weight: 800; }
.t2w-product-chat__bubble p { margin: 0; padding: 10px 12px; border-radius: 8px; font-size: 15px; line-height: 1.55; white-space: pre-wrap; }
.t2w-product-chat__bubble.is-mine { justify-self: end; }
.t2w-product-chat__bubble.is-mine span { text-align: right; }
.t2w-product-chat__bubble.is-mine p { background: #111827; color: #fff; }
.t2w-product-chat__bubble.is-partner p { border: 1px solid #e5e7eb; background: #fff; color: #111827; }
.t2w-product-chat__bubble.is-system { justify-self: center; max-width: 92%; text-align: center; }
.t2w-product-chat__bubble.is-system span { color: #64748b; }
.t2w-product-chat__bubble.is-system p { border: 1px solid #dbeafe; background: #eff6ff; color: #1e3a8a; }
.t2w-product-chat__bubble-attachments { display: grid; gap: 6px; margin-top: 6px; }
.t2w-product-chat__attachment { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 8px; align-items: center; max-width: 280px; overflow: hidden; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; color: #374151; font-size: 13px; font-weight: 800; text-decoration: none; }
.t2w-product-chat__attachment img { display: block; width: 72px; height: 72px; object-fit: cover; background: #fffbeb; }
.t2w-product-chat__attachment span { margin: 0; color: inherit; font-size: 13px; }
.t2w-product-chat__attachment.is-blocked { display: block; max-width: 280px; padding: 9px 10px; border-color: #fecaca; background: #fff7f7; color: #991b1b; }
.t2w-product-chat__form { display: grid; gap: 9px; padding: 12px 14px 14px; border-top: 1px solid #f3f4f6; background: #fff; }
.t2w-product-chat__intake { display: grid; gap: 8px; }
.t2w-product-chat__quick { display: flex; flex-wrap: wrap; gap: 6px; }
.t2w-product-chat__quick button { min-height: 34px; padding: 0 10px; border: 1px solid #e5e7eb; border-radius: 999px; background: #fffbeb; color: #374151; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.t2w-product-chat__quick button:hover,
.t2w-product-chat__quick button:focus { border-color: #FFB700; background: #fff7d6; outline: none; }
.t2w-product-chat__quick button[aria-pressed="true"] { border-color: #111827; background: #111827; color: #fff; }
.t2w-product-chat__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.t2w-product-chat__fields label { display: grid; gap: 4px; min-width: 0; color: #4b5563; font-size: 13px; font-weight: 900; line-height: 1.2; }
.t2w-product-chat__fields input { width: 100%; min-height: 38px; padding: 8px 10px; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; color: #111827; font: inherit; font-size: 13px; line-height: 1.3; }
.t2w-product-chat__fields input:focus { outline: none; border-color: #FFB700; box-shadow: 0 0 0 3px rgba(255,183,0,0.14); }
.t2w-product-chat__composer { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 8px; align-items: end; }
.t2w-product-chat__form textarea { width: 100%; min-height: 44px; max-height: 112px; resize: none; padding: 11px 12px; border: 1px solid #e5e7eb; border-radius: 8px; font: inherit; font-size: 15px; line-height: 1.45; }
.t2w-product-chat__form textarea:focus { outline: none; border-color: #FFB700; box-shadow: 0 0 0 3px rgba(255,183,0,0.16); }
.t2w-product-chat__attachments { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.t2w-product-chat__attach { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; padding: 0 10px; border: 1px solid #e5e7eb; border-radius: 8px; background: #fffbeb; color: #374151; font: inherit; font-size: 13px; font-weight: 900; cursor: pointer; }
.t2w-product-chat__attach:hover,
.t2w-product-chat__attach:focus { border-color: #FFB700; background: #fff7d6; outline: none; }
.t2w-product-chat__attachment-preview { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.t2w-product-chat__attachment-preview button { display: inline-flex; align-items: center; gap: 5px; max-width: 220px; min-height: 32px; padding: 0 7px; border: 1px solid #d1d5db; border-radius: 8px; background: #fff; color: #374151; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.t2w-product-chat__attachment-preview span:not(.material-symbols-outlined) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t2w-product-chat__attachment-preview em { color: #6b7280; font-style: normal; }
.t2w-product-chat__attachment-preview i.material-symbols-outlined { font-size: 15px; }
.t2w-product-chat__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; min-height: 18px; }
.t2w-product-chat__guard { color: #6b7280; font-size: 13px; line-height: 1.45; }
.t2w-product-chat__guard a { color: inherit; font-weight: 800; text-decoration: underline; }
.t2w-product-chat__status { color: #047857; font-size: 13px; font-weight: 800; text-align: right; }
.t2w-product-chat__status.is-error { color: #b91c1c; }
.t2w-product-chat .t2w-product-chat__send { display: inline-grid !important; place-items: center; width: 44px; min-width: 44px; height: 44px; min-height: 44px; padding: 0 !important; border: 0; border-radius: 8px; background: #FFB700; color: #111827; line-height: 1; cursor: pointer; }
.t2w-product-chat__send:disabled { opacity: 0.65; cursor: wait; }
.t2w-product-chat__send .material-symbols-outlined { font-size: 21px; line-height: 1; }

@media (max-width: 640px) {
    /* 2026-10-15: 키가 작은 폰·자판이 올라온 화면에서 입력칸·보내기 단추가 잘렸다 — 창 높이를 정하고, 대화칸이 먼저 줄고, 입력부는 넘치면 스스로 내린다. */
    .t2w-product-chat__panel { right: 0; bottom: 0; width: 100%; height: min(640px, 90dvh); max-height: 90vh; grid-template-rows: auto minmax(96px, 1fr) minmax(0, auto); border-radius: 12px 12px 0 0; }
    .t2w-product-chat__messages { min-height: 96px; }
    .t2w-product-chat__form { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
    .t2w-product-chat__meta { align-items: flex-start; flex-direction: column; }
    .t2w-product-chat__status { text-align: left; }
}

/* 데스크톱: 하단 CTA 바는 스티키 예약 카드(.t2w-tz__book)가 대체 — Z 하단 고정 바는 모바일 전용 */
@media (min-width: 769px) {
    .t2w-tour-detail__cta { display: none; }
}

/* (S275 A안 레이아웃 블록은 S276 Z 채택으로 구본 마크업과 함께 은퇴 — git fbf5c086 참조)
   (S277 청소: 구본 사역 규칙 일괄 제거 — similar 그리드·S270 A안 2컬럼/예약카드/타임라인/장소 카드·
    S25 갤러리 2종·similar-overlap·place-item. 원문 = git 216b8d68 이전 pages.css) */

/* Vendor archive (PV3) */
.t2w-vendor-archive {
    max-width: 1180px;
    margin: 0 auto;
    padding: 40px 20px 72px;
}
.t2w-vendor-archive__head {
    margin-bottom: 24px;
}
.t2w-vendor-archive__eyebrow {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #6b7280;
}
.t2w-vendor-archive__title-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}
.t2w-vendor-archive__title-row h1 {
    margin: 0 0 8px;
    font-size: 34px;
    line-height: 1.16;
    color: #111827;
}
.t2w-vendor-archive__title-row p {
    margin: 0;
    color: #4b5563;
    font-size: 16px;
}
.t2w-vendor-archive__apply,
.t2w-vendor-archive__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-weight: 800;
}
.t2w-vendor-archive__apply {
    min-height: 44px;
    padding: 0 16px;
    border-radius: 8px;
    background: #111827;
    color: #fff;
    white-space: nowrap;
}
.t2w-vendor-archive__apply .material-symbols-outlined,
.t2w-vendor-archive__link .material-symbols-outlined {
    font-size: 20px;
}
.t2w-vendor-archive__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.t2w-vendor-archive__card {
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
}
.t2w-vendor-archive__media {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 10;
    background: #fffbeb;
    color: #111827;
    text-decoration: none;
    font-size: 38px;
    font-weight: 900;
}
.t2w-vendor-archive__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.t2w-vendor-archive__body {
    display: grid;
    gap: 10px;
    padding: 16px;
}
.t2w-vendor-archive__meta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: fit-content;
    color: #047857;
    font-size: 13px;
    font-weight: 800;
}
.t2w-vendor-archive__meta .material-symbols-outlined {
    font-size: 16px;
}
.t2w-vendor-archive__body h2 {
    margin: 0;
    font-size: 20px;
    line-height: 1.3;
}
.t2w-vendor-archive__body h2 a {
    color: #111827;
    text-decoration: none;
}
.t2w-vendor-archive__body p {
    margin: 0;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.55;
}
.t2w-vendor-archive__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.t2w-vendor-archive__tags span {
    padding: 4px 8px;
    border-radius: 999px;
    background: #fffbeb;
    color: #374151;
    font-size: 13px;
    font-weight: 700;
}
.t2w-vendor-archive__link {
    width: fit-content;
    min-height: 34px;
    color: #7c5b00;
    font-size: 15px;
}
.t2w-vendor-archive__pagination {
    margin-top: 28px;
}
.t2w-vendor-archive__pagination ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
}
.t2w-vendor-archive__pagination a,
.t2w-vendor-archive__pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #111827;
    text-decoration: none;
    font-weight: 700;
}
.t2w-vendor-archive__pagination .current {
    background: #111827;
    color: #fff;
}
.t2w-vendor-archive__empty {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 56px 20px;
    border: 1px dashed #d1d5db;
    border-radius: 8px;
    text-align: center;
}
.t2w-vendor-archive__empty .material-symbols-outlined {
    font-size: 40px;
    color: #9ca3af;
}
.t2w-vendor-archive__empty h2,
.t2w-vendor-archive__empty p {
    margin: 0;
}

@media (max-width: 900px) {
    .t2w-vendor-archive__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .t2w-vendor-archive {
        padding: 28px 16px 56px;
    }
    .t2w-vendor-archive__title-row {
        display: grid;
        align-items: start;
    }
    .t2w-vendor-archive__title-row h1 {
        font-size: 32px;
    }
    .t2w-vendor-archive__apply {
        width: 100%;
        justify-content: center;
    }
    .t2w-vendor-archive__grid {
        grid-template-columns: 1fr;
    }
}

/* ═══ S270: 유명인 장소 전체 목록 /australia/celebrity/ (마스터 승인 신설) ═══ */
/* S272: 사이트 표준 컨테이너 합류 — 크림 배경은 풀블리드, 좌측선은 __inner가 결정 (옛 pad 16 + inner 1150) */
.t2w-celebx { padding: 96px 0 80px; background: var(--color-bg-cream, #FCF8EF); min-height: 60vh; }
.t2w-celebx__inner { max-width: var(--t2w-wrap-max, 1200px); margin: 0 auto; padding: 0 var(--t2w-wrap-pad, 32px); }
.t2w-celebx__title { font-size: clamp(26px, 3.4vw, 38px); font-weight: 900; letter-spacing: -0.5px; color: var(--color-secondary, #1D2A3A); }
.t2w-celebx__title em { font-style: normal; color: var(--color-primary-dark, #E5A400); }
.t2w-celebx__sub { margin-top: 8px; font-size: 15px; font-weight: 600; color: var(--t2w-text-muted, #6b7280); }
.t2w-celebx__trust { display: inline-flex; margin-top: 12px; background: var(--color-tag-gold-bg, #FFF3D6); color: var(--color-tag-gold-text, #8A5A00); font-size: 15px; font-weight: 700; border-radius: 999px; padding: 6px 14px; gap: 5px; }
.t2w-celebx__filters { margin-top: 22px; display: flex; flex-direction: column; gap: 9px; }
.t2w-celebx__chips { display: flex; gap: 8px; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; }
.t2w-celebx__chips::-webkit-scrollbar { display: none; }
.t2w-celebx__chip { flex: none; display: inline-flex; align-items: center; gap: 6px; background: var(--t2w-surface, #fff); border: 1.5px solid var(--color-border-light, #EDE4D2); border-radius: 999px; padding: 9px 16px; font: inherit; font-size: 15px; font-weight: 700; color: var(--t2w-text-muted, #4B5563); cursor: pointer; min-height: 40px; }
.t2w-celebx__chip b { font-size: 13px; color: var(--color-tag-gold-text, #8A5A00); }
.t2w-celebx__chip.is-active { background: var(--color-primary, #FFB700); border-color: var(--color-primary, #FFB700); color: var(--color-secondary, #231b04); }
.t2w-celebx__chip.is-active b { color: inherit; }
.t2w-celebx__count { margin: 14px 0 12px; font-size: 15px; font-weight: 800; color: var(--t2w-text-muted, #8b7f68); }
.t2w-celebx__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.t2w-celebx__card { display: block; background: var(--t2w-surface, #fff); border: 1px solid var(--color-border-light, #EDE4D2); border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 6px 16px -10px rgba(29, 26, 12, 0.14); transition: transform .18s, box-shadow .18s, border-color .18s; }
.t2w-celebx__card:hover { transform: translateY(-2px); border-color: rgba(255, 183, 0, 0.55); box-shadow: 0 12px 24px -10px rgba(29, 26, 12, 0.22); }
.t2w-celebx__ph { position: relative; display: block; aspect-ratio: 16/10; background: var(--color-border, #E5E7EB); }
.t2w-celebx__ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.t2w-celebx__ph-fb { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--t2w-text-muted, #9aa0a8); }
.t2w-celebx__cnt { position: absolute; top: 9px; left: 9px; background: rgba(12, 17, 28, 0.78); color: var(--t2w-gg-lite, #F5D98B); font-size: 12px; font-weight: 800; font-style: normal; border-radius: 999px; padding: 4px 9px; }
.t2w-celebx__bd { display: block; padding: 12px 14px 14px; }
.t2w-celebx__name { display: block; font-size: 16px; font-weight: 900; color: var(--color-secondary, #1D2A3A); }
.t2w-celebx__city { display: block; font-size: 13px; font-weight: 700; color: var(--color-tag-gold-text, #8A5A00); margin-top: 2px; }
.t2w-celebx__who { display: block; font-size: 13px; font-weight: 800; color: var(--t2w-text, #374151); margin-top: 7px; }
.t2w-celebx__story { display: block; font-size: 13px; font-weight: 600; color: var(--t2w-text-muted, #6b7280); margin-top: 3px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.t2w-celebx__empty { margin-top: 30px; font-weight: 700; color: var(--t2w-text-muted, #6b7280); }
@media (max-width: 1024px) { .t2w-celebx__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .t2w-celebx { padding-top: 84px; } .t2w-celebx__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .t2w-celebx__chip { min-height: 44px; } }
/* S271 공간 활용(마스터): 420 이하 1열 강등 폐지 — 2열 콤팩트 유지 (실측 28,371px -> 약 1/2.5) */
@media (max-width: 420px) {
    .t2w-celebx__grid { gap: 9px; }
    .t2w-celebx__ph { aspect-ratio: 4/3; }
    .t2w-celebx__bd { padding: 9px 10px 11px; }
    .t2w-celebx__name { font-size: 15px; line-height: 1.25; }
    .t2w-celebx__city { font-size: 12px; }
    .t2w-celebx__who { font-size: 13px; margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .t2w-celebx__story { display: none; } /* 사연은 장소 상세 몫 — 목록은 훑기 */
    .t2w-celebx__cnt-l { display: none; } /* 배지 "★ 방문 기록 N건" -> "★ N건" */
}


/* ═══════════════════════════════════════════════════════════════
   S272 C안 — 투어·티켓 전체 목록 `/australia/tours/` (마스터 승인)
   2차(적대적 고도화) 실측 근거로 재작성:
     · 폰 첫 카드 y=563 → 머리·필터 압축(상단 96→72, 필터 3줄→2줄, 정렬=셀렉트)
     · 카드 = article + 주링크 + 「가는 곳」 실링크 한 줄 (폰에서도 노출 — 옛 display:none 폐지)
     · 가격 위계 ₩ 주 / A$ 보조 · 상태 배지(58/58 동일) 제거 → 머리 안내 1줄
     · 유명인 방문지 포함 배지 = 이 사이트만의 신호
   컨테이너 = 사이트 표준 토큰(docs/DESIGN.md §컨테이너 표준) + 테마 캔버스 해제
   ═══════════════════════════════════════════════════════════════ */
.container:has(> .t2w-tx) { max-width: none; padding-left: 0; padding-right: 0; margin-top: 0 }
.site-content:has(.t2w-tx) { margin-top: 0 } /* 실측 60px 공백 회수 — 목록 페이지는 첫 화면에 상품이 보여야 한다 */
.t2w-tx { padding: 40px 0 72px; background: var(--color-bg-cream, #FCF8EF); min-height: 60vh }
.t2w-tx__inner { max-width: var(--t2w-wrap-max, 1200px); margin: 0 auto; padding: 0 var(--t2w-wrap-pad, 32px) }

.t2w-tx__head { margin-bottom: 10px }
html body .t2w-tx__title { margin: 0 0 4px }
.t2w-tx__title { font-size: clamp(21px, 3.2vw, 30px); font-weight: 900; margin: 0 0 4px; color: var(--t2w-text, #1A1E27);
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap }
.t2w-tx__title em { font-style: normal; color: var(--color-primary-text, #B45309) }
.t2w-tx__n { font-size: 13px; font-weight: 900; background: var(--t2w-text, #1A1E27); color: var(--color-white, #fff);
    border-radius: 999px; padding: 3px 10px }
.t2w-tx__sub { margin: 0; font-size: 15px; color: var(--t2w-text-muted, #5A6473); font-weight: 600; line-height: 1.55 }
.t2w-tx__sub b { color: var(--t2w-text, #1A1E27) }
.t2w-tx__drop { margin: 10px 0 0; padding: 9px 12px; border-left: 4px solid var(--color-primary, #FFB700);
    background: #FFF8E6; border-radius: 0 10px 10px 0; font-size: 13px; font-weight: 700; color: #6B5412 }

/* 찾는 방식 3축 = 세그먼트 (도시 탭보다 상위 위계) */
.t2w-tx__views { display: inline-flex; gap: 2px; margin: 12px 0 0; padding: 3px;
    background: var(--t2w-surface, #fff); border: 1.5px solid var(--color-border-light, #EDE4D2); border-radius: 999px }
.t2w-tx__view { background: none; border: none; border-radius: 999px; padding: 8px 14px; font-size: 13px;
    font-weight: 800; color: var(--t2w-text-muted, #5A6473); cursor: pointer; min-height: 36px; white-space: nowrap }
.t2w-tx__view.is-active { background: var(--t2w-text, #1A1E27); color: var(--color-white, #fff) }

/* 도시 = 밑줄 탭(2차 위계) */
.t2w-tx__tabs { display: flex; gap: 3px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
    margin-top: 10px; border-bottom: 1.5px solid var(--color-border-light, #EDE4D2) }
.t2w-tx__tabs::-webkit-scrollbar { display: none }
.t2w-tx__tab { flex: none; display: inline-flex; align-items: center; gap: 5px; background: none; border: none;
    border-bottom: 2.5px solid transparent; padding: 9px 11px; font-size: 15px; font-weight: 800;
    color: var(--t2w-text-muted, #5A6473); cursor: pointer; white-space: nowrap; min-height: 40px }
.t2w-tx__tab i { font-style: normal; font-size: 13px; font-weight: 900; color: var(--t2w-text-light, #8A93A2) }
.t2w-tx__tab.is-active { color: var(--t2w-text, #1A1E27); border-bottom-color: var(--color-primary, #FFB700) }
.t2w-tx__tab.is-active i { color: var(--color-primary-text, #B45309) }

/* 유형 칩 + 개수 + 정렬 = 한 줄 (3차 위계) */
.t2w-tx__filterrow { display: flex; align-items: center; gap: 10px; margin: 10px 0 12px; flex-wrap: wrap }
.t2w-tx__chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1 1 auto; min-width: 0 }
/* S283: 형태 고르기 줄 — 유형 칩 줄 아래 한 줄. 자체 줄이라 좌우로 늘어나지 않게 한다. */
.t2w-tx__chips--fmt { flex: 0 1 auto; margin: 6px 0 2px }
.t2w-tx__chips::-webkit-scrollbar { display: none }
.t2w-tx__chip { flex: none; background: var(--t2w-surface, #fff); border: 1.5px solid var(--color-border-light, #EDE4D2);
    border-radius: 999px; padding: 7px 13px; font-size: 13px; font-weight: 800; color: var(--t2w-text-muted, #5A6473);
    cursor: pointer; min-height: 36px; white-space: nowrap }
.t2w-tx__chip b { font-weight: 900; opacity: .6; margin-left: 3px }
.t2w-tx__chip.is-active { background: #FFF4D6; border-color: var(--color-primary, #FFB700); color: var(--color-primary-text, #B45309) }
.t2w-tx__sortwrap { display: inline-flex; align-items: center; gap: 8px; flex: none }
.t2w-tx__cnt { font-size: 13px; font-weight: 800; color: var(--t2w-text-muted, #5A6473); white-space: nowrap }
.t2w-tx__sortsel { min-height: 40px; padding: 8px 30px 8px 12px; border-radius: 10px; font-size: 13px; font-weight: 800;
    color: var(--t2w-text, #1A1E27); background: var(--t2w-surface, #fff) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%235A6473' stroke-width='2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 11px center;
    border: 1.5px solid var(--color-border-light, #EDE4D2); -webkit-appearance: none; appearance: none; cursor: pointer }

/* 카드 그리드 */
.t2w-tx__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px }
.t2w-tx__card, .t2w-tx__mcard { display: flex; flex-direction: column; background: var(--t2w-surface, #fff);
    border: 1.5px solid var(--color-border-light, #EDE4D2); border-radius: 16px; overflow: hidden;
    transition: transform .16s ease, box-shadow .16s ease }
.t2w-tx__card:hover, .t2w-tx__mcard:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(29,26,12,.35) }
/* S273 사전 결함 수리 — display를 지정한 요소는 hidden 속성이 안 먹는다(작성자 규칙이 브라우저 기본 [hidden]{display:none}을 이김).
   증상: S272 도시·유형 필터가 개수만 바뀌고 카드는 화면에 그대로 남아 있었다(라이브 실측 58/58 표시).
   프로브가 el.hidden 속성만 봤기 때문에 놓쳤다 → 이후 검증은 반드시 getBoundingClientRect 기반. */
.t2w-tx__card[hidden], .t2w-tx__mcard[hidden], .t2w-tx__morebtn[hidden] { display: none }
.t2w-tx__main { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; flex: 1 }
/* S273 사진 비율 — 원본이 4:3(800x600)이라 16:10은 위아래를 잘라 쓰면서 사진까지 납작했다.
   4:3 = 잘림 0 + 사진 비중 PC 55→60% / 태블릿 52→56% (마스터 승인, 마이리얼트립 실측 = 정사각~세로) */
.t2w-tx__ph { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--color-bg-warm, #ffffff); overflow: hidden }
.t2w-tx__ph img { width: 100%; height: 100%; object-fit: cover; display: block }
/* S277 Z 문법: 무사진 = 웜 잉크 + 골드 글로우 + 유형 글리프 + 「사진 준비 중」 (S274/S276 승계) */
.t2w-tx__ph-fb { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background-color: var(--t2w-hp-ink, #241E1A);
    background-image: radial-gradient(110% 85% at 78% 12%, rgba(var(--color-primary-rgb, 255, 183, 0), .24), transparent 60%) }
.t2w-tx__ph-fb .material-symbols-outlined { font-size: 46px; color: rgba(255, 255, 255, .14) }
.t2w-tx__ph-pill { position: absolute; left: 10px; bottom: 10px; padding: 5px 10px; font-style: normal;
    border-radius: var(--t2w-hp-r-pill, 999px); background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .8);
    font-size: 13px; font-weight: 700 }
.t2w-tx__kind { position: absolute; left: 8px; top: 8px; font-style: normal; font-size: 12px; font-weight: 900;
    background: rgba(16,26,43,.82); color: var(--color-white, #fff); border-radius: 999px; padding: 4px 9px }
.t2w-tx__celeb { position: absolute; left: 8px; bottom: 8px; font-style: normal; font-size: 12px; font-weight: 900;
    background: rgba(255,244,214,.95); color: #7A5B10; border-radius: 999px; padding: 4px 9px }
.t2w-tx__t { display: block; padding: 0 12px; margin-top: 5px; font-size: 15px; font-weight: 800; line-height: 1.35;
    color: var(--t2w-text, #1A1E27); word-break: keep-all }
/* S277 Z 문법: 메타 텍스트 → 칩 (별점=골드·시간=시계 아이콘 — S276 비슷한 투어 푸터 문법) */
.t2w-tx__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; padding: 2px 12px 0 }
.t2w-tx__mchip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; font-style: normal;
    border-radius: var(--t2w-hp-r-pill, 999px); background: var(--color-bg-warm, #fffbeb);
    font-size: 13px; font-weight: 700; color: var(--t2w-hp-ink-soft, #6B6157); white-space: nowrap }
.t2w-tx__mchip .material-symbols-outlined { font-size: 15px; color: var(--color-primary-dark, #E5A400) }
.t2w-tx__mchip--star { background: var(--color-tag-gold-bg, #FFF3D6); color: var(--color-tag-gold-text, #8A5A00) }
/* 2026-10-11 GAP C2: 판매자가 고른 무료 취소 — 상세 환불 표 「전액 환불」과 같은 초록 */
.t2w-tx__mchip--ok { background: var(--t2w-ok-bg, #F0FDF4); color: var(--t2w-ok-ink, #166534) }
/* 2026-10-15: 「출발 7일 전까지 무료 취소」(169px)가 폰 두 줄 카드(글 칸 143px)에서 잘려 「무료 취ㅅ」로 보였다 — 이 칩만 줄을 바꾼다. */
.t2w-tx__mchip--ok { max-width: 100%; white-space: normal; word-break: keep-all; border-radius: var(--t2w-hp-r-sm, 12px) }
.t2w-tx__pr { margin-top: auto; padding: 6px 12px 10px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap;
    font-variant-numeric: tabular-nums }
.t2w-tx__pr b { font-size: 16px; font-weight: 900; color: var(--t2w-text, #1A1E27) }
.t2w-tx__pr small { font-size: 13px; font-weight: 700; color: var(--t2w-text-light, #8A93A2) }

/* 「가는 곳」 = 장소 상세로 가는 실제 링크 (카드 주링크와 분리 — 중첩 <a> 회피) */
.t2w-tx__pl { margin: 0; padding: 9px 12px 11px; border-top: 1px solid var(--color-border-light, #EDE4D2);
    background: var(--color-bg-cream, #FCF8EF); font-size: 13px; font-weight: 700; line-height: 1.5;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.t2w-tx__pl-k { color: var(--t2w-text-light, #8A93A2); font-weight: 800; margin-right: 5px }
.t2w-tx__plc { color: var(--t2w-text-muted, #5A6473); text-decoration: none; border-bottom: 1px dotted rgba(90,100,115,.5) }
.t2w-tx__plc:hover { color: var(--color-primary-text, #B45309) }
.t2w-tx__pl-sep { color: var(--t2w-text-light, #8A93A2); margin: 0 3px }
.t2w-tx__plc--more { color: var(--t2w-text-light, #8A93A2); margin-left: 4px }

/* 장소·유명인 그룹 뷰 */
.t2w-tx__note { margin: 12px 0 10px; font-size: 13px; font-weight: 700; color: var(--t2w-text-muted, #5A6473) }
.t2w-tx__pgroup { background: var(--t2w-surface, #fff); border: 1.5px solid var(--color-border-light, #EDE4D2);
    border-radius: 16px; padding: 12px 13px; margin-bottom: 10px }
.t2w-tx__pgh { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; flex-wrap: wrap }
.t2w-tx__pgh b { font-size: 15px; font-weight: 900; color: var(--t2w-text, #1A1E27) }
.t2w-tx__pgh u { text-decoration: none; font-size: 13px; font-weight: 900; background: #FFF4D6;
    color: var(--color-primary-text, #B45309); border-radius: 999px; padding: 3px 8px }
.t2w-tx__pgn { font-size: 13px; font-weight: 800; color: var(--t2w-text-light, #8A93A2) }
.t2w-tx__pgh a { margin-left: auto; font-size: 13px; font-weight: 800; color: var(--color-primary-text, #B45309); text-decoration: none }
.t2w-tx__mini { display: flex; gap: 10px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 2px }
.t2w-tx__mini::-webkit-scrollbar { display: none }
.t2w-tx__mcard { flex: none; width: 186px }
.t2w-tx__mcard .t2w-tx__t { font-size: 13px; padding: 0 10px }
.t2w-tx__mcard .t2w-tx__meta { padding: 0 10px; gap: 4px }
.t2w-tx__mcard .t2w-tx__mchip { padding: 2px 7px; font-size: 13px }
.t2w-tx__mcard .t2w-tx__pr { padding: 3px 10px 9px }
.t2w-tx__mcard .t2w-tx__pr b { font-size: 15px }
.t2w-tx__morebtn { display: block; width: 100%; margin: 4px 0 0; padding: 13px; border-radius: 12px;
    background: var(--t2w-surface, #fff); border: 1.5px solid var(--color-border-light, #EDE4D2);
    font-size: 15px; font-weight: 900; color: var(--t2w-text, #1A1E27); cursor: pointer; min-height: 46px }

.t2w-tx__empty { margin: 26px 0; font-size: 15px; font-weight: 700; color: var(--t2w-text-muted, #5A6473) }
.t2w-tx__foot { margin-top: 22px; background: var(--t2w-surface, #fff); border: 1.5px solid var(--color-border-light, #EDE4D2);
    border-radius: 16px; padding: 16px 18px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap }
.t2w-tx__foot p { margin: 0; font-size: 15px; font-weight: 700; color: var(--t2w-text-muted, #5A6473) }
.t2w-tx__ask { margin-left: auto; background: var(--gradient-gold, linear-gradient(135deg, #FFB700, #E5A400));
    color: var(--color-secondary, #2A2113); border: none; border-radius: 12px; padding: 12px 20px; font-size: 15px;
    font-weight: 900; cursor: pointer; min-height: 46px }
.t2w-tx__morebtn--grid { margin-top: 14px } /* S273: 카드 그리드 아래 「상품 더 보기」 — 첫 로딩 24장(폰 문서 12,284→약 6,000px) */

@media (max-width: 1024px) { .t2w-tx__grid { grid-template-columns: repeat(3, 1fr) } }
@media (max-width: 768px) {
    .t2w-tx { padding-top: 32px }
    .t2w-tx__grid { gap: 10px }
    .t2w-tx__views { width: 100%; justify-content: space-between }
    .t2w-tx__view { flex: 1; padding: 8px 6px; text-align: center }
    .t2w-tx__filterrow { gap: 8px; flex-wrap: nowrap } /* 폰: 칩(가로스크롤)+정렬 한 줄 유지 — 줄바꿈 시 40px 손실 */
    .t2w-tx__ask { margin-left: 0; width: 100% }
    .t2w-tx__foot { padding: 14px }
}
@media (max-width: 600px) {
    .t2w-tx__grid { grid-template-columns: repeat(2, 1fr) }
    /* S273 폰: 2열은 유지(마이리얼트립도 카드 폭 40~45% = 2열 대역)하되 사진을 세로 3:4로 세운다.
       실측 근거 — 2열 폭 167px에서 글자 비용(제목2줄+별점+가격+장소줄)이 고정이라 가로 사진은 103px(37%)로 쪼그라들었다.
       3:4 → 사진 219px(59%), 면적 2.1배. 가격은 한 줄로 묶어 카드 높이 상승분을 되돌린다. */
    .t2w-tx__ph { aspect-ratio: 3 / 4 }
    /* 사진 없는 무형 상품(유심·와이파이·보험 4개)은 세로로 키우면 빈 회색 박스만 커진다 → 낮게 유지 */
    .t2w-tx__ph:has(.t2w-tx__ph-fb) { aspect-ratio: 4 / 3 }
    .t2w-tx__pr { flex-wrap: nowrap }
    .t2w-tx__pr small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
}
@media (max-width: 420px) {
    .t2w-tx__cnt { display: none } /* 폰: 개수는 빈 상태·탭 숫자로 충분 */
    .t2w-tx__t { font-size: 15px; padding: 0 10px } /* S273: 12.5 → 13px (반응형 규칙 최소 13px 준수 + 사진 커진 만큼 제목도 읽히게) */
    .t2w-tx__meta, .t2w-tx__pr { padding-left: 10px; padding-right: 10px }
    .t2w-tx__pl { padding: 8px 10px 9px; font-size: 13px }
    .t2w-tx__pl-k { display: none } /* 폰: "가는 곳" 라벨 생략, 장소 이름은 유지 */
    .t2w-tx__mcard { width: 156px }
}

/* ══ S276 투어 상세 Z (마스터 "확정" 2026-07-27 — 제로베이스 재설계, 시안 9종 비교 후 채택) ══
   구조: 제목 우선 헤더 → 사진 모자이크 → 아이콘 팩트 바 → 코스 타임라인 → 스티키 예약 카드.
   등장 모션은 html.t2w-tz-io 게이트(템플릿 인라인 JS) — JS 실패 시 전부 그대로 보인다. */
/* 근본 수리(체인 실측): 유령 여백 = .container margin-top 32(폰 24) + .site-content padding-bottom 64
   + 폰 .site-content margin-top 60. S272가 좌우만 해제했었다 — Z 범위에서 상하도 해제, 여백은 main 하나로 통일. */
.container:has(> .t2w-tz) { margin-top: 0 }
.site-content:has(.t2w-tz) { margin-top: 0; padding-bottom: 0 }
.t2w-tz { padding: 30px 0 46px; background: var(--color-white, #fff); word-break: keep-all; overflow-wrap: break-word } /* keep-all = 한글 낱말 중간 끊김 방지 (2026-10-15 폰 실측: 「무료 취 / 소」·「오페라 하우 / 스」) */
.t2w-tz__lead--paras { white-space: pre-line } /* 소개 글 문단 나눔을 살린다 — 없으면 「붙습니다.코스:」처럼 붙어 보였다 */
.t2w-tz__sec:last-child { margin-bottom: 0 }
.t2w-tz__wrap { max-width: var(--t2w-wrap-max, 1200px); margin: 0 auto; padding: 0 var(--t2w-wrap-pad, 32px) }

/* ── 헤더: 사진보다 제목이 먼저 (예약 플랫폼 문법) */
.t2w-tz__eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 10px;
    font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--color-primary-dark, #E5A400) }
.t2w-tz__eyebrow::after { content: ""; flex: 0 0 34px; height: 2px; border-radius: 2px; background: var(--color-primary, #FFB700) }
.t2w-tz__head h1 { margin: 0 0 10px; font-family: var(--t2w-font-display, "Pretendard"), sans-serif;
    font-size: clamp(30px, 3.2vw, 42px); font-weight: 900; letter-spacing: -1.2px; line-height: 1.16;
    color: var(--color-secondary, #1E3A5F); word-break: keep-all }
.t2w-tz__sub { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 0 0 18px;
    font-size: 15px; font-weight: 600; color: var(--t2w-hp-ink-soft, #6B6157) }
.t2w-tz__star { color: var(--t2w-gg-deep, #8C6C2A); font-weight: 800 }
/* 2026-10-11 GAP B10: 업체가 잠시 내린 상품 — 본문은 그대로, 제목 아래 한 줄 + 예약 칸은 단추 대신 상태 */
.t2w-tz__paused { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 18px; padding: 12px 16px;
    border-radius: var(--t2w-radius-md); background: var(--color-bg-cream); color: var(--color-text-primary);
    font-size: 15px; line-height: 1.55; word-break: keep-all }
.t2w-tz__paused .material-symbols-outlined { flex: none; font-size: 20px; color: var(--color-warning) }
.t2w-tz__paused a { color: inherit; font-weight: 700; text-underline-offset: 3px }
.t2w-tz__pausedcta { display: flex; align-items: center; justify-content: center; min-height: 48px; margin: 0;
    padding: 0 16px; border-radius: var(--t2w-radius-md); background: var(--color-bg-light);
    color: var(--color-text-muted); font-size: 15px; font-weight: 700; text-align: center }
.t2w-tour-detail__cta .t2w-tz__pausedcta { flex: 1 }
/* 터치 타깃 44px 계약(옛 __vendor-inquiry 승계) — 음수 마진 상쇄로 시각 리듬은 그대로 */
.t2w-tz__chatlink { display: inline-flex; align-items: center; min-height: 44px; margin: -8px 0;
    border: 0; background: none; padding: 0 2px; font: inherit; font-size: 15px; font-weight: 700;
    color: var(--color-secondary, #1E3A5F); text-decoration: underline; text-underline-offset: 4px; cursor: pointer }
.t2w-tz__chatlink:hover { color: var(--t2w-hp-ink, #241E1A) }

/* ── 사진 모자이크: 장수에 맞는 판형, img+lazy (S275 규격) */
.t2w-tz__ph { position: relative; display: grid; gap: 10px; margin: 0 0 24px;
    border-radius: var(--t2w-hp-r-md, 16px); overflow: hidden;
    box-shadow: 0 18px 40px -26px rgba(36, 30, 26, .38) }
.t2w-tz__ph--3 { grid-template-columns: 2fr 1fr; grid-template-rows: 205px 205px }
.t2w-tz__ph--3 .t2w-tz__ph-item:first-child { grid-row: span 2 }
.t2w-tz__ph--2 { grid-template-columns: 2fr 1fr; grid-template-rows: 420px }
.t2w-tz__ph--1 { grid-template-columns: 1fr; grid-template-rows: 420px }
/* S353: 마이리얼트립 판형 — 큰 1장 + 오른쪽 2×2 (마스터 "최대한 베껴라") */
.t2w-tz__ph--5 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 205px 205px }
.t2w-tz__ph--5 .t2w-tz__ph-item:first-child { grid-row: span 2 }
.t2w-tz__ph--4 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 205px 205px }
.t2w-tz__ph--4 .t2w-tz__ph-item:first-child { grid-row: span 2 }
.t2w-tz__ph--4 .t2w-tz__ph-item:last-child { grid-column: span 2 }
.t2w-tz__ph-item { position: relative; overflow: hidden }
.t2w-tz__ph-item img { width: 100%; height: 100%; object-fit: cover; display: block }
/* (S353: 「가는 곳」 라벨·그라데이션 은퇴 — 마스터 지시. 어느 곳인지는 코스 칸이 말한다) */
.t2w-tz__ph-tag { position: absolute; left: 10px; bottom: 10px; z-index: 1; display: inline-flex;
    align-items: center; gap: 5px; max-width: calc(100% - 20px); padding: 6px 11px;
    border-radius: var(--t2w-hp-r-pill, 999px); background: rgba(36, 30, 26, .78); color: var(--color-white, #fff);
    font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.t2w-tz__ph-tag .material-symbols-outlined { font-size: 15px; color: var(--color-primary, #FFB700); flex: none }
.t2w-tz__ph-count { position: absolute; right: 14px; bottom: 14px; padding: 7px 13px;
    border-radius: var(--t2w-hp-r-pill, 999px); background: rgba(36, 30, 26, .78); color: var(--color-white, #fff);
    font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px }
.t2w-tz__ph-count .material-symbols-outlined { font-size: 16px }
.t2w-tz__ph--0 { display: flex; align-items: center; justify-content: center; height: 320px;
    background-color: var(--t2w-hp-ink, #241E1A);
    background-image: radial-gradient(110% 85% at 78% 12%, rgba(var(--color-primary-rgb, 255, 183, 0), .24), transparent 60%) }
.t2w-tz__ph--0 .t2w-tz__ph-glyph { font-size: 110px; color: rgba(255, 255, 255, .14) }
.t2w-tz__ph--0 .t2w-tz__ph-pill { position: absolute; left: 18px; bottom: 16px; padding: 7px 13px;
    border-radius: var(--t2w-hp-r-pill, 999px); background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .8);
    font-size: 13px; font-weight: 700 }

/* ── 본문 2단 */
.t2w-tz__cols { display: grid; grid-template-columns: minmax(0, 1fr) 384px; gap: 56px; align-items: start }
.t2w-tz__aside { position: sticky; top: 84px }

/* ── 팩트 바: 아이콘 + 라벨/값, 헤어라인 구획 */
.t2w-tz__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px;
    background: var(--t2w-hp-line-2, rgba(30, 58, 95, .08));
    border: 1px solid var(--t2w-hp-line-2, rgba(30, 58, 95, .08));
    border-radius: var(--t2w-hp-r-md, 16px); overflow: hidden; margin: 0 0 36px }
.t2w-tz__fact { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    padding: 15px 8px; background: var(--color-white, #fff); text-align: center }
.t2w-tz__fact .material-symbols-outlined { font-size: 30px; color: var(--color-primary-dark, #E5A400) }
.t2w-tz__fact-k { display: block; margin-bottom: 1px; font-size: 13px; font-weight: 700; letter-spacing: .05em; color: var(--color-text-muted, #6B7280) }
.t2w-tz__fact-v { font-size: 16px; font-weight: 800; color: var(--t2w-hp-ink, #241E1A); font-variant-numeric: tabular-nums }

/* ── 섹션 공통 */
.t2w-tz__sec { margin: 0 0 44px }
.t2w-tz__sec h2 { position: relative; margin: 0 0 18px; padding-bottom: 12px;
    font-family: var(--t2w-font-display, "Pretendard"), sans-serif; font-size: 23px; font-weight: 800;
    letter-spacing: -.4px; color: var(--t2w-hp-ink, #241E1A) }
.t2w-tz__sec h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 3px;
    border-radius: var(--t2w-hp-r-pill, 999px); background: var(--color-primary, #FFB700) }
.t2w-tz__lead { margin: 0; font-size: 18px; line-height: 1.9; color: var(--t2w-hp-ink, #241E1A); max-width: 64ch }
.t2w-tz__days { list-style: none; margin: 0; padding: 0 }
.t2w-tz__days li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(30, 58, 95, .06);
    font-size: 15.5px; line-height: 1.75; color: var(--t2w-hp-ink, #241E1A) }
.t2w-tz__days b { flex: 0 0 auto; color: var(--color-primary-dark, #E5A400); font-weight: 900 }
.t2w-tz__days p { margin: 0 }

/* ── 코스 타임라인: 투어 고유 문법 (번호 점 + 세로 선) */
.t2w-tz__course { list-style: none; margin: 0; padding: 0; position: relative }
.t2w-tz__course::before { content: ""; position: absolute; left: 17px; top: 10px; bottom: 24px; width: 2px;
    background: linear-gradient(var(--color-primary, #FFB700), var(--t2w-hp-line, rgba(30, 58, 95, .12))) }
.t2w-tz__stop { position: relative; padding: 0 0 14px 52px }
.t2w-tz__stop-num { position: absolute; left: 0; top: 6px; width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; background: var(--color-white, #fff);
    border: 2px solid var(--color-primary, #FFB700); font-size: 15px; font-weight: 900;
    color: var(--t2w-hp-ink, #241E1A); z-index: 1 }
/* S277: 코스 사진 판형화 (마스터 선택 1번 — "이미 가진 진짜 사진을 더 크게").
   손톱 54px → 148x104. 사진이 커지면서 카드가 사진 주인공이 되므로 배경 대신 테두리+호버 승격. */
.t2w-tz__stop-card { display: flex; align-items: center; gap: 16px; padding: 10px;
    border: 1px solid transparent; border-radius: var(--t2w-hp-r-md, 16px); text-decoration: none;
    transition: background .15s ease, border-color .15s ease }
a.t2w-tz__stop-card:hover { background: var(--t2w-hp-paper-2, #FFF6E6); border-color: var(--t2w-hp-line, rgba(30, 58, 95, .12)) }
.t2w-tz__stop-thumb { flex: 0 0 172px; width: 172px; height: 118px; border-radius: 13px; overflow: hidden;
    background: var(--t2w-hp-ink, #241E1A); display: flex; align-items: center; justify-content: center }
.t2w-tz__stop-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .28s ease }
a.t2w-tz__stop-card:hover .t2w-tz__stop-thumb img { transform: scale(1.05) }
.t2w-tz__stop-thumb .material-symbols-outlined { color: rgba(255, 255, 255, .32); font-size: 34px }
.t2w-tz__stop-body { flex: 1; min-width: 0 }
.t2w-tz__stop-name { font-size: 16px; font-weight: 800; letter-spacing: -.2px; color: var(--t2w-hp-ink, #241E1A) }
/* S353(마스터 "장소 오른쪽이 너무 비어 있네"): 장소 한국어 소개 2줄 — 코스가 설명서가 된다 */
.t2w-tz__stop-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    margin-top: 4px; font-size: 15px; line-height: 1.6; color: var(--t2w-hp-ink-soft, #6B6157); font-weight: 500 }
.t2w-tz__stop-celeb { display: block; margin-top: 2px; font-size: 13px; font-weight: 700; color: var(--t2w-gg-deep, #8C6C2A) }
/* S277: 화살표를 맨 오른쪽(margin-left:auto)에 두면 사진이 커진 뒤 오른쪽 빈칸에 홀로 떠 보였다 → 이름 옆에 붙인다 */
.t2w-tz__stop-go { margin-left: 6px; color: var(--color-text-muted, #6B7280); font-size: 20px }
/* 2026-10-11 GAP B14: 판매자가 적은 코스 — 시간 · 할 일 · 구분(가이드 동행/자유 시간…). 장소 카드와 같은 세로 선 문법 */
.t2w-tz__itin { list-style: none; margin: 0 0 6px; padding: 0; position: relative }
.t2w-tz__itin::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 16px; width: 2px;
    background: var(--t2w-hp-line, rgba(30, 58, 95, .12)) }
.t2w-tz__itin-step { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 0 0 16px 30px }
.t2w-tz__itin-step::before { content: ""; position: absolute; left: 1px; top: 6px; width: 14px; height: 14px; border-radius: 50%;
    background: var(--color-white, #fff); border: 3px solid var(--color-primary, #FFB700); box-sizing: border-box }
.t2w-tz__itin-step.is-free::before { border-color: var(--color-secondary, #1E3A5F) }
.t2w-tz__itin-step.is-move::before, .t2w-tz__itin-step.is-meal::before { border-color: var(--t2w-hp-line, rgba(30, 58, 95, .25)) }
.t2w-tz__itin-time { flex: 0 0 auto; min-width: 52px; font-size: 15px; font-weight: 900; color: var(--color-secondary, #1E3A5F);
    font-variant-numeric: tabular-nums }
.t2w-tz__itin-body { flex: 1 1 220px; min-width: 0 }
.t2w-tz__itin-title { font-size: 16px; font-weight: 800; letter-spacing: -.2px; color: var(--t2w-hp-ink, #241E1A) }
.t2w-tz__itin-kind { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; font-size: 13px; font-weight: 700;
    color: var(--t2w-gg-deep, #8C6C2A); background: var(--t2w-hp-paper-2, #FFF6E6); vertical-align: 1px }
.t2w-tz__itin-step.is-free .t2w-tz__itin-kind { color: var(--color-secondary, #1E3A5F); background: rgba(30, 58, 95, .07) }
.t2w-tz__itin-desc { margin: 4px 0 0; font-size: 15px; line-height: 1.65; color: var(--t2w-hp-ink-soft, #6B6157) }
.t2w-tz__itin-sub { margin: 18px 0 10px; font-size: 15px; font-weight: 800; color: var(--color-secondary, #1E3A5F) }

/* ── 포함 / 불포함 */
.t2w-tz__incl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px }
.t2w-tz__incl > div { padding: 16px 18px; border-radius: var(--t2w-hp-r-md, 16px);
    background: var(--t2w-hp-paper-2, #FFF6E6); border: 1px solid var(--t2w-hp-line-2, rgba(30, 58, 95, .08)) }
.t2w-tz__incl > .t2w-tz__incl-no { background: var(--color-bg-warm, #fffbeb) }
.t2w-tz__incl h3 { margin: 0 0 6px; font-size: 13px; font-weight: 800; letter-spacing: .04em; color: var(--color-text-muted, #6B7280) }
.t2w-tz__incl ul { list-style: none; margin: 0; padding: 0 }
.t2w-tz__incl li { display: flex; gap: 10px; padding: 8px 0; font-size: 15px; line-height: 1.6;
    color: var(--t2w-hp-ink, #241E1A); border-bottom: 1px solid rgba(30, 58, 95, .05) }
.t2w-tz__incl li:last-child { border-bottom: 0 }
.t2w-tz__incl li::before { content: "\2713"; font-weight: 900; color: var(--color-primary-dark, #E5A400) }
.t2w-tz__incl-no li::before { content: "\2715"; font-weight: 700; color: var(--color-text-muted, #6B7280) }
.t2w-tz__incl-no li { color: var(--t2w-hp-ink-soft, #6B6157) }

/* ── 예약 카드 */
.t2w-tz__book { padding: 26px 24px; border-radius: var(--t2w-hp-r-lg, 26px); background: var(--color-white, #fff);
    border: 1px solid var(--t2w-hp-line, rgba(30, 58, 95, .12));
    box-shadow: var(--t2w-hp-sh-md, 0 18px 42px rgba(70, 45, 10, .14)) }
.t2w-tz__price { display: flex; align-items: baseline; gap: 7px; font-family: var(--t2w-font-display, "Pretendard"), sans-serif }
.t2w-tz__price b { font-size: 40px; font-weight: 900; letter-spacing: -1px; color: var(--t2w-hp-ink, #241E1A);
    font-variant-numeric: tabular-nums }
.t2w-tz__price span { font-size: 15px; font-weight: 700; color: var(--color-text-muted, #6B7280) }
.t2w-tz__price-krw { margin-left: auto; font-size: 15px; font-weight: 700; color: var(--t2w-hp-ink-soft, #6B6157); font-variant-numeric: tabular-nums }
.t2w-tz__policy { margin: 12px 0 14px; font-size: 13px; line-height: 1.6; color: var(--color-text-muted, #6B7280) }
.t2w-tz__policy b { color: var(--color-secondary, #1E3A5F) }
/* S277 V30: 만나는 곳·취소 규정이 채워진 상품만 뜨는 줄 (빈 상품은 위 회피 문구 그대로) */
.t2w-tz__terms { list-style: none; margin: 12px 0 4px; padding: 12px 0 0;
    border-top: 1px dashed var(--t2w-hp-line, rgba(30, 58, 95, .12)) }
.t2w-tz__terms li { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 8px;
    font-size: 13px; line-height: 1.55; color: var(--t2w-hp-ink-soft, #6B6157) }
.t2w-tz__terms li:last-child { margin-bottom: 0 }
/* 2026-10-11 GAP B8: 만나는 곳 「지도 보기」 — 실제 장소를 적은 상품만 */
.t2w-tz__maplink { display: inline-flex; align-items: center; min-height: 34px; padding: 0 2px; font-weight: 800; color: var(--color-secondary, #1E3A5F); text-decoration: underline; text-underline-offset: 2px }
.t2w-tz__terms b { display: block; font-size: 13px; font-weight: 800; letter-spacing: .02em;
    color: var(--color-secondary, #1E3A5F) }
.t2w-tz__terms .material-symbols-outlined { flex: none; margin-top: 1px; font-size: 16px;
    color: var(--color-primary-dark, #E5A400) }
.t2w-tz__book .t2w-btn { display: flex; width: 100%; align-items: center; justify-content: center; gap: 8px;
    min-height: 52px; font-weight: 800; border-radius: 14px; transition: transform .15s ease, box-shadow .15s ease }
.t2w-tz__book .t2w-btn--primary { box-shadow: 0 10px 24px -10px rgba(229, 164, 0, .55) }
.t2w-tz__book .t2w-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -10px rgba(229, 164, 0, .6) }
.t2w-tz__book .t2w-btn:active { transform: translateY(0) scale(.99) }
.t2w-tz__book .t2w-btn + .t2w-btn { margin-top: 9px }
/* S352('가'): 예약 카드 안 날짜·인원 고르기 — 판매자가 켠 날짜만 열린다(마이리얼트립 방식) */
.t2w-tz__bkopt { margin: 12px 0 14px; padding: 12px 0 2px; border-top: 1px dashed var(--t2w-hp-line, rgba(30, 58, 95, .12)) }
.t2w-tz__bkopt.is-nudge { animation: t2w-bk-nudge .45s ease 2 }
@keyframes t2w-bk-nudge { 50% { transform: translateX(4px) } }
.t2w-tz__bkcal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px }
.t2w-tz__bkcal-head b { font-size: 15px; color: var(--color-secondary, #1E3A5F) }
.t2w-tz__bkcal-head button { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--t2w-hp-line, rgba(30, 58, 95, .12)); background: #fff; font-size: 16px; font-weight: 800; color: var(--color-secondary, #1E3A5F); cursor: pointer }
.t2w-tz__bkcal-head button:disabled { opacity: .3; cursor: default }
.t2w-tz__bkcal table { width: 100%; border-collapse: collapse; table-layout: fixed }
.t2w-tz__bkcal th { font-size: 12px; font-weight: 700; color: var(--color-text-muted, #6B7280); padding: 2px 0 }
.t2w-tz__bkcal td { padding: 1px; text-align: center }
.t2w-tz__bkcal td button { width: 100%; aspect-ratio: 1.15; border-radius: 8px; border: 1px solid transparent; background: none; font-size: 13px; font-weight: 700; color: #C9C2B8; font-family: inherit }
.t2w-tz__bkcal td button.is-open { background: var(--t2w-hp-paper-2, #FFF6E6); border-color: rgba(229, 164, 0, .45); color: var(--t2w-gg-deep, #8C6C2A); font-weight: 800; cursor: pointer }
.t2w-tz__bkcal td button.is-pick { background: var(--color-secondary, #1E3A5F); border-color: var(--color-secondary, #1E3A5F); color: #fff; font-weight: 900; cursor: pointer }
.t2w-tz__bkrow { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--t2w-hp-line, rgba(30, 58, 95, .12)) }
.t2w-tz__bklabel { font-size: 15px; font-weight: 800; color: var(--color-secondary, #1E3A5F) }
.t2w-tz__bklabel small { font-weight: 600; color: var(--t2w-hp-ink-soft, #6B6157); margin-left: 4px }
.t2w-tz__bkstep { display: flex; align-items: center; gap: 11px }
/* 터치 타깃 44px 계약 준수 */
.t2w-tz__bkstep button { width: 34px; height: 34px; min-width: 34px; border-radius: 50%; border: 1.5px solid rgba(30, 58, 95, .25); background: #fff; font-size: 18px; font-weight: 900; color: var(--color-secondary, #1E3A5F); cursor: pointer; font-family: inherit }
.t2w-tz__bkstep em { font-style: normal; font-weight: 900; font-size: 16px; min-width: 20px; text-align: center }
.t2w-tz__bkstate { margin: 10px 0 0; font-size: 13px; color: var(--t2w-hp-ink-soft, #6B6157) }
.t2w-tz__bkstate b { color: var(--t2w-hp-ink, #241E1A); font-size: 15px }
.t2w-tz__bkstate span { color: var(--t2w-hp-ink-soft, #6B6157) }
/* S358: 남은 자리 — 적게 남았을 때만 뜬다. 없는 상품은 아무 말도 하지 않는다. */
.t2w-tz__bkleft { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; font-style: normal;
    font-size: 13px; font-weight: 700; color: #A8410F; background: #FDF0E6; border: 1px solid #F3D7C2 }
/* 판매자 폼 — 스위치 한 줄 */
.t2w-vendor__check { display: flex; gap: 9px; align-items: flex-start; cursor: pointer; font-weight: 600 }
.t2w-vendor__check input { margin-top: 3px; width: 16px; height: 16px; flex: 0 0 auto }
.t2w-vendor__check em { display: block; margin-top: 3px; font-style: normal; font-weight: 400; font-size: 13px;
    line-height: 1.5; color: var(--t2w-hp-ink-soft, #6B6157) }
/* 날짜·인원이 아직 안 정해진 동안 예약 단추는 흐려진다(누르면 달력으로 안내) */
.t2w-btn--hold { opacity: .55; box-shadow: none !important }
.t2w-tz__planner { display: block; margin: 12px 0 0; text-align: center; font-size: 15px; font-weight: 700;
    color: var(--t2w-hp-ink-soft, #6B6157) }

/* ── S353 유의사항 · 취소환불 표 · 판매자 카드 (마이리얼트립 본뜨기 2차) */
.t2w-tz__notes { list-style: none; margin: 0; padding: 0 }
.t2w-tz__notes li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0;
    font-size: 15px; line-height: 1.65; color: var(--t2w-hp-ink, #241E1A);
    border-bottom: 1px solid rgba(30, 58, 95, .05) }
.t2w-tz__notes li:last-child { border-bottom: 0 }
.t2w-tz__notes .material-symbols-outlined { flex: none; margin-top: 3px; font-size: 18px;
    color: var(--color-primary-dark, #E5A400) }
/* 2026-10-11 GAP B9: 판매자가 정한 「꼭 확인」 — 공통 안내보다 위, 옅은 바탕으로 한 덩어리 */
.t2w-tz__notes-sub { margin: 0 0 6px; font-size: 15px; font-weight: 800; color: var(--color-secondary, #1E3A5F) }
.t2w-tz__notes--must { margin: 0 0 18px; padding: 4px 16px; border-radius: 14px; background: var(--color-bg-warm, #fffbeb);
    border: 1px solid rgba(229, 164, 0, .3) }
.t2w-tz__notes--must li { font-weight: 600 }
.t2w-tz__notes--must .material-symbols-outlined { color: #A8410F }
.t2w-tz__refund { border: 1px solid var(--t2w-hp-line, rgba(30, 58, 95, .12)); border-radius: 14px; overflow: hidden }
.t2w-tz__refund-row { display: flex; justify-content: space-between; align-items: center; padding: 13px 18px;
    font-size: 15px; color: var(--t2w-hp-ink, #241E1A) }
.t2w-tz__refund-row + .t2w-tz__refund-row { border-top: 1px solid rgba(30, 58, 95, .08) }
.t2w-tz__refund-row b.is-ok { color: #1B7A3D; font-weight: 800 }
.t2w-tz__refund-row b.is-part { color: #9A5B00; font-weight: 800 }
.t2w-tz__refund-row b.is-no { color: #B3261E; font-weight: 800 }
.t2w-tz__refund-row span { padding-right: 12px }
.t2w-tz__refund-note { margin: 10px 2px 0; font-size: 13px; color: var(--color-text-muted, #6B7280) }
.t2w-tz__partner { display: flex; align-items: center; gap: 16px; padding: 18px 20px;
    border: 1px solid var(--t2w-hp-line, rgba(30, 58, 95, .12)); border-radius: 16px; background: #fff }
.t2w-tz__partner-avatar { flex: none; width: 52px; height: 52px; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; font-size: 24px; font-weight: 900; color: #fff;
    background: var(--color-secondary, #1E3A5F) }
.t2w-tz__partner-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px }
.t2w-tz__partner-body > b { font-size: 15.5px; color: var(--t2w-hp-ink, #241E1A) }
.t2w-tz__partner-meta { display: flex; gap: 10px; font-size: 13px; font-weight: 700; color: var(--t2w-gg-deep, #8C6C2A) }
.t2w-tz__partner-badge { color: #1B7A3D }
.t2w-tz__partner-note { font-size: 13px; color: var(--t2w-hp-ink-soft, #6B6157) }
/* 2026-10-11 GAP B3: 업체 첫 답 가운데값 — 문의 3건 이상일 때만 그려진다 */
.t2w-tz__partner-speed { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 800; color: var(--color-secondary, #1E3A5F) }
.t2w-tz__partner-speed .material-symbols-outlined { font-size: 16px; color: var(--color-primary-dark, #E5A400) }
/* 2026-10-11 GAP B7: 운영자가 원본 서류를 확인한 업체만 — 한 줄 */
.t2w-tz__partner-docs { display: flex; align-items: flex-start; gap: 5px; margin-top: 4px; font-size: 13px; font-weight: 700; line-height: 1.5; color: #0F7A55 }
.t2w-tz__partner-docs .material-symbols-outlined { flex: none; font-size: 16px; margin-top: 1px }
/* 2026-10-11 GAP B7: 판매자 운영 공지 — 휴무·마감처럼 예약 전에 알아야 할 것 */
.t2w-tz__partner-notice { display: flex; align-items: flex-start; gap: 6px; margin: 8px 0 2px; padding: 8px 10px; border-radius: 8px; background: var(--color-bg-warm, #fffbeb); font-size: 14px; line-height: 1.55; color: var(--color-secondary, #1E3A5F); overflow-wrap: anywhere }
.t2w-tz__partner-notice .material-symbols-outlined { flex: none; font-size: 18px; margin-top: 1px; color: var(--color-primary-dark, #E5A400) }
.t2w-tz__partner-notice > span:last-child { min-width: 0 }
.t2w-tz__partner-notice small { font-size: 13px; color: #8a8178; white-space: nowrap }
.t2w-tz__partner-chat { flex: none; min-height: 44px; padding: 0 18px; border-radius: 12px; font-weight: 800 }
@media (max-width: 640px) {
    .t2w-tz__partner { flex-wrap: wrap }
    .t2w-tz__partner-chat { flex: 1 1 100% }
}

/* ── S356 코스 지도 (Leaflet + OSM, 화면에 들어올 때만 로드) */
.t2w-tz__map-wrap { margin: 0 0 18px; border: 1px solid var(--t2w-hp-line, rgba(30, 58, 95, .12));
    border-radius: 16px; overflow: hidden; background: #fff }
.t2w-tz__map { height: 300px; background: var(--t2w-hp-cream, #FAF6EF) }
.t2w-tz__map.is-loading { display: flex; align-items: center; justify-content: center }
.t2w-tz__map.is-loading::after { content: '지도를 불러오는 중…'; font-size: 15px;
    color: var(--color-text-muted, #6B7280) }
.t2w-tz__map-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 14px; border-top: 1px solid rgba(30, 58, 95, .08); flex-wrap: wrap }
.t2w-tz__map-note { font-size: 13px; color: var(--color-text-muted, #6B7280) }
.t2w-tz__map-go { font-size: 13px; font-weight: 800; color: var(--color-secondary, #1E3A5F);
    text-decoration: underline; text-underline-offset: 3px }
.t2w-tz__pin-b { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px;
    border-radius: 50%; background: var(--color-primary-dark, #E5A400); color: #fff; font-weight: 900;
    font-size: 15px; border: 2px solid #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, .28) }
.t2w-tz__stop-num.is-linked { cursor: pointer }
.t2w-tz__stop-num.is-linked:hover,
.t2w-tz__stop-num.is-linked:focus-visible { background: var(--color-primary-dark, #E5A400); color: #fff;
    outline: none }
@media (max-width: 640px) { .t2w-tz__map { height: 240px } }

/* ── S355 찜 하트 (장소·투어 공용 — 계정 저장) */
.t2w-wish { display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    border: 1px solid var(--t2w-hp-line, rgba(30, 58, 95, .18)); background: #fff; cursor: pointer;
    color: var(--t2w-hp-ink, #241E1A); border-radius: 999px; padding: 0 14px; min-height: 38px;
    font-size: 15px; font-weight: 700; line-height: 1; transition: color .15s, border-color .15s, background .15s }
.t2w-wish__ico { font-size: 21px; line-height: 1; color: inherit }
.t2w-wish:hover { border-color: rgba(214, 51, 84, .45); color: #D63354 }
.t2w-wish.is-on { color: #D63354; border-color: rgba(214, 51, 84, .45) }
.t2w-wish.is-on .t2w-wish__ico { font-variation-settings: 'FILL' 1 }

/* 상세 머리 줄 칩 */
.t2w-wish--chip { min-height: 34px; padding: 0 13px; font-size: 13px }

/* 목록 카드 우상단 */
.t2w-wish--card { position: absolute; top: 10px; right: 10px; z-index: 3; min-height: 36px; width: 36px;
    padding: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); border-color: rgba(0, 0, 0, .06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12) }
.t2w-wish--card .t2w-wish__ico { font-size: 22px }

/* 장소 상세: 사진 위 「유리」 단추 문법을 그대로 승계(흰 글씨·반투명) */
.t2w-wish--glass { width: 40px; height: 40px; min-height: 40px; padding: 0; border-radius: 12px;
    background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .2); color: #fff }
.t2w-wish--glass:hover { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .35); color: #fff }
.t2w-wish--glass.is-on { color: #FF6B81; border-color: rgba(255, 107, 129, .55); background: rgba(255, 107, 129, .16) }

.t2w-tx__card, .t2w-tx__mcard { position: relative }
.t2w-mypage__card--wish { position: relative }
.t2w-mypage__card--wish .t2w-mypage__card-link { display: block; color: inherit; text-decoration: none }

/* ── S354 투어 후기: 상세 섹션 + 주문 내역 쓰기 칸 */
.t2w-tz__rv-sum { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px;
    background: var(--t2w-hp-cream, #FAF6EF); margin-bottom: 14px }
.t2w-tz__rv-sum > b { font-size: 34px; font-weight: 900; color: var(--t2w-hp-ink, #241E1A); line-height: 1 }
.t2w-tz__rv-sum .t2w-tz__rv-stars { display: block; font-size: 16px }
.t2w-tz__rv-stars { color: var(--color-primary-dark, #E5A400); letter-spacing: 1px }
.t2w-tz__rv-total { font-size: 13px; color: var(--color-text-muted, #6B7280) }
.t2w-tz__rv-list { list-style: none; margin: 0; padding: 0 }
.t2w-tz__rv { padding: 16px 2px; border-bottom: 1px solid rgba(30, 58, 95, .07) }
.t2w-tz__rv:last-child { border-bottom: 0 }
.t2w-tz__rv-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px }
.t2w-tz__rv-head .t2w-tz__rv-stars { font-size: 15px }
.t2w-tz__rv-who { font-size: 15px; font-weight: 800; color: var(--t2w-hp-ink, #241E1A) }
.t2w-tz__rv-when { font-size: 13px; color: var(--color-text-muted, #6B7280) }
.t2w-tz__rv-body { margin: 0; font-size: 15px; line-height: 1.7; color: var(--t2w-hp-ink, #241E1A);
    word-break: keep-all }
.t2w-tz__rv-photos { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto }
.t2w-tz__rv-photos img { width: 88px; height: 88px; object-fit: cover; border-radius: 10px; display: block }
.t2w-tz__rv-more { width: 100%; margin-top: 12px; min-height: 46px; border-radius: 12px; font-weight: 800 }
.t2w-tz__rv-admin { margin-left: auto; border: 1px solid rgba(30, 58, 95, .25); background: #fff; border-radius: 8px;
    font-size: 13px; padding: 3px 10px; cursor: pointer; color: var(--t2w-hp-ink, #241E1A) }
.t2w-tz__rv-flag { font-size: 13px; font-weight: 800; color: #B3261E }
.t2w-tz__rv.is-hidden .t2w-tz__rv-body { opacity: .45 }

.t2w-orv { margin: 28px 0 8px }
.t2w-orv__title { font-size: 21px; font-weight: 900; margin: 0 0 12px }
.t2w-orv__item { border: 1px solid var(--t2w-hp-line, rgba(30, 58, 95, .12)); border-radius: 16px;
    padding: 18px 20px; background: #fff; margin-bottom: 14px }
.t2w-orv__product { margin: 0 0 8px; font-weight: 800; font-size: 16px; color: var(--t2w-hp-ink, #241E1A) }
.t2w-orv__q { margin: 0 0 6px; font-size: 15px; color: var(--t2w-hp-ink-soft, #6B6157) }
.t2w-orv__pick { display: flex; gap: 4px; margin-bottom: 10px }
.t2w-orv__pick button { border: 0; background: none; font-size: 34px; line-height: 1; padding: 2px;
    color: #C9C2B8; cursor: pointer }
.t2w-orv__pick button.is-on { color: var(--color-primary-dark, #E5A400) }
.t2w-orv__form textarea { width: 100%; border: 1px solid var(--t2w-hp-line, rgba(30, 58, 95, .18));
    border-radius: 12px; padding: 12px 14px; font-size: 15px; line-height: 1.6; resize: vertical }
.t2w-orv__file { display: block; margin: 10px 0; font-size: 15px; color: var(--t2w-hp-ink-soft, #6B6157) }
.t2w-orv__file input { display: block; margin-top: 6px; font-size: 15px }
.t2w-orv__state { min-height: 18px; margin: 0 0 8px; font-size: 15px; color: #B3261E }
.t2w-orv__submit { min-height: 46px; padding: 0 22px; border-radius: 12px; font-weight: 800 }
.t2w-orv__mine .t2w-tz__rv-stars,
.t2w-orv__stars { color: var(--color-primary-dark, #E5A400); font-size: 16px; letter-spacing: 1px }
.t2w-orv__mine p { margin: 8px 0; font-size: 15px; line-height: 1.7 }
.t2w-orv__photos { display: flex; gap: 8px; overflow-x: auto; margin-top: 6px }
.t2w-orv__photos img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; display: block }
.t2w-orv__done { margin: 8px 0 0; font-size: 15px; font-weight: 700; color: #1B7A3D }
.t2w-orv__wait { margin: 0; font-size: 15px; color: var(--color-text-muted, #6B7280) }

/* ── 비슷한 투어 */
.t2w-tz__sim { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 254px)); gap: 22px;
    justify-content: center }
.t2w-tz__sim-card { display: flex; flex-direction: column; gap: 8px; text-decoration: none }
.t2w-tz__sim-thumb { height: 152px; border-radius: 14px; overflow: hidden; background: var(--t2w-hp-ink, #241E1A) }
.t2w-tz__sim-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease }
.t2w-tz__sim-card:hover .t2w-tz__sim-thumb img { transform: scale(1.04) }
.t2w-tz__sim-title { margin: 0; font-size: 16px; font-weight: 800; letter-spacing: -.2px; color: var(--t2w-hp-ink, #241E1A) }
.t2w-tz__sim-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px;
    margin-top: auto; padding-top: 9px; border-top: 1px solid rgba(30, 58, 95, .07) }
.t2w-tz__sim-chips { display: flex; align-items: center; gap: 6px; min-width: 0 }
.t2w-tz__sim-chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px;
    border-radius: var(--t2w-hp-r-pill, 999px); background: var(--color-bg-warm, #fffbeb);
    font-size: 13px; font-weight: 700; color: var(--t2w-hp-ink-soft, #6B6157); white-space: nowrap }
.t2w-tz__sim-chip .material-symbols-outlined { font-size: 15px; color: var(--color-primary-dark, #E5A400) }
.t2w-tz__sim-chip--star { background: var(--color-tag-gold-bg, #FFF3D6); color: var(--color-tag-gold-text, #8A5A00) }
.t2w-tz__sim-price { display: flex; align-items: baseline; gap: 4px; font-variant-numeric: tabular-nums }
.t2w-tz__sim-price b { font-size: 16.5px; font-weight: 900; color: var(--t2w-hp-ink, #241E1A) }
.t2w-tz__sim-price span { font-size: 13px; font-weight: 700; color: var(--color-text-muted, #6B7280) }

/* ── 등장 모션: JS가 붙였을 때만 초기 숨김(html.t2w-tz-io) — JS 실패 시 그대로 보인다 */
html.t2w-tz-io .t2w-tz__sec, html.t2w-tz-io .t2w-tz__facts { opacity: 0; transform: translateY(14px);
    transition: opacity .5s ease, transform .5s ease }
html.t2w-tz-io .t2w-tz__sec.t2w-tz-in, html.t2w-tz-io .t2w-tz__facts.t2w-tz-in { opacity: 1; transform: none }
@media (prefers-reduced-motion: reduce) {
    html.t2w-tz-io .t2w-tz__sec, html.t2w-tz-io .t2w-tz__facts { opacity: 1; transform: none; transition: none }
}

/* ── 폰 (첫 화면 계약: 제목 → 사진 → 가격·CTA) */
@media (max-width: 1024px) {
    .t2w-tz { padding: 32px 0 170px }
    .t2w-tz__head h1 { font-size: 27px; letter-spacing: -.8px }
    .t2w-tz__sub { margin-bottom: 16px }
    .t2w-tz__ph { border-radius: var(--t2w-hp-r-md, 16px); margin-bottom: 20px }
    .t2w-tz__ph--3 { grid-template-columns: 1fr 1fr; grid-template-rows: 208px 110px }
    .t2w-tz__ph--3 .t2w-tz__ph-item:first-child { grid-row: auto; grid-column: span 2 }
    /* S353: 폰에선 5장도 1+2 — 나머지는 「사진 N장」 셈으로만 알린다 */
    .t2w-tz__ph--5, .t2w-tz__ph--4 { grid-template-columns: 1fr 1fr; grid-template-rows: 208px 110px }
    .t2w-tz__ph--5 .t2w-tz__ph-item:first-child, .t2w-tz__ph--4 .t2w-tz__ph-item:first-child { grid-row: auto; grid-column: span 2 }
    .t2w-tz__ph--5 .t2w-tz__ph-item:nth-child(n+4), .t2w-tz__ph--4 .t2w-tz__ph-item:nth-child(n+4) { display: none }
    /* S277: 좁은 칸에서 「가는 곳 · 장소명」이 잘리던 것 → 두 줄 허용(라벨은 정직 조건이라 생략 불가) */
    .t2w-tz__ph-tag { left: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 5px 9px;
        white-space: normal; line-height: 1.3; font-size: 13px; align-items: flex-start }
    .t2w-tz__ph-tag .material-symbols-outlined { font-size: 15px; margin-top: 1px }
    .t2w-tz__ph--2 { grid-template-rows: 240px }
    .t2w-tz__ph--1 { grid-template-rows: 240px }
    .t2w-tz__ph--0 { height: 220px }
    .t2w-tz__cols { display: flex; flex-direction: column; gap: 0; align-items: stretch } /* S401: PC 규칙 align-items:start 가 남아 폰에서 본문 열이 내용 폭(637px)으로 넓어지던 것 */
    .t2w-tz__main, .t2w-tz__aside { width: 100%; min-width: 0 }
    .t2w-tz__aside { order: -1; position: static; margin-bottom: 26px }
    .t2w-tz__facts { grid-template-columns: 1fr 1fr; margin-bottom: 30px }
    .t2w-tz__fact { padding: 13px 6px }
    /* 항목이 홀수면 마지막 칸을 전체 폭으로 — 빈 회색 칸 결함 수리 */
    .t2w-tz__fact:last-child:nth-child(odd) { grid-column: 1 / -1 }
    .t2w-tz__sec { margin-bottom: 36px }
    /* S277 코스 사진: 폰은 116x84 (2열 폭 아니라 한 줄 카드라 글자 자리 확보가 관건) */
    .t2w-tz__stop { padding-left: 46px }
    .t2w-tz__stop-card { gap: 12px; padding: 8px }
    .t2w-tz__stop-thumb { flex: 0 0 116px; width: 116px; height: 84px; border-radius: 11px }
    .t2w-tz__stop-name { font-size: 16px }
    .t2w-tz__incl { grid-template-columns: 1fr; gap: 12px }
    .t2w-tz__incl > div { padding: 14px 16px }
    .t2w-tz__sim { grid-template-columns: minmax(0, 340px) }
}


/* S282 판매자 상품 탭 — 검토 흐름 안내 한 줄 */
.t2w-vendor__hint {
    margin: 4px 0 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--t2w-text-muted, #6b7280);
}

/* ===== S360: 마이페이지 문의 칸 + 계정 설정 연결 ====================== */
.t2w-mypage__msgs { margin-top: 26px }
.t2w-mypage__msgs-title { font-size: 18px; margin: 0 0 12px }
.t2w-mypage__msglist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px }
.t2w-mypage__msgitem a { display: block; padding: 14px 16px; border: 1px solid #e9e4dd; border-radius: 12px; background: #fff; text-decoration: none; color: inherit }
.t2w-mypage__msgitem a:hover { border-color: #d9d2c8 }
.t2w-mypage__msghead { display: flex; align-items: center; gap: 8px }
.t2w-mypage__msgnew { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #DC2626; color: #fff; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center }
.t2w-mypage__msgmeta { margin-top: 4px; font-size: 13px; color: #8a8178 }
/* 2026-10-12: 차량 견적 한 줄 — 답은 차량 화면 「내 요청」에 있다. 문의 목록 카드와 같은 모양. */
.t2w-mypage__quotes { display: flex; align-items: center; gap: 10px; margin-top: 26px; padding: 14px 16px; border: 1px solid #e9e4dd; border-radius: 12px; background: #fff; text-decoration: none; color: inherit }
.t2w-mypage__quotes:hover { border-color: #d9d2c8 }
.t2w-mypage__quotes .material-symbols-outlined { flex: 0 0 auto; font-size: 22px; color: var(--color-secondary-dark) }
.t2w-mypage__quotes-text { flex: 1 1 auto; min-width: 0; font-size: 15px; line-height: 1.5; color: #4B5563 }
.t2w-mypage__quotes-text b { display: block; color: var(--color-text-primary) }
/* 2026-10-11: 문의 상태 칩 — 손님(마이페이지)·판매자(업체 화면) 같은 모양. 마지막에 누가 말했나로 정해진다. */
.t2w-msgstate { display: inline-flex; align-items: center; flex: 0 0 auto; padding: 2px 8px; border-radius: 999px; background: #F3F4F6; color: #4B5563; font-size: 13px; font-style: normal; font-weight: 800; line-height: 1.5; white-space: nowrap }
.t2w-msgstate--new { background: #FEE2E2; color: #B91C1C }
.t2w-msgstate--todo { background: var(--color-tag-gold-bg); color: #8A5A00 }
.t2w-msgstate--wait { background: #EFF6FF; color: #1D4ED8 }
.t2w-vendor__message-thread .t2w-msgstate { margin-top: 4px }
/* 2026-10-11: 「답 오면 알림 받기」 — 받을 수 있는 기기에서만 스크립트가 보인다. */
.t2w-push { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 10px 0 }
.t2w-push[hidden], .t2w-push__btn[hidden] { display: none }
.t2w-push__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 1px solid var(--color-primary); border-radius: 999px; background: var(--color-tag-gold-bg); color: var(--color-secondary-dark); font: inherit; font-size: 15px; font-weight: 800; cursor: pointer }
.t2w-push__btn .material-symbols-outlined { font-size: 20px }
.t2w-push__note { color: #4B5563; font-size: 13px; line-height: 1.5 }
.t2w-push__note:empty { display: none }
.t2w-mypage__msglast { margin: 6px 0 0; font-size: 15px; color: #6B6157 }
.t2w-profile__more { margin-top: 24px; padding-top: 18px; border-top: 1px solid #e9e4dd }
.t2w-profile__more h3 { font-size: 16px; margin: 0 0 10px }
.t2w-profile__morelinks { display: flex; flex-wrap: wrap; gap: 10px }
.t2w-profile__morelinks a { padding: 8px 14px; border: 1px solid #e9e4dd; border-radius: 999px; font-size: 15px; text-decoration: none; color: #6B6157; background: #fff }
.t2w-profile__morelinks a:hover { border-color: #d9d2c8 }
.t2w-acct-back { margin: 0 0 16px }
.t2w-acct-back__link { display: inline-block; padding: 9px 15px; border-radius: 999px; background: #FDF7EC; border: 1px solid #F0E2CB; color: #6B6157; text-decoration: none; font-size: 15px; font-weight: 600 }
.t2w-acct-back__link:hover { background: #F9EFDD }

/* ===== S360: 코스별 머무는 시간 (값이 있을 때만 뜬다) ================= */
.t2w-tz__stop-dur { display: inline-flex; align-items: center; gap: 3px; margin-top: 3px; font-size: 13px; color: #8a8178 }
.t2w-tz__stop-dur .material-symbols-outlined { font-size: 15px }

/* S360: 넓은 화면의 하단 줄에서는 값 표시가 필요 없다(위 예약 상자에 이미 있다). */
@media (min-width: 769px) {
    .t2w-tour-detail__ctaprice { display: none }
}

/* ============================================================
   Transport — 시드니 공항픽업·차량 서비스 안내·견적 (S398 조각 1)
   /australia/transport/ · template-transport.php
   옷 = 가이드 페이지 계열(웜 크림 히어로 + 흰 카드 + 골드 CTA)
   ============================================================ */
.container:has(> .t2w-tp-page){max-width:none;padding-left:0;padding-right:0} /* 캔버스 해제 (css-standards §컨테이너 — 여백 겹침 방지) */
.t2w-tp-page{max-width:var(--t2w-wrap-max,1200px);margin:0 auto;padding:16px var(--t2w-wrap-pad,32px) 80px;word-break:keep-all;overflow-wrap:break-word} /* keep-all = 한글 낱말 중간 끊김 방지 (휴대폰 실측: 「서 비스」) */
.t2w-tp-hero{text-align:center;margin-bottom:36px;padding:40px 24px 32px;background:var(--color-bg-cream);border-radius:20px}
.t2w-tp-hero h1{font-size:32px;font-weight:800;color:#111827;margin:0 0 8px}
.t2w-tp-hero h1 em{font-style:normal;color:var(--color-primary,#FFB700)}
.t2w-tp-hero p{font-size:16px;color:#6B7280;margin:0;line-height:1.6}
.t2w-tp-facts{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 18px;margin-top:16px}
.t2w-tp-facts span{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;background:#fff;border-radius:999px;font-size:15px;font-weight:600;color:#92400E;box-shadow:0 1px 4px rgba(0,0,0,.05)}
.t2w-tp-facts .material-symbols-outlined{font-size:18px;color:var(--color-primary,#FFB700)}
.t2w-tp-sec{margin-bottom:36px}
.t2w-tp-sec h2{font-size:22px;font-weight:800;color:#111827;margin:0 0 16px}
.t2w-tp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}
.t2w-tp-card{background:#fff;border:1px solid #F0EAD8;border-radius:16px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 2px 10px rgba(20,30,50,.05)}
.t2w-tp-card__ph{position:relative;aspect-ratio:16/9;background:linear-gradient(150deg,#ffffff,#FFEFD6)}
.t2w-tp-card__ph img{width:100%;height:100%;object-fit:cover;display:block}
.t2w-tp-card__fb{position:absolute;inset:0;display:none;align-items:center;justify-content:center}
.t2w-tp-card__fb .material-symbols-outlined{font-size:40px;color:#D9C79A}
.t2w-tp-card__ph.is-noimg .t2w-tp-card__fb,.t2w-tp-card__ph:not(:has(img)) .t2w-tp-card__fb{display:flex}
.t2w-tp-card__bd{display:flex;flex-direction:column;gap:8px;padding:14px 16px 16px;flex:1}
.t2w-tp-card__bd h3{font-size:16px;font-weight:800;color:#111827;margin:0}
.t2w-tp-card__bd>p{font-size:15px;color:#6B7280;margin:0;line-height:1.55}
.t2w-tp-card__specs{display:flex;flex-wrap:wrap;gap:6px}
.t2w-tp-card__specs span{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;border:1px solid #F0EAD8;border-radius:999px;font-size:13px;font-weight:700;color:#6B6157;background:#FDFBF5}
.t2w-tp-card__specs .material-symbols-outlined{font-size:15px;color:#B08900}
.t2w-tp-card__foot{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin-top:auto;padding-top:10px;border-top:1px solid #F5F0E2}
.t2w-tp-card__quote{display:flex;flex-direction:column;font-size:16px;font-weight:800;color:#152A47}
.t2w-tp-card__quote small{font-size:13px;font-weight:600;color:#9CA3AF;margin-top:2px}
.t2w-tp-cta{display:inline-flex;align-items:center;gap:6px;border:0;cursor:pointer;padding:0 14px;min-height:36px;border-radius:10px;background:linear-gradient(120deg,var(--color-primary-lighter,#FFD966),var(--color-primary,#FFB700));color:var(--color-secondary-dark,#152A47);font-size:15px;font-weight:800}
.t2w-tp-cta svg{width:15px;height:15px}
.t2w-tp-cta:hover{filter:brightness(1.04)}
.t2w-tp-steps{list-style:none;counter-reset:t2wtp;display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:0;padding:0}
.t2w-tp-steps li{counter-increment:t2wtp;background:#fff;border:1px solid #F0EAD8;border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:6px}
.t2w-tp-steps li::before{content:counter(t2wtp);width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:var(--color-primary,#FFB700);color:#fff;font-size:15px;font-weight:800}
.t2w-tp-steps b{font-size:16px;color:#111827}
.t2w-tp-steps span{font-size:15px;color:#6B7280;line-height:1.55}
.t2w-tp-cols{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.t2w-tp-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.t2w-tp-list li{display:flex;align-items:flex-start;gap:10px;background:#fff;border:1px solid #F0EAD8;border-radius:12px;padding:12px 14px;font-size:15px;color:#374151;line-height:1.55}
.t2w-tp-list .material-symbols-outlined{font-size:21px;color:var(--color-primary,#FFB700);flex:none;margin-top:1px}
.t2w-tp-band{text-align:center;margin-top:8px;padding:32px 24px;background:var(--color-bg-cream);border-radius:20px}
.t2w-tp-band p{font-size:16px;font-weight:600;color:#152A47;margin:0 0 14px}
.t2w-tp-cta--big{min-height:46px;padding:0 22px;font-size:16px;box-shadow:0 8px 18px rgba(255,150,0,.28)}
.t2w-tp-cta--big .material-symbols-outlined{font-size:21px}
@media (max-width:768px){
  .t2w-tp-page{padding:10px 16px 64px}
  .t2w-tp-hero{padding:28px 16px 24px}
  .t2w-tp-hero h1{font-size:24px}
  .t2w-tp-steps{grid-template-columns:1fr}
  .t2w-tp-cols{grid-template-columns:1fr;gap:0}
}

/* S398 조각 2 — 견적 요청서 + 내 요청·받은 제안 */
a.t2w-tp-cta{text-decoration:none}
.t2w-tp-quote-sec{background:#fff;border:1px solid #F0EAD8;border-radius:20px;padding:24px;scroll-margin-top:90px}
.t2w-tp-login{display:flex;flex-direction:column;align-items:center;gap:10px;padding:24px;text-align:center}
.t2w-tp-login .material-symbols-outlined{font-size:36px;color:#D9C79A}
.t2w-tp-login p{margin:0;font-size:15px;color:#374151}
.t2w-tp-form__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.t2w-tp-form label{display:flex;flex-direction:column;gap:5px;font-size:13px;font-weight:700;color:#6B6157}
.t2w-tp-form label small{font-weight:600;color:#9CA3AF}
.t2w-tp-form input,.t2w-tp-form select,.t2w-tp-form textarea{border:1px solid #E5DFC9;border-radius:10px;padding:9px 11px;font-size:15px;color:#111827;background:#FDFBF5;min-height:42px;font-family:inherit}
.t2w-tp-form input:focus,.t2w-tp-form select:focus,.t2w-tp-form textarea:focus{outline:2px solid var(--color-primary,#FFB700);outline-offset:0;border-color:transparent}
.t2w-tp-form__memo{margin-top:12px}
.t2w-tp-form textarea{min-height:70px;resize:vertical}
.t2w-tp-form__hint{margin:12px 0;font-size:13px;color:#92400E;background:#FFFBEB;border-radius:10px;padding:10px 12px}
.t2w-tp-form__msg{margin:12px 0 0;font-size:15px;font-weight:700;border-radius:10px;padding:11px 13px}
.t2w-tp-form__msg.is-ok{color:#166534;background:#F0FDF4}
.t2w-tp-form__msg.is-err{color:#B91C1C;background:#FEF2F2}
.t2w-tp-mine{display:flex;flex-direction:column;gap:12px}
.t2w-tp-mine__empty{font-size:15px;color:#9CA3AF;background:#fff;border:1px dashed #E5DFC9;border-radius:12px;padding:16px;text-align:center}
.t2w-tp-req{background:#fff;border:1px solid #F0EAD8;border-radius:14px;padding:14px 16px}
.t2w-tp-req__head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.t2w-tp-req__head b{font-size:16px;color:#111827}
.t2w-tp-req__head small{font-weight:600;color:#9CA3AF}
.t2w-tp-req__st{font-size:13px;font-weight:800;color:#6B7280;background:#fffbeb;border-radius:999px;padding:4px 10px;white-space:nowrap}
.t2w-tp-req__st.is-hot{color:#92400E;background:#FEF3C7}
.t2w-tp-req__meta{margin:6px 0 0;font-size:15px;color:#6B7280}
.t2w-tp-req__offers{display:flex;flex-direction:column;gap:8px;margin-top:10px}
.t2w-tp-offer{border:1px solid #FDE68A;background:#FFFBEB;border-radius:12px;padding:11px 13px;font-size:15px;color:#374151}
.t2w-tp-offer b{color:#111827}
.t2w-tp-offer__v{font-size:13px;font-weight:800;color:#166534;background:#F0FDF4;border-radius:999px;padding:2px 7px;margin-left:4px}
.t2w-tp-offer__price{float:right;font-size:16px;font-weight:800;color:#152A47}
.t2w-tp-offer__track{list-style:none;display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 0;padding:0}
.t2w-tp-offer__track li{font-size:13px;font-weight:700;color:#1E3A5F;background:#EFF6FF;border:1px solid #DBEAFE;border-radius:999px;padding:3px 9px}
.t2w-tp-offer__track li span{font-weight:600;color:#64748B;margin-right:4px}
.t2w-tp-track__lead{margin:0 0 10px;font-size:15px;color:#6B7280}
.t2w-tp-track{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.t2w-tp-track__vendor{border:1px solid #E5E7EB;border-radius:12px;padding:12px 14px;background:#fff}
.t2w-tp-track__vendor b{display:block;font-size:15px;color:#111827}
.t2w-tp-offer small{display:block;color:#92400E;margin-top:2px}
.t2w-tp-offer p{margin:6px 0 0;white-space:pre-line}
.t2w-tp-req__st.is-ok{color:#166534;background:#DCFCE7}
.t2w-tp-offer.is-accepted{border-color:#86EFAC;background:#F0FDF4}
.t2w-tp-offer.is-declined{opacity:.6}
.t2w-tp-offer__st{font-size:13px;font-weight:800;color:#1E3A8A;background:#DBEAFE;border-radius:999px;padding:2px 7px;margin-left:4px}
.t2w-tp-offer.is-accepted .t2w-tp-offer__st{color:#166534;background:#DCFCE7}
.t2w-tp-offer__next{color:#166534;margin-top:6px}
.t2w-tp-offer__spec{display:grid;grid-template-columns:auto 1fr;gap:4px 10px;margin:8px 0 0;font-size:15px}
.t2w-tp-offer__spec dt{color:#6B7280;font-weight:700;white-space:nowrap}
.t2w-tp-offer__spec dd{margin:0;color:#111827;white-space:pre-line}
.t2w-vendor__quote-std{display:grid;gap:10px;padding:12px;border:1px dashed #FDE68A;border-radius:10px;background:#FFFBEB}
.t2w-vendor__quote-std > b{font-size:15px;color:#92400E}
.t2w-vendor__quote-std small{display:block;color:#6B7280;font-weight:500;font-size:13px}
.t2w-vendor__vehicle-types{margin-top:8px;padding:10px 12px;border:1px dashed #e5e7eb;border-radius:10px}
.t2w-vendor__vehicle-types > span{display:block;font-size:13px;color:#6B7280;margin-bottom:6px}
.t2w-tp-offer__act{display:flex;align-items:center;gap:12px;margin-top:10px;flex-wrap:wrap}
.t2w-tp-offer__act .t2w-tp-cta{min-height:40px}
.t2w-tp-offer__act .t2w-tp-chatlink{margin:0}
.t2w-tp-offer__alert{flex-basis:100%;font-size:13px;color:#B91C1C}
.t2w-tp-offer__alert:empty{display:none}
.t2w-tp-thread{margin-top:10px;border-top:1px dashed #FDE68A;padding-top:10px}
.t2w-tp-thread__list{display:flex;flex-direction:column;gap:6px;max-height:260px;overflow:auto}
.t2w-tp-msg{background:#fff;border:1px solid #F0EAD8;border-radius:10px;padding:8px 10px;max-width:88%;align-self:flex-start}
.t2w-tp-msg.is-mine{align-self:flex-end;background:#EFF6FF;border-color:#BFDBFE}
.t2w-tp-msg small{color:#9CA3AF;font-size:13px}
.t2w-tp-msg p{margin:2px 0 0;white-space:pre-line}
.t2w-tp-thread__form{display:flex;gap:8px;margin-top:8px;align-items:flex-end}
.t2w-tp-thread__form textarea{flex:1;border:1px solid #E5DFC9;border-radius:10px;padding:8px 10px;font:inherit;font-size:15px;resize:vertical}
.t2w-tp-thread__note{margin:6px 0 0;font-size:13px;color:#6B7280;min-height:1em}
.t2w-tp-chatlink{display:block;margin:12px auto 0;border:0;background:none;cursor:pointer;font-size:15px;font-weight:700;color:#6B6157;text-decoration:underline}
@media (max-width:768px){
  .t2w-tp-form__grid{grid-template-columns:1fr 1fr}
  .t2w-tp-quote-sec{padding:16px}
  .t2w-tp-cta{min-height:44px} /* 터치 표준 (responsive-design) */
  .t2w-tp-form input,.t2w-tp-form select,.t2w-tp-form textarea{min-height:44px}
}

/* S400 인원별 가격표 — 판매자 폼 */
.t2w-vendor__tiers{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:8px;margin-top:6px}
.t2w-vendor__tier{display:flex;align-items:center;gap:6px;font-size:15px;color:#374151}
.t2w-vendor__tier span{min-width:36px;font-weight:700}
.t2w-vendor__tier input{flex:1;min-width:0}
.t2w-vendor__tier em{font-style:normal;color:#9CA3AF;font-size:13px}
/* S400 손님 상세 — 인원 선택 */
.t2w-tz__tiers{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:10px 0 4px;font-size:15px;color:#374151}
.t2w-tz__tiers label{display:flex;align-items:center;gap:6px;font-weight:700}
.t2w-tz__tiers select{padding:6px 8px;border:1px solid #E5E7EB;border-radius:8px;font:inherit}
.t2w-tz__tiers-out b{color:#152A47}
.t2w-tz__tiers small{flex-basis:100%;color:#6B7280}

/* ── S401: 상세 고정 탭 · 자주 묻는 질문 · 즉시 확정 (마이리얼트립 뼈대 맞춤) ── */
.t2w-tz__main { min-width: 0 } /* S401: 탭(가로 스크롤)이 폰에서 본문 열을 넓히지 않게 */
.t2w-tz__tabs { position: relative; z-index: 20; display: flex; max-width: 100%; gap: 4px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 0 20px; padding: 8px 0; background: var(--t2w-bg, #fff); border-bottom: 1px solid var(--t2w-line, #e5e7eb) }
.t2w-tz__tabs::-webkit-scrollbar { display: none }
.t2w-tz__tabs[hidden] { display: none } /* 구역이 셋 미만이면 띠 자체가 없다(코덱스 P) */
.t2w-tz__tabs a { flex: 0 0 auto; display: flex; align-items: center; padding: 0 12px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--t2w-ink-2, #4b5563); text-decoration: none; white-space: nowrap; min-height: 44px; line-height: 20px } /* 터치 44px */
.t2w-tz__sec[id] { scroll-margin-top: 132px } /* 머리띠 65 + 탭 53 + 여유 */
.t2w-tz__tabs a.is-on { background: var(--t2w-ink, #111827); color: #fff }
.t2w-tz__faq-item { border-bottom: 1px solid var(--t2w-line, #e5e7eb) }
.t2w-tz__faq-item summary { cursor: pointer; padding: 14px 0; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 12px; min-height: 44px; align-items: center }
.t2w-tz__faq-item summary::-webkit-details-marker { display: none }
.t2w-tz__faq-item summary::after { content: '+'; font-size: 22px; color: var(--t2w-ink-3, #9ca3af); flex: 0 0 auto }
.t2w-tz__faq-item[open] summary::after { content: '−' }
.t2w-tz__faq-item p { margin: 0 0 16px; font-size: 15px; line-height: 1.7; color: var(--t2w-ink-2, #4b5563) }
.t2w-tz__instant { display: inline-flex; align-items: center; gap: 4px; margin: 0 0 8px; padding: 4px 10px; border-radius: 999px; background: #ecfdf5; color: #047857; font-size: 13px; font-weight: 700 }
.t2w-tz__instant .material-symbols-outlined { font-size: 16px }
.t2w-tz__tabs.is-fixed { position: fixed; margin: 0; padding: 8px 16px; box-shadow: 0 6px 16px rgba(0,0,0,.06) } /* 조상(.site-container) overflow:hidden 탓에 sticky 가 안 먹어 스크립트가 고정 */
.t2w-tz__tabs-spacer { display: none } .t2w-tz__tabs-spacer.is-on { display: block }

/* ── S401: 프라이빗 인원 안내 · 옵션 +/- 수량 ── */
.t2w-tz__bkhint { margin: 10px 0 0; font-size: 15px; color: var(--t2w-ink-2, #4b5563) }
.t2w-tz__bkaddrow { display: flex; align-items: center; gap: 10px }
.t2w-tz__bkaddrow .t2w-tz__bkaddname { flex: 1 1 auto; min-width: 0 }
.t2w-tz__bkaddrow .t2w-tz__bkstep { flex: 0 0 auto; margin-left: 4px }
.t2w-tz__bkaddrow .t2w-tz__bkstep button { min-width: 44px; min-height: 44px } /* 터치 44px(코덱스 Q LOW) */
/* S402: 판매자 예약 확정 단추 · 확정 대기 안내 띠 */
/* 부모 테마의 button[type=submit] 보다 세게 — 확정은 상태 표시(#059669)와 같은 색으로 읽혀야 한다 */
.t2w-vendor__table .t2w-vendor__btn--go { border-color: #059669; background: #059669; color: #fff; font-weight: 700 }
.t2w-vendor__table .t2w-vendor__btn--go:hover { background: #047857; border-color: #047857; color: #fff }
.t2w-vendor__notice--warn { background: #fef3c7; border-color: #fcd34d; color: #92400e }
/* S402: 사진 크게 보기 */
.t2w-tz__ph-btn { position: relative; display: block; width: 100%; height: 100%; cursor: zoom-in }
.t2w-tz__ph-btn [data-tour-photo-empty] { position: absolute; inset: 0; align-items: center; justify-content: center; background: #eef2f6; color: #53647a; font-size: 15px }
.t2w-tz__ph-btn:focus-visible { outline: 3px solid #FFB700; outline-offset: -3px }
a.t2w-tz__ph-count { cursor: zoom-in; text-decoration: none }
.t2w-zoom { position: fixed; inset: 0; z-index: 100000; background: rgba(12, 12, 12, .975);
    display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px }
.t2w-zoom[hidden] { display: none }
.t2w-zoom__stage { margin: 0; max-width: min(1200px, 94vw); max-height: 92vh; display: flex;
    flex-direction: column; align-items: center; gap: 10px }
.t2w-zoom__stage img { max-width: 100%; max-height: 84vh; object-fit: contain; display: block;
    border-radius: 8px; background: #222 }
.t2w-zoom__cap { color: #fff; font-size: 15px; letter-spacing: .02em; opacity: .9 }
.t2w-zoom__x { position: absolute; top: 14px; right: 16px; width: 44px; height: 44px; border: 0;
    border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 30px; line-height: 1;
    cursor: pointer }
.t2w-zoom__x:hover { background: rgba(255, 255, 255, .26) }
.t2w-zoom__nav { flex: 0 0 auto; width: 48px; height: 48px; border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .14); color: #fff; font-size: 34px; line-height: 1; cursor: pointer }
.t2w-zoom__nav:hover { background: rgba(255, 255, 255, .26) }
.t2w-zoom__nav[hidden] { visibility: hidden; display: block }
.t2w-zoom__x:focus-visible, .t2w-zoom__nav:focus-visible { outline: 3px solid #FFB700; outline-offset: 2px }
@media (max-width: 640px) {
    .t2w-zoom { padding: 8px }
    .t2w-zoom__nav { position: absolute; bottom: 18px; width: 52px; height: 52px }
    .t2w-zoom__nav--prev { left: 18px }
    .t2w-zoom__nav--next { right: 18px }
    .t2w-zoom__stage img { max-height: 74vh }
}

/* ── S403(마스터 「남은 후보 3종」): 폰 사진 넘겨 보기 · 긴 글 접기 · 후기 거르기 */
.t2w-tz__ph-track { display: contents }
.t2w-tz__ph-n { display: none }

[data-t2w-fold].is-fold { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden }
.t2w-tz__fold-more { margin: 12px 0 0; padding: 8px 15px; border: 1px solid #ddd6cd; border-radius: 999px;
    background: #fff; font-size: 15px; font-weight: 700; color: var(--t2w-hp-ink, #241E1A); cursor: pointer }
.t2w-tz__fold-more:hover { background: #faf7f3 }

.t2w-tz__rv-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px }
.t2w-tz__rv-chip { padding: 7px 13px; border: 1px solid #ddd6cd; border-radius: 999px; background: #fff;
    font-size: 15px; font-weight: 700; line-height: 1.2; color: var(--t2w-hp-ink, #241E1A); cursor: pointer }
.t2w-tz__rv-chip:hover { background: #faf7f3 }
.t2w-tz__rv-chip.is-on { background: var(--t2w-hp-ink, #241E1A); border-color: var(--t2w-hp-ink, #241E1A); color: #fff }

@media (max-width: 1024px) {
    /* 폰: 격자 대신 한 장씩 — 손가락으로 좌우로 넘긴다 */
    .t2w-tz__ph { display: block; height: 240px }
    .t2w-tz__ph-track { display: flex; gap: 0; height: 100%; overflow-x: auto; overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none }
    .t2w-tz__ph-track::-webkit-scrollbar { display: none }
    .t2w-tz__ph-item { flex: 0 0 100%; height: 100%; scroll-snap-align: center }
    /* 폰에서 감춰 두던 4번째부터를 되살린다 — 이제 넘겨서 다 볼 수 있다 */
    .t2w-tz__ph--5 .t2w-tz__ph-item:nth-child(n+4), .t2w-tz__ph--4 .t2w-tz__ph-item:nth-child(n+4) { display: block }
    /* 사진 없는 판은 종전 그대로 */
    .t2w-tz__ph--0 { display: flex; height: 220px }
    /* 오른쪽 아래 알약은 「3 / 5」 셈으로 바뀐다 */
    .t2w-tz__ph-count .material-symbols-outlined, .t2w-tz__ph-lab { display: none }
    .t2w-tz__ph-n { display: inline }
}

/* S403 ①②: display 를 정한 요소는 hidden 속성이 안 먹는다(작성자 규칙이 브라우저 기본을 이긴다 — S273 과 같은 결함).
   「더 보기」는 .t2w-btn(inline-flex), 거르기 칸은 flex 라서 둘 다 여기서 다시 눌러 준다. */
.t2w-tz__rv-more[hidden], .t2w-tz__rv-filter[hidden], .t2w-tz__rv-chip[hidden] { display: none }
/* S403 ③: 거르고 나면 화면상 마지막 줄이 DOM 마지막과 다르다 — 밑줄을 옮긴다 */
.t2w-tz__rv.is-last { border-bottom: 0 }

/* ============================================================
   S408 차량 재편 — 이동 모양 선택 · 상황 칩 · 공급 안내문 · 판매자 차량 목록
   (/australia/transport/ 요청서 + 판매자 대시보드 설정) · !important 0
   ============================================================ */
.t2w-tp-sits{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px}
.t2w-tp-sits__lead{flex:1 0 100%;font-size:15px;font-weight:600;color:#6B7280}
.t2w-tp-sit{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 14px;border:1px solid #F0EAD8;border-radius:999px;background:#fff;font-size:15px;font-weight:700;color:#152A47;text-decoration:none}
.t2w-tp-sit .material-symbols-outlined{font-size:20px;color:#B08900}
.t2w-tp-sit:hover{border-color:var(--color-primary,#FFB700);background:#FFFBEB}
.t2w-tp-notice{display:flex;gap:8px;align-items:flex-start;margin:0 0 14px;padding:12px 14px;border-radius:12px;background:#FFFBEB;border:1px solid #F5E6B3;font-size:15px;color:#92400E;line-height:1.5}
.t2w-tp-notice .material-symbols-outlined{font-size:21px;flex:none}
.t2w-tp-shape{border:0;margin:0 0 12px;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.t2w-tp-shape legend{font-size:13px;font-weight:700;color:#6B6157;margin-bottom:6px;width:100%}
.t2w-tp-form label.t2w-tp-shape__opt{position:relative;flex:1 1 150px;display:block}
.t2w-tp-shape__opt input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.t2w-tp-shape__opt span{display:flex;align-items:center;justify-content:center;min-height:44px;padding:0 12px;border:1px solid #E5DFC9;border-radius:10px;background:#FDFBF5;font-size:15px;font-weight:700;color:#374151}
.t2w-tp-shape__opt input:checked+span{border-color:var(--color-primary,#FFB700);background:#FFF3C4;color:#152A47}
.t2w-tp-shape__opt input:focus-visible+span{outline:2px solid var(--color-primary,#FFB700);outline-offset:1px}
.t2w-tp-form label[hidden],.t2w-tp-form__sit[hidden]{display:none} /* 아스트라 A-9: label{display:flex} 가 [hidden] 을 이기지 않게 */
.t2w-tp-form__sit{display:flex;align-items:center;gap:8px;margin:0 0 12px;font-size:15px;color:#92400E}
.t2w-tp-form__sit b{font-weight:800}
.t2w-tp-form__sit button{border:0;background:#FFF3C4;color:#92400E;border-radius:999px;width:28px;height:28px;cursor:pointer;font-size:16px;line-height:1}
.t2w-tp-form label.t2w-tp-form__check{flex-direction:row;align-items:center;gap:8px;align-self:end;min-height:42px;font-size:15px;color:#374151}
.t2w-tp-form__check input{width:18px;height:18px;min-height:0;accent-color:var(--color-primary,#FFB700)}
.t2w-vendor__fleet-err{margin:6px 0;color:#991B1B;font-size:15px;font-weight:700}
.t2w-vendor__fleet-licence{display:flex;flex-direction:column;gap:4px;margin-top:10px;font-size:15px;font-weight:600;color:#374151}
.t2w-vendor__fleet-licence small{font-weight:500;color:#6B7280}
.t2w-vendor__fleet-licence input{max-width:260px;min-height:38px;border:1px solid #e5e7eb;border-radius:8px;padding:6px 8px;font-size:15px}
.t2w-vendor__fleet{width:100%;border-collapse:collapse;margin-top:10px;font-size:15px}
.t2w-vendor__fleet th,.t2w-vendor__fleet td{padding:6px 4px;text-align:left;border-bottom:1px solid #F0EAD8;vertical-align:middle}
.t2w-vendor__fleet th{font-size:13px;font-weight:700;color:#6B7280}
.t2w-vendor__fleet td:nth-child(2),.t2w-vendor__fleet td:nth-child(3){width:96px}
.t2w-vendor__fleet td:nth-child(4),.t2w-vendor__fleet td:nth-child(5){width:44px;text-align:center}
.t2w-vendor__fleet input[type=text],.t2w-vendor__fleet input[type=number]{width:100%;min-height:38px;border:1px solid #e5e7eb;border-radius:8px;padding:6px 8px;font-size:15px}
.t2w-vendor__fleet input[type=checkbox]{width:18px;height:18px;accent-color:#FFB700}
.t2w-vendor__fleet-del{border:0;background:#FEE2E2;color:#991B1B;border-radius:8px;width:32px;height:32px;cursor:pointer;font-size:16px;line-height:1}
.t2w-vendor__fleet-add{margin-top:8px;border:1px dashed #FFB700;background:#fff;color:#92400E;border-radius:8px;padding:8px 14px;font-size:15px;font-weight:700;cursor:pointer;min-height:40px}
.t2w-vendor__fleet-add:disabled{opacity:.5;cursor:default}
@media (max-width:768px){
  .t2w-tp-form label.t2w-tp-shape__opt{flex-basis:100%}
  .t2w-vendor__fleet td:nth-child(2),.t2w-vendor__fleet td:nth-child(3){width:70px}
}

/* Transfer requests retain a reachable composer on small screens. */
.t2w-product-chat--transfer .t2w-product-chat__panel { height:min(800px,calc(100dvh - 40px)); grid-template-rows:auto minmax(64px,120px) minmax(0,1fr); }
.t2w-product-chat--transfer .t2w-product-chat__form { min-height:0; overflow-y:auto; overscroll-behavior:contain; }
.t2w-product-chat--transfer .t2w-product-chat__fields input,
.t2w-product-chat--transfer .t2w-product-chat__fields select { box-sizing:border-box; width:100%; min-width:0; min-height:44px; padding:8px; border:1px solid #dce3ec; border-radius:10px; background:#fff; color:inherit; font:inherit; }
.t2w-product-chat--transfer .t2w-product-chat__fields label { min-width:0; }
.t2w-product-chat--transfer .t2w-product-chat__intake > p { margin:0; font-size:13px; line-height:1.55; }

/* ── 정착·이민 페이지 (2026-09-16 마스터 ③): 머리 · 지금 · 단계 띠 · 소식 · 공식 안내 — 토큰만, 강제 우선 표시 없음 ── */
.t2w-st-page { max-width: var(--t2w-wrap-max, 1200px); margin: 0 auto; padding: 8px var(--t2w-wrap-pad, 16px) 56px; }
.t2w-st-hero { padding: 12px 0 8px; }
.t2w-st-hero h1 { margin: 0 0 6px; font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; letter-spacing: -.02em; color: var(--color-secondary-dark, #152A47); }
.t2w-st-hero p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--color-text-secondary, #4B5563); }
.t2w-st-sec { padding: 28px 0 0; }
.t2w-st-sec h2 { margin: 0 0 8px; font-size: 20px; font-weight: 700; letter-spacing: -.02em; color: var(--color-secondary-dark, #152A47); }
.t2w-st-sec__lead { margin: 0 0 14px; font-size: 15px; line-height: 1.6; color: var(--color-text-secondary, #4B5563); }
.t2w-st-sec__more { margin: 14px 0 0; font-size: 15px; }
.t2w-st-sec__more a { color: var(--color-secondary, #1E3A5F); font-weight: 600; text-decoration: none; }
.t2w-st-empty, .t2w-st-stage__empty { margin: 0 0 8px; font-size: 15px; line-height: 1.6; color: var(--color-text-muted, #6B7280); }
/* 카드(지금 · 소식): 남색 5% 판, 제목 14/1.45 w600 두 줄 */
.t2w-st-list { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 0; padding: 0; list-style: none; }
.t2w-st-list > li, .t2w-st-official > li { min-width: 0; } /* 한 줄 말줄임(nowrap)이 격자 칸을 넓히지 않게 — 375 기하 검사 bleed 교훈 */
.t2w-st-card { display: flex; flex-direction: column; gap: 4px; height: 100%; min-width: 0; padding: 14px 16px; border-radius: var(--t2w-hp-r-md, 16px); background: color-mix(in srgb, var(--color-secondary, #1E3A5F) 5%, #fff); color: var(--color-secondary-dark, #152A47); text-decoration: none; }
.t2w-st-card--digest { background: var(--color-tag-gold-bg, #FFF3D6); }
.t2w-st-card:hover strong { color: var(--color-secondary-light, #2A4A73); }
.t2w-st-card:focus-visible { outline: 2px solid var(--color-secondary, #1E3A5F); outline-offset: 2px; }
.t2w-st-card__kicker { align-self: flex-start; padding: 2px 6px; border-radius: 6px; font-size: 13px; line-height: 1.4; font-weight: 700; color: var(--color-secondary, #1E3A5F); background: #fff; }
.t2w-st-card strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 15px; line-height: 1.45; font-weight: 600; word-break: keep-all; overflow-wrap: anywhere; }
.t2w-st-card__reason { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13px; line-height: 1.5; color: var(--color-text-secondary, #4B5563); }
.t2w-st-card time { margin-top: auto; font-size: 13px; color: var(--color-text-muted, #6B7280); }
/* 단계 띠: 폰 1열 → 601px 2열 → 901px 4열, 상자 없이 줄로 */
.t2w-st-stages { display: grid; grid-template-columns: 1fr; gap: 0 24px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--t2w-hp-line, rgba(30,58,95,.12)); }
.t2w-st-stage { padding: 14px 0; border-bottom: 1px solid var(--t2w-hp-line, rgba(30,58,95,.12)); min-width: 0; }
.t2w-st-stage h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 16px; font-weight: 700; letter-spacing: -.02em; color: var(--color-secondary-dark, #152A47); }
.t2w-st-stage__n { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--color-tag-gold-bg, #FFF3D6); font-size: 13px; font-weight: 800; color: #7d5800; }
.t2w-st-stage__desc { margin: 0 0 8px; font-size: 13px; line-height: 1.5; color: var(--color-text-muted, #6B7280); }
.t2w-st-stage__items { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.t2w-st-stage__items a { display: flex; align-items: center; gap: 8px; min-height: 40px; font-size: 15px; line-height: 1.4; color: var(--color-secondary-dark, #152A47); text-decoration: none; }
.t2w-st-stage__items a:hover { color: var(--color-secondary-light, #2A4A73); }
.t2w-st-kind { flex-shrink: 0; padding: 1px 6px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--color-secondary, #1E3A5F) 18%, transparent); font-size: 13px; line-height: 1.5; font-weight: 600; color: var(--color-text-muted, #6B7280); }
.t2w-st-kind--official { border-color: var(--color-primary, #FFB700); color: #7d5800; }
/* 공식 안내 */
.t2w-st-official { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 0; padding: 0; list-style: none; }
.t2w-st-official a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--t2w-hp-line, rgba(30,58,95,.12)); border-radius: 12px; color: var(--color-secondary-dark, #152A47); text-decoration: none; }
.t2w-st-official__pub { font-size: 13px; font-weight: 700; color: #7d5800; }
.t2w-st-official a strong { font-size: 15px; font-weight: 600; line-height: 1.45; }
.t2w-st-official__purpose { font-size: 13px; line-height: 1.5; color: var(--color-text-secondary, #4B5563); }
@media (min-width: 601px) { .t2w-st-stages { grid-template-columns: repeat(2, minmax(0, 1fr)); } .t2w-st-list, .t2w-st-official { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 901px) { .t2w-st-stages { grid-template-columns: repeat(4, minmax(0, 1fr)); } .t2w-st-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } .t2w-st-sec { padding-top: 40px; } }
/* 2026-10-03 생활 정리: 여행 준비 허브 아래 「더 읽을거리」 — 읽는 목록이라 휴대폰도 세로 한 줄씩 */
.t2w-guide-reads{margin-top:48px}
.t2w-guide-reads h2{margin:0 0 8px;font-size:20px;font-weight:700;color:var(--t2w-ink,#111827)}
.t2w-guide-reads__list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,1fr);column-gap:32px}
.t2w-guide-reads__list li{border-bottom:1px solid var(--t2w-line,#E5E7EB)}
.t2w-guide-reads__list a{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:14px 0;text-decoration:none;color:var(--t2w-ink,#111827)}
.t2w-guide-reads__list a:hover .t2w-guide-reads__title{text-decoration:underline}
.t2w-guide-reads__title{font-size:16px;line-height:1.45;word-break:keep-all}
.t2w-guide-reads__dest{flex-shrink:0;font-size:14px;color:var(--t2w-ink-3,#6B7280)}
@media(max-width:640px){.t2w-guide-reads{margin-top:36px}.t2w-guide-reads__list{grid-template-columns:1fr}}
