/**
 * AllPlanner Homepage Styles — v34.0 (Section Rebuild)
 *
 * Sections:
 * 1. Scoped Variables
 * 2. Common (section, glass, buttons)
 * 3. Hero (full-bleed, pill search, stats overlay)
 * 4. Shared Scroll Arrows
 * 5. Service Categories (pill chips)
 * 6. Product Catalog (4-col category cards)
 * 7. Featured Products (horizontal scroll)
 * 8. Quick Itinerary Carousel
 * 9. Popular Places (city tabs + stack cards)
 * 10. Community Stories (scroll + modal)
 * 11. Local Partners (tabs + scroll)
 * 12. AI Planner FAB + Modal
 * 13. Responsive (1024 / 768 / 480)
 */

/* ========================================
   1. SCOPED VARIABLES
   ======================================== */

/* Homepage: content starts at y=0 behind absolute header */
html body.home:has(.t2w-app-header) {
    padding-top: 0;
}
html body .site-content:has(.t2w-home) {
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
}

html body .main-content:has(.t2w-home) {
    padding-top: 0;
}

html body .site-content > .container:has(.t2w-home) {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.t2w-home {
    /* Phase 1: --hp-* now references --color-* from variables.css
       300 usages depend on these aliases — safe bridge pattern */
    --hp-primary: var(--color-primary);
    --hp-primary-hover: var(--color-primary-dark);
    --hp-primary-rgb: var(--color-primary-rgb);
    --hp-bg: #fff;
    --hp-surface: var(--color-white);
    --hp-text-primary: var(--color-text-primary);
    --hp-text-secondary: var(--color-text-secondary);
    --hp-text-muted: var(--color-text-muted);
    --hp-text-light: var(--color-text-light);
    --hp-border-light: var(--color-border-light);
    --hp-border-medium: var(--color-border-medium);
    --hp-radius-card: var(--radius-xl);
    --hp-radius-default: var(--radius-lg);
    --hp-radius-lg: var(--radius-2xl);
    --hp-radius-xl: 2rem;
    --hp-radius-2xl: 3rem;
    --hp-radius-full: var(--radius-full);
    --hp-shadow-card: var(--shadow-card);
    --hp-shadow-card-hover: var(--shadow-card-hover);
    --hp-shadow-xl: var(--shadow-xl);
    --hp-font-display: var(--font-heading);
    --hp-font-body: var(--font-primary);
    background: var(--hp-bg);
    font-family: var(--hp-font-display);
    color: var(--hp-text-primary);
    word-break: keep-all;
}

/* ========================================
   2. COMMON
   ======================================== */

/* Container */

/* Section spacing */
.t2w-hp-section {
    padding: 0 clamp(16px, 4vw, 48px);
    max-width: 100%;
    margin: 0 auto;
}

.t2w-hp-section__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 16px;
}

.t2w-hp-section__title {
    font-family: var(--hp-font-display);
    font-size: clamp(24px, 4vw, 30px);
    font-weight: 700;
    color: var(--hp-text-primary);
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.3;
}

.t2w-hp-section__subtitle {
    font-size: 15px;
    color: var(--hp-text-secondary);
    margin: 4px 0 0;
    line-height: 1.5;
}

.t2w-hp-section__link {
    font-size: 14px;
    font-weight: 600;
    color: var(--hp-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 2px;
    white-space: nowrap;
    transition: color 0.15s;
}

.t2w-hp-section__link:hover {
    color: var(--hp-primary-hover);
    text-decoration: underline;
}

/* Glass Panel */

/* Scrollbar hide */

/* Buttons */
.t2w-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--hp-primary);
    color: #000;
    border: none;
    border-radius: var(--hp-radius-full);
    font-family: var(--hp-font-display);
    font-size: 15px;
    font-weight: 700;
    padding: 12px 28px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(var(--hp-primary-rgb), 0.3);
}

.t2w-btn-primary:hover {
    background: var(--hp-primary-hover);
    transform: scale(1.05);
    color: #000;
    text-decoration: none;
}

.t2w-btn-primary .material-symbols-outlined { font-size: 20px; }

.t2w-btn-black {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: var(--hp-font-display);
    font-size: 18px;
    font-weight: 700;
    padding: 16px 32px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.t2w-btn-black:hover {
    background: #1a1a1a;
    transform: translateX(4px);
    color: #fff;
    text-decoration: none;
}

.t2w-btn-black .material-symbols-outlined { font-size: 20px; }

/* Focus styles */
.t2w-btn-primary:focus-visible,
.t2w-btn-black:focus-visible,
.t2w-hp-bento__card:focus-visible,
.t2w-hp-review-card:focus-visible,
.t2w-hp-emoji-circle:focus-visible {
    outline: 2px solid var(--hp-primary);
    outline-offset: 2px;
}

/* ========================================
   3. HERO — Dark Hybrid (v45)
   ======================================== */

/* Homepage header — v11: transparent default → scrolled white */
body.home header.t2w-app-header#site-header {
    background: transparent;
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
}
body.home header.t2w-app-header#site-header a,
body.home header.t2w-app-header#site-header button,
body.home header.t2w-app-header#site-header .t2w-app-header__logo,
body.home header.t2w-app-header#site-header .t2w-services-trigger {
    color: #fff;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5), 0 0 2px rgba(0,0,0,0.3);
    font-weight: 600;
    transition: color 0.3s, text-shadow 0.3s;
}
body.home header.t2w-app-header#site-header .t2w-logo__text {
    font-size: 17px;
    font-weight: 800;
}
body.home header.t2w-app-header#site-header .t2w-services-trigger {
    font-size: 15px;
}

/* Center nav hover — gold bg pill + underline */
body.home header.t2w-app-header#site-header .t2w-services-trigger,
body.home header.t2w-app-header#site-header .t2w-header__community-link {
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.2s;
}

body.home header.t2w-app-header#site-header .t2w-services-trigger:hover,
body.home header.t2w-app-header#site-header .t2w-header__community-link:hover {
    color: #fff;
    background: rgba(0,0,0,0.35);
    text-shadow: 0 0 12px rgba(255,255,255,0.6);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
body.home header.t2w-app-header#site-header .t2w-app-header__logo svg path {
    fill: #fff;
    transition: fill 0.3s;
}
body.home header.t2w-app-header#site-header .t2w-logo__text {
    color: #fff;
    transition: color 0.3s;
}
body.home header.t2w-app-header#site-header .t2w-region-selector__trigger {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.2);
    transition: background 0.3s, border-color 0.3s;
}
body.home header.t2w-app-header#site-header .t2w-region-selector__flag,
body.home header.t2w-app-header#site-header .t2w-region-selector__name {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s;
}

/* Scrolled state — white glass */
body.home header.t2w-app-header#site-header.is-scrolled {
    background: rgba(255,255,255,0.92);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    border-bottom-color: rgba(0,0,0,0.04);
}
body.home header.t2w-app-header#site-header.is-scrolled a,
body.home header.t2w-app-header#site-header.is-scrolled button,
body.home header.t2w-app-header#site-header.is-scrolled .t2w-app-header__logo,
body.home header.t2w-app-header#site-header.is-scrolled .t2w-services-trigger {
    color: rgba(0,0,0,0.7);
    text-shadow: none;
}
body.home header.t2w-app-header#site-header.is-scrolled a:hover,
body.home header.t2w-app-header#site-header.is-scrolled button:hover {
    color: #1a1a1a;
}
body.home header.t2w-app-header#site-header.is-scrolled .t2w-services-trigger:hover,
body.home header.t2w-app-header#site-header.is-scrolled .t2w-header__community-link:hover {
    color: var(--color-primary, #ffb700);
}
body.home header.t2w-app-header#site-header.is-scrolled .t2w-app-header__logo svg path {
    fill: #1a1a1a;
}
body.home header.t2w-app-header#site-header.is-scrolled .t2w-logo__text {
    color: #1a1a1a;
}
body.home header.t2w-app-header#site-header.is-scrolled .t2w-region-selector__trigger {
    background: rgba(0,0,0,0.05);
    border-color: rgba(0,0,0,0.1);
}
body.home header.t2w-app-header#site-header.is-scrolled .t2w-region-selector__flag,
body.home header.t2w-app-header#site-header.is-scrolled .t2w-region-selector__name {
    color: rgba(0,0,0,0.6);
}

/* Header layout — logo left, nav center, user right */
body.home header.t2w-app-header#site-header .t2w-app-header__container {
    justify-content: space-between;
}
body.home header.t2w-app-header#site-header .t2w-app-header__start {
    flex: 1;
}
body.home header.t2w-app-header#site-header .t2w-app-header__end {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}
body.home header.t2w-app-header#site-header .t2w-app-header__user {
    margin-left: auto;
}

/* Hero container */
.t2w-hero-dark {
    position: relative; width: 100%; overflow: visible;
    background: linear-gradient(180deg, #0F2744 0%, #1E3A5F 80%, var(--hp-bg, #F8F8F5) 100%);
    min-height: 320px;
}
.t2w-hero-dark__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.t2w-hero-dark__bg-img {
    width: 100%; height: 100%; object-fit: cover;
    filter: blur(8px) saturate(1.4) brightness(0.7); transform: scale(1.08);
}
.t2w-hero-dark__bg-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(15,39,68,0.82) 0%, rgba(30,58,95,0.55) 50%, rgba(248,248,245,1) 100%);
}
.t2w-hero-dark__orb { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; z-index: 1; }
.t2w-hero-dark__orb--gold { bottom: 40px; left: 30%; width: 200px; height: 200px; opacity: 0.2; background: radial-gradient(circle, rgba(255,183,0,0.4) 0%, transparent 70%); animation: t2w-float1 20s infinite alternate ease-in-out; }
@keyframes t2w-float1 { 0% { transform: translate(0,0); } 50% { transform: translate(30px,-20px); } 100% { transform: translate(0,0); } }
@keyframes t2w-float2 { 0% { transform: translate(0,0); } 50% { transform: translate(-20px,30px); } 100% { transform: translate(0,0); } }
.t2w-hero-dark__content {
    position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center;
    padding: 80px 16px 24px; max-width: 860px; margin: 0 auto; gap: 12px;
}
@keyframes t2w-pulseGlow { 0%, 100% { box-shadow: 0 0 10px rgba(255,183,0,0.3); } 50% { box-shadow: 0 0 25px rgba(255,183,0,0.7); } }
.t2w-hero-dark__chip {
    display: inline-flex; align-items: center; gap: 4px;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15);
    border-radius: 9999px; padding: 4px 12px; font-size: 12px; font-weight: 500;
    color: rgba(255,255,255,0.7); cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.t2w-hero-dark__chip:hover { background: rgba(255,183,0,0.1); border-color: rgba(255,183,0,0.4); color: var(--hp-primary); }

/* Hero responsive */
@media (max-width: 768px) {
    .t2w-hero-dark__content { padding: 70px 12px 20px; }
                                }
@media (max-width: 480px) {
            }

/* NLP preview, missing UI, leg editor — v9 classes kept for JS compat */
.t2w-hp-cta-section {
    width: 100vw; position: relative; left: 50%; right: 50%;
    margin-left: -50vw; margin-right: -50vw;
}

/* Hero card — warm mesh gradient + subtle texture */

/* Decorative dot texture (5% opacity) */

/* Hero content — centered, side photo fills remaining space */

/* Proto: text-2xl md:text-4xl font-black */

/* AI text — gold gradient fill + subtle shimmer */

@keyframes t2w-ai-shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Proto: text-xs text-slate-500 */

/* Proto: w-full max-w-800, mt-1 */
.t2w-hero-v9__search {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}

/* Search bar — 2-layer premium shadow */


/* Search rows — main (input + AI btn) / sub (date + days) */

/* Search bar cells */

/* CTA button — gold gradient with depth */

/* Missing/Leg UI (hidden by default, shown via JS) */


/* NLP Parse Preview (v22.3) */
.t2w-hero-v9__nlp-preview {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    min-height: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
}

.t2w-hero-v9__nlp-preview.active {
    max-height: 60px;
    opacity: 1;
    margin-bottom: 4px;
}

.t2w-nlp-preview__label {
    font-size: 11px;
    font-weight: 500;
    color: var(--hp-text-muted);
    margin-right: 2px;
}

.t2w-nlp-tag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    animation: nlpTagFadeIn 0.2s ease;
}

@keyframes nlpTagFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1); }
}

.t2w-nlp-tag .material-symbols-outlined { font-size: 13px; }
.t2w-nlp-tag--region   { background: #EFF6FF; border: 1px solid #BFDBFE; color: #2563EB; }
.t2w-nlp-tag--days     { background: #ECFDF5; border: 1px solid #A7F3D0; color: #059669; }
.t2w-nlp-tag--companion{ background: #FDF2F8; border: 1px solid #FBCFE8; color: #DB2777; }
.t2w-nlp-tag--vibe     { background: #FFFBEB; border: 1px solid #FDE68A; color: #D97706; }

/* Suggestion Chips — single row, scroll on overflow */
.t2w-hero-v9__templates {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    margin-top: 4px;
    padding: 2px 0 4px;
    max-width: 780px;
}

.t2w-hero-v9__templates::-webkit-scrollbar { display: none; }

/* Chips — colored left accent + hover elevation */
.t2w-hero-tpl {
    padding: 6px 14px 6px 12px;
    border-radius: var(--hp-radius-full);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #E2E8F0;
    border-left: 3px solid #D1D5DB;
    color: var(--hp-text-secondary);
    font-size: 12px;
    font-weight: 500;
    font-family: var(--hp-font-body);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, color 0.2s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.t2w-hero-tpl__icon {
    font-size: 14px;
}

/* Per-chip color accents */
.t2w-hero-tpl:nth-child(1) { border-left-color: #F472B6; }
.t2w-hero-tpl:nth-child(2) { border-left-color: #A16207; }
.t2w-hero-tpl:nth-child(3) { border-left-color: #3B82F6; }
.t2w-hero-tpl:nth-child(4) { border-left-color: #8B5CF6; }
.t2w-hero-tpl:nth-child(5) { border-left-color: #059669; }
.t2w-hero-tpl:nth-child(6) { border-left-color: #0891B2; }
.t2w-hero-tpl:nth-child(7) { border-left-color: #DC2626; }
.t2w-hero-tpl:nth-child(8) { border-left-color: #EA580C; }
.t2w-hero-tpl { scroll-snap-align: start; flex-shrink: 0; }

.t2w-hero-tpl:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: rgba(var(--hp-primary-rgb), 0.3);
    border-left-color: var(--hp-primary);
    color: var(--hp-text-primary);
    background: #fff;
}

/* Hero side photo — right side, desktop only */

/* Header utility buttons — Guide + Survey (moved from hero) */

@media (max-width: 768px) {
        }

/* Guide Modal */
.t2w-guide-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    backdrop-filter: blur(2px);
}

.t2w-guide-overlay--open {
    opacity: 1;
    visibility: visible;
}

.t2w-guide-modal {
    background: #fff;
    border-radius: 20px;
    padding: 28px 24px;
    width: 90%;
    max-width: 480px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.t2w-guide-overlay--open .t2w-guide-modal {
    transform: translateY(0);
}

.t2w-guide-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #9CA3AF;
}

.t2w-guide-modal__close:hover { color: #374151; }

.t2w-guide-modal__title {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 4px;
    color: var(--hp-text-primary);
}

.t2w-guide-modal__desc {
    font-size: 13px;
    color: #6B7280;
    margin: 0 0 20px;
}

.t2w-guide-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.t2w-guide-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    position: relative;
}

.t2w-guide-step__num {
    position: absolute;
    top: -4px;
    left: -4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--hp-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.t2w-guide-step__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--step-color, var(--color-primary)) 12%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.t2w-guide-step__icon .material-symbols-outlined {
    font-size: 22px;
    color: var(--step-color, var(--color-primary));
}

.t2w-guide-step__body h4 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 2px;
    color: var(--hp-text-primary);
}

.t2w-guide-step__body p {
    font-size: 12px;
    color: #6B7280;
    margin: 0;
    line-height: 1.5;
}

.t2w-guide-modal__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(180deg, #FFC233 0%, var(--hp-primary) 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 20px;
    transition: transform 0.15s, box-shadow 0.2s;
}

.t2w-guide-modal__cta:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(var(--hp-primary-rgb), 0.3);
    color: #fff;
    text-decoration: none;
}

.t2w-guide-modal__cta .material-symbols-outlined { font-size: 20px; }

@media (max-width: 768px) {
    .t2w-guide-modal {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 20px 20px 0 0;
        max-height: 90vh;
        padding: 24px 20px;
    }
}

/* Survey Modal */
.t2w-survey-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    backdrop-filter: blur(2px);
}

.t2w-survey-overlay--open {
    opacity: 1;
    visibility: visible;
}

.t2w-survey-modal {
    background: #fff;
    border-radius: 20px;
    padding: 28px 24px;
    width: 90%;
    max-width: 440px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.t2w-survey-overlay--open .t2w-survey-modal {
    transform: translateY(0);
}

.t2w-survey-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #9CA3AF;
    transition: color 0.2s;
}

.t2w-survey-modal__close:hover { color: #374151; }

.t2w-survey-modal__title {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 4px;
    color: var(--hp-text-primary);
}

.t2w-survey-modal__desc {
    font-size: 13px;
    color: #6B7280;
    margin: 0 0 20px;
}

.t2w-survey-field { margin-bottom: 16px; }

.t2w-survey-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--hp-text-primary);
    margin-bottom: 8px;
}

.t2w-survey-options {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.t2w-survey-radio,
.t2w-survey-check {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--hp-text-secondary);
    padding: 6px 12px;
    border-radius: 99px;
    border: 1px solid #E5E7EB;
    cursor: pointer;
    transition: all 0.15s;
    background: #FAFAFA;
}

.t2w-survey-radio:has(input:checked),
.t2w-survey-check:has(input:checked) {
    background: #FFF8E1;
    border-color: var(--hp-primary);
    color: var(--hp-text-primary);
    font-weight: 600;
}

.t2w-survey-radio input,
.t2w-survey-check input {
    display: none;
}

/* Stars */
.t2w-survey-stars {
    display: flex;
    gap: 4px;
}

.t2w-star {
    font-size: 28px;
    cursor: pointer;
    color: #D1D5DB;
    transition: color 0.15s, transform 0.15s;
    user-select: none;
}

.t2w-star--active,
.t2w-star:hover { color: #F59E0B; transform: scale(1.15); }

.t2w-survey-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    font-size: 13px;
    font-family: var(--hp-font-body);
    resize: vertical;
    min-height: 60px;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.t2w-survey-textarea:focus { border-color: var(--hp-primary); }

.t2w-survey-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    font-size: 13px;
    font-family: var(--hp-font-body);
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.t2w-survey-input:focus { border-color: var(--hp-primary); }

.t2w-survey-submit {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(180deg, #FFC233 0%, var(--hp-primary) 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s;
    margin-top: 8px;
}

.t2w-survey-submit:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(var(--hp-primary-rgb), 0.3);
}

.t2w-survey-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.t2w-survey-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    text-align: center;
}

@media (max-width: 768px) {
    .t2w-survey-modal {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 20px 20px 0 0;
        max-height: 90vh;
        padding: 24px 20px;
    }
}

/* Fallback CTA sub-link */

/* ========================================
   4. SHARED SCROLL ARROWS
   ======================================== */

.t2w-scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--hp-border-light);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hp-text-secondary);
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.t2w-scroll-arrow:hover {
    background: var(--hp-surface);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.t2w-scroll-arrow .material-symbols-outlined { font-size: 20px; }
.t2w-scroll-prev { left: 0; }
.t2w-scroll-next { right: 0; }

.t2w-svc-scroll-wrapper,
.t2w-products-scroll-wrapper {
    position: relative;
    padding: 0 52px;
    margin: 0 -16px;
}

/* Edge gradient fades for all scroll wrappers */
.t2w-svc-scroll-wrapper::before,
.t2w-svc-scroll-wrapper::after,
.t2w-products-scroll-wrapper::before,
.t2w-products-scroll-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 48px;
    z-index: 2;
    pointer-events: none;
}
.t2w-svc-scroll-wrapper::before,
.t2w-products-scroll-wrapper::before {
    left: 52px;
    background: linear-gradient(to right, var(--hp-bg, #FAFAFA) 0%, transparent 100%);
    opacity: 0;
}
.t2w-svc-scroll-wrapper::after,
.t2w-products-scroll-wrapper::after {
    right: 52px;
    background: linear-gradient(to left, var(--hp-bg, #FAFAFA) 0%, transparent 100%);
    opacity: 1;
}

@keyframes t2w-spin { to { transform: rotate(360deg); } }
.t2w-spin { animation: t2w-spin 1s linear infinite; }

/* ========================================
   5. SERVICE CATEGORIES (pill chips)
   ======================================== */

.t2w-svc-categories-section { padding: 20px 0 16px; }

.t2w-svc-badge-all {
    font-size: 12px;
    font-weight: 600;
    color: var(--hp-text-muted);
    background: #F3F4F6;
    padding: 4px 10px;
    border-radius: var(--hp-radius-full);
    white-space: nowrap;
}

.t2w-svc-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 0;
    justify-content: center;
    -webkit-overflow-scrolling: touch;
}
.t2w-svc-scroll::-webkit-scrollbar { display: none; }

/* Service Icon Cards — vertical icon + label, horizontal scroll */
.t2w-svc-icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px 10px;
    min-width: 72px;
    border-radius: 14px;
    background: var(--hp-surface);
    border: 1px solid var(--hp-border-light);
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
    text-decoration: none;
}

.t2w-svc-icon-card__circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--svc-color, var(--hp-primary)) 10%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.t2w-svc-icon-card__circle .material-symbols-outlined {
    font-size: 22px;
    color: var(--svc-color, var(--hp-primary));
}

.t2w-svc-icon-card__label {
    font-size: 12px;
    font-weight: 600;
    color: var(--hp-text-primary);
    white-space: nowrap;
    line-height: 1.2;
}

.t2w-svc-icon-card__count {
    font-size: 10px;
    font-weight: 500;
    color: var(--hp-text-light);
    line-height: 1;
}

.t2w-svc-icon-card:hover {
    border-color: var(--svc-color, var(--hp-primary));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    text-decoration: none;
}

.t2w-svc-icon-card:hover .t2w-svc-icon-card__circle {
    transform: scale(1.08);
    box-shadow: 0 2px 8px color-mix(in srgb, var(--svc-color, var(--hp-primary)) 25%, transparent);
}

/* Desktop: 6-col grid cards with colored top border */
@media (min-width: 769px) {
    .t2w-svc-scroll {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 12px;
        overflow-x: visible;
        justify-content: stretch;
    }

    .t2w-svc-icon-card {
        padding: 20px 12px 16px;
        min-width: 0;
        border-radius: 24px;
        border: 1px solid var(--hp-border-light);
        border-top: 4px solid var(--svc-color, var(--hp-primary));
        background: var(--hp-surface);
        box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    }

    .t2w-svc-icon-card__circle {
        width: auto;
        height: auto;
        border-radius: 0;
        background: none;
    }

    .t2w-svc-icon-card__circle .material-symbols-outlined {
        font-size: 30px;
    }

    .t2w-svc-icon-card__label {
        font-size: 14px;
        font-weight: 700;
    }

    .t2w-svc-icon-card__count {
        font-size: 11px;
    }

    .t2w-svc-icon-card:hover {
        box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    }

    .t2w-svc-icon-card:hover .t2w-svc-icon-card__circle {
        box-shadow: none;
    }
}

/* ========================================
   6. PRODUCT CATALOG (tab filter + photo card scroll)
   ======================================== */

.t2w-product-catalog-section { padding: 20px 0 16px; background: var(--color-white, #fff); }

/* v48: 4-column grid wrapper */
@media (max-width: 1024px) {
    }
@media (max-width: 768px) {
    }

/* Override card fixed width for grid */
/* v48: Hide cards beyond first 8, show all when tab is active */

/* Category filter tabs */
.t2w-prodcat-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: center;
    padding: 4px 0 20px;
}
.t2w-prodcat-tabs::-webkit-scrollbar { display: none; }

.t2w-prodcat-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: var(--hp-radius-full);
    border: 1.5px solid var(--hp-border-light);
    background: var(--hp-surface);
    font-size: 13px;
    font-weight: 600;
    color: var(--hp-text-secondary);
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s;
}

.t2w-prodcat-tab .material-symbols-outlined {
    font-size: 18px;
    color: var(--tab-color, var(--hp-text-muted));
}

.t2w-prodcat-tab:hover {
    border-color: var(--tab-color, var(--hp-primary));
    color: var(--hp-text-primary);
}

.t2w-prodcat-tab--active {
    background: var(--hp-text-primary);
    color: #fff;
    border-color: var(--hp-text-primary);
}

.t2w-prodcat-tab--active .material-symbols-outlined {
    color: #fff;
}

/* Color-coded inactive tabs (prototype match) */
.t2w-prodcat-tab[data-color="blue"]:not(.t2w-prodcat-tab--active) {
    background: #EFF6FF;
    color: #2563EB;
    border-color: #BFDBFE;
}
.t2w-prodcat-tab[data-color="purple"]:not(.t2w-prodcat-tab--active) {
    background: #F5F3FF;
    color: #7C3AED;
    border-color: #DDD6FE;
}
.t2w-prodcat-tab[data-color="green"]:not(.t2w-prodcat-tab--active) {
    background: #ECFDF5;
    color: #059669;
    border-color: #A7F3D0;
}
.t2w-prodcat-tab[data-color="orange"]:not(.t2w-prodcat-tab--active) {
    background: #FFF7ED;
    color: #EA580C;
    border-color: #FED7AA;
}

/* Scroll wrapper */

/* Product photo card v2 */
.t2w-prodcat-card-v2 {
    flex: 0 0 240px;
    scroll-snap-align: start;
    border-radius: var(--hp-radius-card);
    overflow: hidden;
    background: var(--hp-surface);
    box-shadow: var(--hp-shadow-card);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.t2w-prodcat-card-v2:hover {
    transform: translateY(-4px);
    box-shadow: var(--hp-shadow-card-hover);
}

.t2w-prodcat-card-v2__thumb {
    position: relative;
    height: 150px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.t2w-prodcat-card-v2__icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    color: rgba(255,255,255,0.6);
}

.t2w-prodcat-card-v2__cat-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 10px;
    border-radius: var(--hp-radius-full);
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.3px;
    z-index: 1;
}

/* Trust badges: 즉시확정 / 무료취소 / AI 추천 */
.t2w-prodcat-badges {
    position: absolute;
    bottom: 8px;
    left: 8px;
    display: flex;
    gap: 4px;
    z-index: 1;
}

.t2w-prodcat-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
    color: #fff;
    letter-spacing: 0.2px;
}

.t2w-prodcat-badge--confirm {
    background: #16a34a;
}

.t2w-prodcat-badge--cancel {
    background: #3b82f6;
}

.t2w-prodcat-badge--ai {
    background: var(--color-primary, #FFB700);
    color: #7d5800;
}

.t2w-prodcat-card-v2__body { padding: 14px; }

.t2w-prodcat-card-v2__name {
    font-size: 14px;
    font-weight: 600;
    color: var(--hp-text-primary);
    margin: 0 0 4px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.t2w-prodcat-card-v2__region {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 12px;
    color: var(--hp-text-muted);
    margin-bottom: 8px;
}

.t2w-prodcat-card-v2__region .material-symbols-outlined {
    font-size: 14px;
    color: var(--hp-primary);
}

.t2w-prodcat-card-v2__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.t2w-prodcat-card-v2__rating {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 13px;
    font-weight: 600;
    color: var(--hp-text-primary);
}

.t2w-prodcat-card-v2__rating .material-symbols-outlined {
    font-size: 15px;
    color: var(--hp-primary);
}

.t2w-prodcat-card-v2__reviews {
    font-size: 11px;
    color: var(--hp-text-muted);
    font-weight: 400;
}

.t2w-prodcat-card-v2__price {
    font-size: 16px;
    font-weight: 800;
    color: var(--hp-text-primary);
    white-space: nowrap;
}

.t2w-prodcat-card-v2__krw {
    display: block;
    font-size: 11px;
    color: var(--hp-text-muted);
    font-weight: 400;
}

/* Product Detail Modal */
.t2w-product-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.t2w-product-modal {
    position: relative;
    background: #fff;
    border-radius: 20px;
    max-width: 560px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 24px 80px rgba(0,0,0,0.25);
}
.t2w-product-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.4);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
}
html body .t2w-product-modal__close:hover { background: rgba(0,0,0,0.6); transform: none; }
.t2w-product-modal__gallery {
    position: relative;
    height: 280px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    background: #e5e7eb;
}
.t2w-product-modal__slides {
    position: relative;
    width: 100%;
    height: 100%;
}
.t2w-product-modal__slides img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}
.t2w-product-modal__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    font-size: 20px;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}
.t2w-product-modal__arrow--prev { left: 12px; }
.t2w-product-modal__arrow--next { right: 12px; }
html body .t2w-product-modal__arrow:hover { transform: translateY(-50%); background: #fff; }
.t2w-product-modal__dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}
.t2w-product-modal__dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
}
.t2w-product-modal__dots span.active { background: #fff; }
.t2w-product-modal__content { padding: 20px 24px 24px; }
.t2w-product-modal__header { margin-bottom: 16px; }
.t2w-product-modal__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--hp-text-primary);
    margin: 0 0 4px;
    word-break: keep-all;
}
.t2w-product-modal__subtitle {
    font-size: 14px;
    color: var(--hp-text-muted);
    margin: 0;
}
.t2w-product-modal__rating-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 14px;
}
.t2w-product-modal__price-row { margin-bottom: 16px; }
.t2w-product-modal__price {
    font-size: 22px;
    font-weight: 700;
    color: var(--hp-text-primary);
}
.t2w-product-modal__krw {
    font-size: 14px;
    color: var(--hp-text-muted);
    font-weight: 400;
}
.t2w-product-modal__price-child {
    font-size: 13px;
    color: var(--hp-text-secondary);
    margin-top: 2px;
}
.t2w-product-modal__desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--hp-text-secondary);
    margin-bottom: 16px;
    word-break: keep-all;
}
.t2w-product-modal__info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}
.t2w-product-modal__info-grid > div {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}
.t2w-product-modal__info-grid .material-symbols-outlined {
    font-size: 20px;
    color: var(--hp-primary);
    flex-shrink: 0;
    margin-top: 2px;
}
.t2w-product-modal__info-grid strong {
    display: block;
    font-size: 12px;
    color: var(--hp-text-muted);
    font-weight: 500;
}
.t2w-product-modal__info-grid p {
    margin: 2px 0 0;
    font-size: 13px;
    color: var(--hp-text-primary);
}
.t2w-product-modal__includes-box { margin-bottom: 16px; }
.t2w-product-modal__inc,
.t2w-product-modal__exc {
    margin-bottom: 12px;
}
.t2w-product-modal__inc strong,
.t2w-product-modal__exc strong {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    margin-bottom: 6px;
}
.t2w-product-modal__inc .material-symbols-outlined { color: #059669; font-size: 18px; }
.t2w-product-modal__exc .material-symbols-outlined { color: #dc2626; font-size: 18px; }
.t2w-product-modal__inc ul,
.t2w-product-modal__exc ul {
    margin: 0;
    padding-left: 24px;
    font-size: 13px;
    color: var(--hp-text-secondary);
    line-height: 1.7;
}
.t2w-product-modal__cta {
    position: sticky;
    bottom: 0;
    padding: 16px;
    margin: 0 -24px -24px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.9) 0%, #fff 30%);
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
}
.t2w-product-modal__cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: opacity 0.2s, background 0.2s;
}
.t2w-product-modal__cta-btn:hover { opacity: 0.9; }
/* S25 E2E: secondary CTA for tour detail link */
.t2w-product-modal__cta-btn--secondary {
    background: transparent;
    color: var(--t2w-primary, #1e3a5f);
    border: 1px solid var(--t2w-border, #e5e7eb);
    font-weight: 500;
    order: 2;
}
.t2w-product-modal__cta-btn--secondary:hover {
    background: var(--t2w-surface-alt, #f9fafb);
    opacity: 1;
}
.t2w-product-modal__cta-btn--secondary .material-symbols-outlined { font-size: 18px; }

/* Product Modal: Tablet */
@media (max-width: 1024px) {
    .t2w-product-modal { max-width: 500px; }
    .t2w-product-modal__gallery { height: 240px; }
}
/* Product Modal: Mobile bottom-sheet */
@media (max-width: 768px) {
    .t2w-product-modal-overlay { padding: 0; align-items: flex-end; }
    .t2w-product-modal {
        max-width: 100%;
        max-height: 90vh;
        border-radius: 20px 20px 0 0;
    }
    .t2w-product-modal__gallery { height: 200px; border-radius: 20px 20px 0 0; }
    .t2w-product-modal__info-grid { grid-template-columns: 1fr; }
    .t2w-product-modal__close,
    .t2w-product-modal__arrow { width: 44px; height: 44px; }
    .t2w-product-modal__title { font-size: 18px; }
    .t2w-product-modal__content { padding: 16px 16px 20px; }
    .t2w-product-modal__info-grid strong { font-size: 13px; }
    .t2w-product-modal__info-grid p { font-size: 14px; }
    .t2w-product-modal__inc ul,
    .t2w-product-modal__exc ul { font-size: 14px; }
    .t2w-product-modal__cta-btn { padding: 16px; font-size: 16px; }
}

/* ========================================
   7. FEATURED PRODUCTS (horizontal scroll)
   ======================================== */

.t2w-featured-products-section { padding: 0 0 20px; }

.t2w-products-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 8px clamp(16px, 4vw, 24px) 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.t2w-products-scroll::-webkit-scrollbar { display: none; }

.t2w-product-card {
    flex: 0 0 220px;
    scroll-snap-align: start;
    border-radius: var(--hp-radius-lg);
    overflow: hidden;
    background: var(--hp-surface);
    box-shadow: var(--hp-shadow-card);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}
.t2w-product-card:hover { transform: translateY(-4px); box-shadow: var(--hp-shadow-card-hover); }

.t2w-product-card__thumb {
    position: relative;
    height: 140px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.t2w-product-card__type-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 44px;
    color: rgba(255,255,255,0.55);
}

.t2w-product-badge {
    position: absolute;
    top: 10px; left: 10px;
    padding: 3px 10px;
    border-radius: var(--hp-radius-full);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    z-index: 1;
}
.t2w-product-badge--best { background: var(--hp-primary); color: #000; }
.t2w-product-badge--hot { background: #EF4444; color: #fff; }

.t2w-product-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
}

.t2w-product-card__coming-badge {
    background: rgba(255,255,255,0.9);
    color: var(--hp-text-primary);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: var(--hp-radius-full);
}

.t2w-product-card--coming { opacity: 0.7; }
.t2w-product-card__body { padding: 12px; }

.t2w-product-card__name {
    font-size: 14px;
    font-weight: 700;
    color: var(--hp-text-primary);
    margin: 0 0 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.t2w-product-location {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 12px;
    color: var(--hp-text-muted);
    margin-bottom: 8px;
}
.t2w-product-location .material-symbols-outlined { font-size: 14px; color: var(--hp-primary); }

.t2w-product-card__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.t2w-product-card__rating {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 13px;
    font-weight: 600;
    color: var(--hp-text-primary);
}
.t2w-product-card__rating .material-symbols-outlined { font-size: 15px; color: var(--hp-primary); }
.t2w-product-card__reviews { font-size: 11px; color: var(--hp-text-muted); font-weight: 400; }
.t2w-product-card__price { font-size: 14px; font-weight: 700; color: var(--hp-text-primary); white-space: nowrap; }
.t2w-product-card__krw { display: block; font-size: 11px; color: var(--hp-text-muted); font-weight: 400; }
/* ========================================
   5.5 QUICK ITINERARY GRID (v35.0 — Prototype Match)
   ======================================== */

/* ─── Trust Strip: Hero 직후 신뢰 지표 ─── */

@media (max-width: 768px) {
            }

/* Itinerary Grid — v35.1 Compact */
/* ─── Quick Itinerary: Horizontal Scroll (v35.3) ─── */
.t2w-itinerary-grid-section {
    padding: 40px 0 48px;
}
.t2w-itinerary-grid-section .t2w-hp-section__header {
    margin-bottom: 4px;
}

/* Scroll wrapper — clean edges, no fade gradient */
.t2w-itin-scroll-wrapper {
    position: relative;
    padding: 0 52px;
}

.t2w-itin-scroll-wrapper > .t2w-scroll-prev {
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.t2w-itin-scroll-wrapper > .t2w-scroll-next {
    position: absolute;
    right: 0; top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
html body .t2w-itin-scroll-wrapper > .t2w-scroll-arrow:hover {
    transform: translateY(-50%);
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}

.t2w-itin-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 0 8px;
}
.t2w-itin-scroll::after {
    content: '';
    flex-shrink: 0;
    width: 1px;
}
.t2w-itin-scroll::-webkit-scrollbar { display: none; }

/* Split card — image top + content bottom */
.t2w-hp-itin-card {
    flex: 0 0 300px;
    scroll-snap-align: start;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background: #fff;
    position: relative;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
    transition: box-shadow 0.35s, transform 0.35s;
    display: flex;
    flex-direction: column;
}
.t2w-hp-itin-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
    transform: translateY(-6px);
    text-decoration: none;
    color: inherit;
    border-color: rgba(0,0,0,0.08);
}

/* Image area with hover zoom */
.t2w-hp-itin-card__img {
    position: relative;
    height: 200px;
    background-color: #e5e7eb;
    overflow: hidden;
}
.t2w-hp-itin-card__img::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    background-color: #e5e7eb;
    transition: transform 0.5s ease;
    z-index: 0;
}
.t2w-hp-itin-card:hover .t2w-hp-itin-card__img::before {
    transform: scale(1.08);
}
/* Ensure badges sit above the pseudo */
.t2w-hp-itin-card__badges { z-index: 1; }

/* Bottom gradient on image for depth */
.t2w-hp-itin-card__img::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,0.15), transparent);
    z-index: 0;
    pointer-events: none;
}

/* Badges on image */
.t2w-hp-itin-card__badges {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    gap: 6px;
}
.t2w-hp-itin-card__pick {
    font-size: 11px;
    font-weight: 700;
    color: #7d5800;
    padding: 5px 12px;
    border-radius: 20px;
    background: #FFB700;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.t2w-hp-itin-card__duration {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    padding: 5px 14px;
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.t2w-hp-itin-card__region {
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    padding: 5px 14px;
    border-radius: 20px;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    white-space: nowrap;
}

/* Content area — bottom */
.t2w-hp-itin-card__body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    min-height: 150px;
}
.t2w-hp-itin-card__title {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.35;
    word-break: keep-all;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
}
.t2w-hp-itin-card__subtitle {
    font-size: 12px;
    font-weight: 500;
    color: #9ca3af;
    margin: -6px 0 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Timeline — subtle pill background */
.t2w-hp-itin-card__timeline {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    row-gap: 6px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 10px;
}
.t2w-hp-itin-card__stop {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #4b5563;
    white-space: nowrap;
}
.t2w-hp-itin-card__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px rgba(255,255,255,1), 0 0 4px rgba(0,0,0,0.1);
}
.t2w-hp-itin-card__connector {
    width: 18px;
    height: 2px;
    flex-shrink: 0;
    border-radius: 1px;
}

/* CTA — golden accent */
.t2w-hp-itin-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin-top: auto;
    padding: 8px 18px;
    border-radius: 22px;
    background: var(--hp-primary, #FFB700);
    border: none;
    align-self: flex-start;
    transition: background 0.2s, transform 0.15s;
}
.t2w-hp-itin-card:hover .t2w-hp-itin-card__cta {
    background: var(--hp-primary-hover, #e6a500);
    transform: scale(1.03);
}
.t2w-hp-itin-card__cta .material-symbols-outlined {
    font-size: 16px;
    transition: transform 0.2s;
}
.t2w-hp-itin-card:hover .t2w-hp-itin-card__cta .material-symbols-outlined {
    transform: translateX(3px);
}

/* ========================================
   6. POPULAR PLACES (city tabs + card grid)
   ======================================== */

.t2w-dest-section {
    padding: 20px 0 16px;
}

/* Explore Mode Tabs (인기 / 숨은 명소) */
.t2w-explore-modes {
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 0 0 12px;
}
.t2w-explore-mode {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 9px 22px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    border: 1.5px solid var(--hp-border-light, #e5e7eb);
    background: transparent;
    color: var(--hp-text-secondary, #6b7280);
    cursor: pointer;
    transition: all 0.2s;
}
.t2w-explore-mode .material-symbols-outlined {
    font-size: 18px;
}
.t2w-explore-mode:hover {
    border-color: var(--hp-primary, #FFB700);
    color: var(--hp-primary, #FFB700);
}
.t2w-explore-mode.active {
    background: var(--hp-primary, #FFB700);
    border-color: var(--hp-primary, #FFB700);
    color: #fff;
}

/* Gems scroll wrapper */
.t2w-gems-scroll-wrapper {
    position: relative;
    padding: 0 52px;
}
.t2w-gems-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 4px 0 8px;
}
.t2w-gems-scroll::-webkit-scrollbar { display: none; }

/* Popular Places — City Pill Tabs */
.t2w-places-pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    justify-content: center;
    scrollbar-width: none;
    padding: 4px 0 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.t2w-places-pills::-webkit-scrollbar { display: none; }
.t2w-places-pill {
    padding: 8px 18px;
    border-radius: var(--hp-radius-full);
    font-size: 13px;
    font-weight: 600;
    border: 1.5px solid var(--hp-border-light);
    background: var(--hp-surface);
    cursor: pointer;
    transition: all 0.2s;
    color: var(--hp-text-secondary);
    font-family: inherit;
    white-space: nowrap;
}
.t2w-places-pill:hover { border-color: var(--hp-primary); color: var(--hp-primary); }
.t2w-places-pill--active {
    background: var(--hp-text-primary);
    color: #fff;
    border-color: var(--hp-text-primary);
}

/* Popular Places — Horizontal Scroll Cards */
.t2w-places-scroll-wrapper {
    position: relative;
    margin: 0 -16px;
    padding: 0 52px;
}
/* Edge gradient fades — scroll hints */
.t2w-places-scroll-wrapper::before,
.t2w-places-scroll-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 48px;
    z-index: 5;
    pointer-events: none;
    transition: opacity 0.3s;
}
.t2w-places-scroll-wrapper::before {
    left: 52px;
    background: linear-gradient(to right, var(--hp-bg, #f8f8f6) 0%, transparent 100%);
    opacity: 0;
}
.t2w-places-scroll-wrapper::after {
    right: 52px;
    background: linear-gradient(to left, var(--hp-bg, #f8f8f6) 0%, transparent 100%);
    opacity: 1;
}

/* Arrow override: outside cards */
.t2w-places-scroll-wrapper > .t2w-scroll-prev {
    left: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--hp-surface);
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.t2w-places-scroll-wrapper > .t2w-scroll-next {
    right: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--hp-surface);
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
html body .t2w-places-scroll-wrapper > .t2w-scroll-arrow:hover {
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    background: #fff;
}

.t2w-places-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 4px 0 12px 0;
    -webkit-overflow-scrolling: touch;
}
.t2w-places-scroll::after {
    content: '';
    flex-shrink: 0;
    width: 16px;
}
.t2w-places-scroll::-webkit-scrollbar { display: none; }

/* ── Overlay Place Card (photo-first, text on image) ── */
.t2w-place-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    border-radius: var(--hp-radius-card);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
    display: block;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s;
}
.t2w-place-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    color: #fff;
    text-decoration: none;
}

.t2w-place-card__photo {
    width: 100%;
    aspect-ratio: 3 / 4;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #94a3b8, #64748b);
}

.t2w-place-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.t2w-place-card:hover .t2w-place-card__img {
    transform: scale(1.06);
}

/* Gradient overlay */
.t2w-place-card__photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 30%,
        rgba(0, 0, 0, 0.12) 50%,
        rgba(0, 0, 0, 0.6) 80%,
        rgba(0, 0, 0, 0.85) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* Region badge — top left */
.t2w-place-card__region-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    padding: 4px 10px;
    border-radius: 20px;
}

/* Content overlay — bottom */
.t2w-place-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.t2w-place-card__name {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.t2w-place-card__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
}

.t2w-place-card__rating {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-weight: 600;
    color: #fff;
}
.t2w-place-card__rating .material-symbols-outlined {
    font-size: 15px;
    color: var(--hp-primary);
}

.t2w-place-card__reviews {
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
}

.t2w-place-card__dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
}

.t2w-place-card__cat {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
}

.t2w-place-card__tags {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.t2w-place-card__tag {
    font-size: 11px;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    color: rgba(255, 255, 255, 0.9);
}

/* Place card — mobile */
@media (max-width: 768px) {
    .t2w-place-card {
        flex: 0 0 200px;
    }
    .t2w-place-card__photo {
        aspect-ratio: 2 / 3;
    }
    .t2w-place-card__overlay {
        padding: 12px;
        gap: 3px;
    }
    .t2w-place-card__name {
        font-size: 14px;
    }
    .t2w-place-card__tags {
        display: none;
    }
    .t2w-place-card__meta {
        font-size: 12px;
    }
}


/* Legacy chip row and chip styles — keep for filter JS compat */


.t2w-chip {
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    padding: 8px 16px;
    border-radius: var(--hp-radius-full);
    border: 1px solid var(--hp-border-light);
    background: var(--hp-surface);
    color: var(--hp-text-secondary);
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    white-space: nowrap;
    flex-shrink: 0;
}

.t2w-chip:hover { border-color: var(--hp-primary); color: var(--hp-primary-hover); }

.t2w-chip.active {
    background: var(--hp-primary);
    color: white;
    border-color: var(--hp-primary);
    box-shadow: 0 2px 8px rgba(var(--hp-primary-rgb), 0.3);
}

/* Legacy dest-card REMOVED — 0 elements on production (2026-04-02) */


/* Legacy Community Stories v10 REMOVED — replaced by v39.3 (2026-04-02) */

/* ========================================
   10b. COMMUNITY v50 — Instagram Photo Grid
   3-column grid: 1 large (span 2 rows) + 4 small
   ======================================== */

/* Instagram grid */
.t2w-comm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 12px;
}

.t2w-comm-card {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s ease;
}

.t2w-comm-card:hover {
    transform: scale(1.02);
}

.t2w-comm-card--large {
    grid-row: span 2;
}

.t2w-comm-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
}

.t2w-comm-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    z-index: 1;
}

.t2w-comm-card__author {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.t2w-comm-card__av {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.t2w-comm-card__av.cc-av--gold { background: var(--color-primary, #FFB700); color: #7d5800; }
.t2w-comm-card__av.cc-av--blue { background: #3B82F6; }
.t2w-comm-card__av.cc-av--green { background: #10B981; }

.t2w-comm-card__name {
    font-size: 12px;
    font-weight: 600;
}

.t2w-comm-card__quote {
    font-size: 13px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.t2w-comm-card__tag {
    font-size: 11px;
    background: rgba(255,255,255,0.2);
    padding: 3px 8px;
    border-radius: 10px;
    margin-top: 6px;
    display: inline-block;
}

@media (max-width: 768px) {
    .t2w-comm-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 200px 160px 160px;
    }
    .t2w-comm-card--large {
        grid-column: span 2;
        grid-row: span 1;
    }
    .t2w-comm-card__quote {
        -webkit-line-clamp: 1;
    }
}

/* Legacy Magazine grid (v48, preserved for fallback) */

/* Featured story card */

/* Small story cards (3-col below featured) */

/* Sidebar boxes (Q&A + Tips) */

/* Mobile: stack vertically */
@media (max-width: 768px) {
                    }

/* Legacy classes kept for backward compat */

.t2w-comm-v2-section {
    padding: 20px 0 16px;
}

/* ── ROW 1: Photo Story Scroll ── */

/* Photo card */


/* ── ROW 2: Q&A + Tips Grid (v42 — 1:1 + mobile tab) ── */

/* Mobile Tab Bar */

@media (max-width: 768px) {
                }

/* ── Q&A Compact List ── */

/* Pulse dot for unanswered questions */
@keyframes t2w-qa-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(.8); }
}

/* ── Tips Compact List ── */

/* ========================================
   11. LOCAL PARTNERS — v48 Category Cards
   ======================================== */

.t2w-partners-section {
    padding: 20px 0 16px;
}

/* ── City Tabs ── */


/* ── Horizontal Scroll Container ── */

/* ── Partner Profile Cards (v50) ── */
.t2w-partner-profile-wrapper {
    position: relative;
}

.t2w-partner-profile-wrapper > .t2w-scroll-prev {
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
}

.t2w-partner-profile-wrapper > .t2w-scroll-next {
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
}

.t2w-partner-profile-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 0;
}
.t2w-partner-profile-scroll::-webkit-scrollbar { display: none; }

.t2w-partner-profile {
    flex: 0 0 280px;
    border-radius: 16px;
    padding: 24px 20px;
    background: #fff;
    border: 1px solid var(--hp-border-light, #f0f0f0);
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.t2w-partner-profile:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.t2w-partner-profile--cta {
    border: 2px solid var(--color-primary, #FFB700);
    background: #fffbeb;
}

.t2w-partner-profile__photo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--color-bg-gray, #f3f4f6);
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.t2w-partner-profile__photo .material-symbols-outlined {
    font-size: 32px;
    color: var(--hp-text-muted, #9ca3af);
}

.t2w-partner-profile__photo--cta {
    background: var(--color-primary, #FFB700);
}

.t2w-partner-profile__photo--cta .material-symbols-outlined {
    color: #fff;
}

.t2w-partner-profile__name {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--hp-text-primary, #1a1a1a);
}

.t2w-partner-profile__rating {
    font-size: 13px;
    color: var(--color-primary, #FFB700);
    margin-bottom: 8px;
}

.t2w-partner-profile__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
}

.t2w-partner-profile__tag {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 10px;
    background: var(--color-bg-gray, #f3f4f6);
    color: var(--hp-text-secondary, #6b7280);
}

.t2w-partner-profile__tag--kr {
    background: #fff3cd;
    color: #7d5800;
}

@media (max-width: 768px) {
    .t2w-partner-profile {
        flex: 0 0 180px;
        padding: 20px 16px;
    }
    .t2w-partner-profile__photo {
        width: 60px;
        height: 60px;
    }
    .t2w-partner-profile__photo .material-symbols-outlined {
        font-size: 28px;
    }
}

/* ── Category Card (180px) ── */
.t2w-partner-card {
    flex-shrink: 0;
    width: 180px;
    background: var(--hp-surface);
    border: 1px solid var(--hp-border-light);
    border-radius: var(--hp-radius-card);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.t2w-partner-card:hover {
    border-color: var(--pcard-color, var(--hp-border-medium));
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-3px);
}

/* Icon circle */

/* Color badge pill */

/* ── CTA Variant ── */

/* ── Recruit Variant (gold) ── */

/* ── Partners — Mobile ── */
@media (max-width: 768px) {
    .t2w-partner-card {
        width: 156px;
        padding: 20px 12px;
    }
                    }


/* ========================================
   6b. POPULAR RESTAURANTS (food/cafe — reuses place-card styles)
   ======================================== */

.t2w-food-section {
    padding: 20px 0 16px;
}

.t2w-food-pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    justify-content: center;
    scrollbar-width: none;
    padding: 4px 0 16px;
    flex-wrap: wrap;
}
.t2w-food-pills::-webkit-scrollbar { display: none; }

.t2w-food-pill {
    padding: 8px 18px;
    border-radius: var(--hp-radius-full);
    font-size: 13px;
    font-weight: 600;
    border: 1.5px solid var(--hp-border-light);
    background: var(--hp-surface);
    cursor: pointer;
    transition: all 0.2s;
    color: var(--hp-text-secondary);
    font-family: inherit;
    white-space: nowrap;
}
.t2w-food-pill:hover { border-color: var(--hp-primary); color: var(--hp-primary); }

.t2w-food-scroll-wrapper {
    position: relative;
    margin: 0 -16px;
    padding: 0 52px;
}

.t2w-food-scroll-wrapper > .t2w-scroll-prev,
.t2w-food-scroll-wrapper > .t2w-scroll-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--hp-surface);
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.t2w-food-scroll-wrapper > .t2w-scroll-prev { left: 0; }
.t2w-food-scroll-wrapper > .t2w-scroll-next { right: 0; }

.t2w-food-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 4px 0 12px 0;
    -webkit-overflow-scrolling: touch;
}
.t2w-food-scroll::-webkit-scrollbar { display: none; }
.t2w-food-scroll::after {
    content: '';
    flex-shrink: 0;
    width: 16px;
}

/* Food card — practical preview line */
.t2w-food-card__preview {
    font-size: 12px;
    font-weight: 600;
    color: var(--hp-primary);
    letter-spacing: 0.01em;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 6b-mobile: Food pills horizontal scroll + fade hint */
@media (max-width: 768px) {
    .t2w-food-section .t2w-hp-section {
        position: relative;
    }
    .t2w-food-pills {
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding: 4px 16px 16px;
        -webkit-overflow-scrolling: touch;
    }
    /* Fade hint — right edge gradient overlay */
    .t2w-food-section .t2w-hp-section::after {
        content: '';
        position: absolute;
        right: 0;
        bottom: 0;
        width: 48px;
        height: 52px;
        pointer-events: none;
        background: linear-gradient(to left, var(--hp-bg, #FAFAF8) 0%, transparent 100%);
        z-index: 2;
    }
}

/* ========================================
   12a. AI CTA BANNER (inline dark banner)
   ======================================== */

.t2w-ai-banner__card {
    background: linear-gradient(135deg, #181610 0%, #2a2510 100%);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.t2w-ai-banner__card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--hp-primary-rgb), 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.t2w-ai-banner__text { position: relative; z-index: 1; }

.t2w-ai-banner__title {
    font-size: clamp(20px, 3vw, 24px);
    font-weight: 800;
    margin: 0 0 6px;
    letter-spacing: -0.02em;
}

.t2w-ai-banner__desc {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    margin: 0;
}

.t2w-ai-banner__btn {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 14px;
    background: var(--hp-primary);
    color: #000;
    font-size: 15px;
    font-weight: 800;
    font-family: var(--hp-font-display);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s;
    flex-shrink: 0;
}

.t2w-ai-banner__btn:hover {
    background: var(--hp-primary-hover);
    transform: scale(1.05);
    color: #000;
    text-decoration: none;
}

.t2w-ai-banner__btn .material-symbols-outlined { font-size: 22px; }

.t2w-ai-banner__features {
    display: flex;
    gap: 20px;
    margin-top: 14px;
}

.t2w-ai-banner__features span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
}

.t2w-ai-banner__features .material-symbols-outlined {
    font-size: 18px;
    color: var(--color-primary, #FFB700);
}

@media (max-width: 768px) {
    .t2w-ai-banner__card {
        flex-direction: column;
        text-align: center;
        padding: 28px 20px;
        border-radius: 16px;
    }
    .t2w-ai-banner__btn {
        padding: 12px 24px;
        font-size: 14px;
        border-radius: 12px;
    }
}

/* ========================================
   12b. AI PLANNER FAB + MODAL
   ======================================== */

.t2w-ai-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9000;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: var(--hp-primary);
    color: #000;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.3s;
}

.t2w-ai-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(0,0,0,0.2);
}

.t2w-ai-fab .material-symbols-outlined {
    font-size: 26px;
}

.t2w-ai-fab--hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
}

/* Modal overlay */
.t2w-ai-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.t2w-ai-modal-overlay--open {
    opacity: 1;
    pointer-events: auto;
}

/* Modal */
.t2w-ai-modal {
    position: fixed;
    z-index: 9999;
    bottom: 50%;
    right: 50%;
    transform: translate(50%, 50%) scale(0.9);
    width: 90%;
    max-width: 420px;
    background: var(--hp-surface);
    border-radius: var(--hp-radius-xl);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
}

.t2w-ai-modal--open {
    opacity: 1;
    pointer-events: auto;
    transform: translate(50%, 50%) scale(1);
}

.t2w-ai-modal__header {
    padding: 28px 24px 0;
    position: relative;
}

.t2w-ai-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #F3F4F6;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--hp-text-secondary);
    transition: background 0.15s;
}

.t2w-ai-modal__close:hover { background: #E5E7EB; }
.t2w-ai-modal__close .material-symbols-outlined { font-size: 18px; }

.t2w-ai-modal__label {
    font-size: 12px;
    font-weight: 700;
    color: var(--hp-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.t2w-ai-modal__title {
    font-size: 22px;
    font-weight: 800;
    color: var(--hp-text-primary);
    line-height: 1.3;
    margin: 0;
}

.t2w-ai-modal__body {
    padding: 20px 24px 28px;
}

.t2w-ai-modal__steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.t2w-ai-modal__step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.t2w-ai-modal__step-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #FFF7E0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.t2w-ai-modal__step-icon .material-symbols-outlined {
    font-size: 20px;
    color: var(--hp-primary);
}

.t2w-ai-modal__step-text h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--hp-text-primary);
    margin: 0 0 2px;
}

.t2w-ai-modal__step-text p {
    font-size: 13px;
    color: var(--hp-text-secondary);
    margin: 0;
    line-height: 1.4;
}

.t2w-ai-modal__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    border-radius: var(--hp-radius-full);
    background: var(--hp-primary);
    color: #000;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
}

.t2w-ai-modal__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 183, 0, 0.3);
    text-decoration: none;
    color: #000;
}

.t2w-ai-modal__cta .material-symbols-outlined {
    font-size: 20px;
}

/* ========================================
   13. RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .t2w-story-card {
        flex: 0 0 260px;
    }

    .t2w-prodcat-card-v2 {
        flex: 0 0 220px;
    }

    
    /* Hide side photo on tablet and below */
    
    .t2w-place-card {
        flex: 0 0 260px;
    }

    .t2w-places-scroll-wrapper {
        padding: 0 44px;
    }
    .t2w-places-scroll-wrapper::before { left: 44px; width: 36px; }
    .t2w-places-scroll-wrapper::after { right: 44px; width: 36px; }

    /* Itinerary scroll: tablet */
    .t2w-itin-scroll-wrapper { padding: 0 44px; }
    .t2w-itin-scroll-wrapper::before { left: 44px; width: 36px; }
    .t2w-itin-scroll-wrapper::after { right: 44px; width: 36px; }
    .t2w-hp-itin-card { flex: 0 0 270px; }
    .t2w-hp-itin-card__img { height: 170px; }
    .t2w-hp-itin-card__title { font-size: 16px; }
}

@media (max-width: 768px) {
    /* Side photo: hidden on mobile */
    
    /* ═══ REFINED MOBILE HERO ═══ */
    
    
    /* Gold bottom accent line */
    
    /* Dot texture: hide on mobile */

    
    /* Search: 2-row layout [Row1: 🔍 input + ✨btn] [Row2: date | days] */
    .t2w-hero-v9__search {
        gap: 0;
        margin-top: 0;
    }

    /* Row 1: search input + AI button inline */

    /* Submit button — compact gold square */

    /* Row 2: date + days */

    /* Chips: show as horizontal scroll on mobile */
    .t2w-hero-v9__templates {
        display: flex;
        max-width: 100%;
        margin-top: 6px;
        gap: 6px;
    }
    .t2w-hero-tpl {
        font-size: 11px;
        padding: 5px 10px;
    }

    /* NLP preview: hide */
    .t2w-hero-v9__nlp-preview {
        display: none;
    }

    /* ═══ MOBILE SECTIONS COMPACT ═══ */

    /* Section spacing: tighter */
    .t2w-svc-categories-section,
.t2w-dest-section,
.t2w-product-catalog-section,
.t2w-featured-products-section,
.t2w-comm-v2-section,
.t2w-itinerary-grid-section {
        padding-top: 14px;
        padding-bottom: 6px;
    }

    .t2w-hp-section__title { font-size: 18px; }
    .t2w-hp-section__subtitle { font-size: 11px; }
    .t2w-hp-section__header { margin-bottom: 10px; }

    /* Tabs/pills: force 1-row scroll, never wrap */
    .t2w-places-pills,
.t2w-prodcat-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .t2w-places-pill,
.t2w-prodcat-tab {
        padding: 5px 14px;
        font-size: 12px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* Card heights: compact */
    .t2w-place-card { flex: 0 0 220px; }
        .t2w-prodcat-card-v2 { flex: 0 0 190px; }
    .t2w-prodcat-card-v2__thumb { height: 110px; }
            .t2w-hp-itin-card { flex: 0 0 230px; }
    .t2w-hp-itin-card__img { height: 140px; }
    .t2w-partner-card { flex: 0 0 210px; padding: 10px; }

    /* Itinerary scroll: mobile */
    .t2w-itin-scroll-wrapper { padding: 0; }
    .t2w-itin-scroll { padding-left: 16px; gap: 12px; }
    .t2w-itin-scroll-wrapper::before { left: 0; width: 24px; }
    .t2w-itin-scroll-wrapper::after { right: 0; width: 24px; }
    .t2w-hp-itin-card { flex: 0 0 240px; }
    .t2w-hp-itin-card__img { height: 150px; }
    .t2w-hp-itin-card__body { padding: 12px 14px 14px; min-height: 130px; }
    .t2w-hp-itin-card__title { font-size: 15px; }
    .t2w-hp-itin-card__timeline { padding: 6px 10px; }
    .t2w-hp-itin-card__stop { font-size: 11px; }
    .t2w-hp-itin-card__dot { width: 6px; height: 6px; }
    .t2w-hp-itin-card__connector { width: 12px; }
    .t2w-hp-itin-card__duration { font-size: 10px; padding: 3px 8px; }
    .t2w-hp-itin-card__region { font-size: 10px; padding: 3px 8px; }

    /* Mobile: disable center so overflow-x scroll works from left edge */
    .t2w-svc-scroll,
.t2w-places-pills,
.t2w-prodcat-tabs {
        justify-content: flex-start;
    }

    /* Section spacing — tighter on mobile */
    .t2w-svc-categories-section { padding: 12px 0 8px; }
    .t2w-product-catalog-section,
.t2w-featured-products-section { padding: 16px 0 12px; }
    .t2w-dest-section { padding: 16px 0 12px; }
    .t2w-itinerary-grid-section { padding: 24px 0 20px; }

    .t2w-hp-section__title {
        font-size: clamp(20px, 4vw, 24px);
    }

    /* Smaller cards */
    .t2w-prodcat-card-v2 { flex: 0 0 190px; }
    .t2w-prodcat-card-v2__thumb { height: 120px; }
    .t2w-prodcat-tab { padding: 6px 14px; font-size: 12px; }
    .t2w-product-card { flex: 0 0 180px; }
    .t2w-product-card__thumb { height: 120px; }

    .t2w-place-card { flex: 0 0 240px; }
    
    /* Mobile: no side padding (arrows hidden), gradient at scroll edge */
    .t2w-places-scroll-wrapper {
        padding: 0;
    }
    .t2w-places-scroll {
        padding-left: 16px;
    }
    .t2w-places-scroll-wrapper::before { left: 0; width: 24px; }
    .t2w-places-scroll-wrapper::after { right: 0; width: 24px; }

    .t2w-story-card { flex: 0 0 240px; }
            .t2w-partner-card { flex: 0 0 240px; }

    /* AI FAB smaller on mobile */
    .t2w-ai-fab {
        width: 48px;
        height: 48px;
        bottom: 16px;
        right: 16px;
    }
    .t2w-ai-fab .material-symbols-outlined { font-size: 22px; }

    /* AI Modal: bottom sheet on mobile */
    .t2w-ai-modal {
        bottom: 0;
        right: 0;
        left: 0;
        transform: translateY(100%);
        width: 100%;
        max-width: 100%;
        border-radius: 20px 20px 0 0;
        max-height: 85vh;
    }

    .t2w-ai-modal--open {
        transform: translateY(0);
    }

    /* Story modal: bottom sheet */
    
    /* Scroll arrows: hide on mobile (touch scroll) */
    .t2w-scroll-arrow {
        display: none;
    }

    /* Remove wrapper padding on mobile (no arrows) */
    .t2w-svc-scroll-wrapper,
.t2w-products-scroll-wrapper {
        padding: 0;
        margin: 0;
    }
    .t2w-svc-scroll-wrapper::before,
.t2w-svc-scroll-wrapper::after,
.t2w-products-scroll-wrapper::before,
.t2w-products-scroll-wrapper::after {
        display: none;
    }
}

@media (max-width: 480px) {

    .t2w-svc-icon-card { padding: 10px 6px 8px; min-width: 64px; border-radius: 12px; }
    .t2w-svc-icon-card__circle { width: 40px; height: 40px; }
    .t2w-svc-icon-card__circle .material-symbols-outlined { font-size: 20px; }
    .t2w-svc-icon-card__label { font-size: 11px; }
    .t2w-svc-icon-card__count { font-size: 9px; }
    .t2w-product-card { flex: 0 0 160px; }
    .t2w-product-card__name { font-size: 13px; }
    .t2w-story-card { flex: 0 0 220px; padding: 16px; }
            .t2w-partner-card { flex: 0 0 220px; padding: 14px; gap: 10px; }
    .t2w-place-card { flex: 0 0 220px; }
}

/* ============================================================
 * Hidden Gems Section — v42.2
 * ============================================================ */
.t2w-hidden-gems {
    padding: 48px 40px 40px;
    max-width: 1320px;
    margin: 0 auto;
}

/* v48: Shimmer gem badge */
@keyframes t2w-gem-shimmer { 0%{background-position:-200% 0} 100%{background-position:200% 0} }
.t2w-gem-card__gem-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    padding: 4px 12px;
    border-radius: var(--radius-full, 9999px);
    font-size: 11px;
    font-weight: 700;
    color: #664A00;
    background: linear-gradient(90deg, #FFB700 0%, #FFD54F 50%, #FFB700 100%);
    background-size: 200% 100%;
    animation: t2w-gem-shimmer 3s infinite;
}

.t2w-gems-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    scrollbar-width: none;
}
.t2w-gems-scroll::-webkit-scrollbar { display: none; }

.t2w-gem-card {
    flex: 0 0 280px;
    height: 340px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    display: block;
    text-decoration: none;
    color: #fff;
    scroll-snap-align: start;
    transition: transform 0.2s;
}
.t2w-gem-card:hover {
    transform: translateY(-4px);
    text-decoration: none;
    color: #fff;
}

.t2w-gem-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.t2w-gem-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 16px 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #fff;
}

.t2w-gem-card__badge {
    align-self: flex-start;
    background: rgba(255, 183, 0, 0.9);
    color: #1a1a1a;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 4px;
}

.t2w-gem-card__title {
    font-size: 17px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.t2w-gem-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    opacity: 0.9;
}

.t2w-gem-card__rating {
    color: var(--color-primary);
    font-weight: 600;
}

.t2w-gem-card__desc {
    font-size: 12px;
    line-height: 1.4;
    opacity: 0.85;
    margin: 2px 0 0;
}

/* Tablet */
@media (max-width: 1024px) {
    .t2w-hidden-gems { padding: 36px 24px 32px; }
    .t2w-gem-card { flex: 0 0 250px; height: 300px; }
}

/* Mobile */
@media (max-width: 768px) {
    .t2w-hidden-gems { padding: 28px 16px 24px; }
    .t2w-gem-card { flex: 0 0 220px; height: 280px; }
    .t2w-gem-card__title { font-size: 15px; }
}

/* ═══════════════════════════════════════════════════════
   v12.1 RESKIN — White Pill Search Bar + Headline
   PHP structure: headline → pill(input|date|dur|people|CTA+AI) → chips
   Based on: .tmp/prototype-hero-v12.1.html
   ═══════════════════════════════════════════════════════ */

/* ── Hero: Full-bleed + Vivid Photo ──────────── */
/* v48: Compact hero — content at bottom, image full-bleed behind header */
.t2w-hero-dark {
    min-height: 440px;
    width: 100vw;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    z-index: 2;
}

.t2w-hero-dark__bg-img {
    filter: none;
    transform: none;
    object-position: center 40%;
}

.t2w-hero-dark__bg-overlay {
    background: linear-gradient(180deg,
        rgba(0,0,0,0.45) 0%,
        rgba(0,0,0,0.08) 35%,
        rgba(0,0,0,0.08) 55%,
        rgba(0,0,0,0.45) 100%
    );
}

.t2w-hero-dark__orb--gold {
    width: 300px; height: 300px;
    opacity: 0.06;
    top: 10%; left: 8%; bottom: auto;
}

.t2w-hero-dark__content {
    padding: 70px 24px 40px;
    gap: 16px;
    max-width: 800px;
}

/* ── Headline ─────────────────────────────────── */
.t2w-hero-dark__headline {
    font-size: clamp(32px, 5vw, 44px);
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
    text-align: center;
}
.t2w-hero-dark__headline em {
    font-style: normal;
    color: #ffd54f;
}

/* ── White Pill Search Bar ────────────────────── */
.t2w-hero-dark__search-pill {
    width: 100%;
    max-width: 740px;
    display: flex;
    align-items: stretch;
    background: rgba(255,255,255,0.97);
    border-radius: 60px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15), 0 2px 8px rgba(0,0,0,0.08);
    padding: 6px 6px 6px 8px;
    height: 60px;
    transition: box-shadow 0.3s;
}
.t2w-hero-dark__search-pill:focus-within {
    box-shadow: 0 0 0 3px rgba(255,183,0,0.3), 0 8px 30px rgba(0,0,0,0.18);
}

/* Input section */
.t2w-search-pill__input-section {
    flex: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    border-radius: 50px;
    transition: background 0.15s;
}
.t2w-search-pill__input-section:hover { background: #f5f3ee; }
.t2w-search-pill__icon { font-size: 20px; color: #9ca3af; flex-shrink: 0; }
.t2w-search-pill__input {
    width: 100%; border: none; outline: none; background: transparent;
    font-size: 15px; font-weight: 500; color: #1a1a1a; font-family: inherit;
}
.t2w-search-pill__input::placeholder { color: #9ca3af; }

/* Segments */


/* Date/select inputs inside segments */

/* Dual CTA */
.t2w-search-pill__ctas {
    display: flex; gap: 4px; flex-shrink: 0; align-items: center;
}
.t2w-search-pill__cta-primary {
    height: 44px; padding: 0 18px; border-radius: 9999px;
    background: linear-gradient(135deg, #ffb700, #ffc933);
    border: none; cursor: pointer;
    display: flex; align-items: center; gap: 5px;
    font-size: 13px; font-weight: 700; color: #1a1a1a;
    font-family: inherit; white-space: nowrap;
    box-shadow: 0 2px 10px rgba(255,183,0,0.3);
    transition: all 0.2s;
}
.t2w-search-pill__cta-primary:hover {
    transform: translateY(-1px); box-shadow: 0 4px 16px rgba(255,183,0,0.4);
}
.t2w-search-pill__cta-primary .material-symbols-outlined { font-size: 16px; }


/* ── City row (v49.3) ────────────── */

/* ── Chips: outside pill, floating ────────────── */

/* v49.3: Pill wrapper for hover detail */
/* Active pill highlight on touch */

/* Hover detail popover — premium card */
/* Subtitle */
/* CTA */

@keyframes t2w-chip-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Services Dropdown: Dark Glass on homepage ──── */
body.home .t2w-services-dropdown {
    background: rgba(15,15,20,0.85);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

body.home .t2w-services-dropdown__header {
    border-bottom-color: rgba(255,255,255,0.08);
}

body.home .t2w-services-dropdown__header h3 {
    color: rgba(255,255,255,0.5);
}

body.home .t2w-service-item {
    color: #fff;
}

body.home .t2w-service-item:hover {
    background: rgba(255,183,0,0.12);
}

body.home .t2w-service-item__icon {
    background: rgba(255,183,0,0.15);
    color: #ffb700;
}

body.home .t2w-service-item__name {
    color: #fff;
    font-weight: 600;
}

body.home .t2w-service-item__count {
    color: rgba(255,255,255,0.5);
}

body.home .t2w-services-dropdown__footer {
    border-top-color: rgba(255,255,255,0.08);
}

body.home .t2w-services-dropdown__all {
    color: #ffd54f;
}

body.home .t2w-services-dropdown__all:hover {
    color: #ffb700;
}

/* Header rules moved to high-specificity block at line ~213 */

/* ── Global: Hover Lift + Shine ───────────────────── */

/* ── Section 2: 여행 서비스 (Pill Chips) ──────────── */
.t2w-svc-categories-section { padding: 40px 0 16px; }

.t2w-svc-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scrollbar-width: none;
}
.t2w-svc-scroll::-webkit-scrollbar { display: none; }

.t2w-svc-icon-card {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 9999px;
    border: 1px solid var(--hp-border-light, #e5e7eb);
    background: var(--hp-surface, #fff);
    flex-direction: row;
    min-width: auto;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.t2w-svc-icon-card:hover {
    border-color: var(--hp-primary, #ffb700);
    transform: translateY(-1px);
}

.t2w-svc-icon-card__circle {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.t2w-svc-icon-card__circle .material-symbols-outlined {
    font-size: 18px;
}

.t2w-svc-icon-card__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--hp-text-primary, #1a1a1a);
}

.t2w-svc-icon-card__count {
    font-size: 11px;
    font-weight: 500;
    color: var(--hp-text-light, #9ca3af);
    background: var(--hp-bg-muted, #f3f4f6);
    padding: 2px 8px;
    border-radius: 9999px;
}

/* First chip: gold gradient */
.t2w-svc-icon-card:first-child {
    background: linear-gradient(135deg, #ffb700, #fcd34d);
    border: none;
    box-shadow: 0 2px 8px rgba(255, 183, 0, 0.2);
}
.t2w-svc-icon-card:first-child .t2w-svc-icon-card__label { color: #1a1a1a; }
.t2w-svc-icon-card:first-child .t2w-svc-icon-card__circle { background: rgba(0,0,0,0.08); }
.t2w-svc-icon-card:first-child:hover { transform: scale(1.03); box-shadow: 0 4px 12px rgba(255,183,0,0.3); }

/* Desktop: remove grid, keep flex */
@media (min-width: 769px) {
    .t2w-svc-scroll {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
}

/* ── Section 3: 인기 여행지 (Card Refresh) ────────── */

/* Filter pills: tighter, modern */

/* Place cards */
.t2w-place-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--hp-border-light, #e5e7eb);
    transition: transform 0.3s, box-shadow 0.3s;
}
.t2w-place-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }

.t2w-place-card__img {
    border-radius: 16px 16px 0 0;
}

/* ── Section 4: 인기 맛집 (Card Refresh) ──────────── */
.t2w-food-card {
    border-radius: 16px;
    border: 1px solid var(--hp-border-light, #e5e7eb);
    transition: transform 0.3s, box-shadow 0.3s;
}
.t2w-food-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }

/* ── Section 5: 숨은 명소 (Purple Badge + Clean) ──── */
.t2w-hidden-gems {
    border-radius: 0;
    padding: 40px clamp(16px, 4vw, 24px) 32px;
}

.t2w-gem-card {
    border-radius: 16px;
    transition: transform 0.4s, box-shadow 0.4s;
}
.t2w-gem-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 16px 48px rgba(0,0,0,0.15); }
.t2w-gem-card:hover .t2w-gem-card__img { transform: scale(1.1); }
.t2w-gem-card__img { transition: transform 0.6s ease; }

.t2w-gem-card__badge {
    background: rgba(147, 51, 234, 0.8);
    color: #fff;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(147, 51, 234, 0.3);
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 9999px;
}

.t2w-gem-card__overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
}

.t2w-gem-card__desc {
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255,255,255,0.75);
    margin-top: 4px;
}

/* ── Section 6: 카테고리 상품 (Clean Grid) ────────── */
.t2w-product-catalog-section { padding: 24px 0 20px; }

.t2w-prodcat-card-v2 {
    border-radius: 16px;
    border: 1px solid var(--hp-border-light, #e5e7eb);
    overflow: hidden;
    transition: box-shadow 0.3s;
}
.t2w-prodcat-card-v2:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.06); }

.t2w-prodcat-card-v2__body { padding: 14px 16px; }

/* ── Section 7: 인기 여행 일정 (Split Cards) ───── */

/* ── Section 8: 커뮤니티 (Story Cards) ────────────── */
.t2w-story-card {
    border-radius: 16px;
    border: 1px solid var(--hp-border-light, #e5e7eb);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.t2w-story-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }

/* Story image shine effect */
@keyframes t2w-img-shine {
    0% { left: -80%; }
    100% { left: 130%; }
}


/* ── Section 7: 현지 파트너 (v10 Polish) ─────────── */
.t2w-partners-section {
    padding: 40px 0 32px;
}

/* ── Section 9: AI CTA 배너 (Navy + Blobs) ─────── */
.t2w-ai-banner__card {
    background: #1a2744;
    border-radius: 20px;
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.t2w-ai-banner__card::before {
    content: '';
    position: absolute;
    top: -30%;
    left: 5%;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(96,165,250,0.12);
    filter: blur(80px);
}

.t2w-ai-banner__card::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: 10%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(168,85,247,0.1);
    filter: blur(80px);
}

.t2w-ai-banner__text {
    position: relative;
    z-index: 2;
}

.t2w-ai-banner__title {
    color: #fff;
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.t2w-ai-banner__desc {
    color: rgba(255,255,255,0.65);
    font-size: 15px;
}

.t2w-ai-banner__btn {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 9999px;
    background: #ffb700;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 16px rgba(255,183,0,0.3);
}

.t2w-ai-banner__btn:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,183,0,0.4);
    color: #1a1a1a;
}

/* ── Footer: v10 Polish ──────────────────────────── */
.t2w-footer a:hover {
    color: #ffb700;
}

.t2w-footer__social a:hover {
    background: rgba(255,183,0,0.15);
    color: #ffb700;
}

/* ── Global Section Title Refinement ──────────────── */
.t2w-section-title {
    font-size: clamp(22px, 4vw, 28px);
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* ── v12.1 Mobile Overrides ───────────────────────── */
@media (max-width: 768px) {
    /* Hero: compact, top-aligned */
    .t2w-hero-dark {
        min-height: 360px;
        display: flex;
        align-items: flex-end;
    }
    .t2w-hero-dark__content {
        padding: 86px 16px 28px;
        gap: 10px;
        max-width: 100%;
    }
    .t2w-hero-dark__headline { font-size: 24px; line-height: 1.32; }

    /* Search pill → dark glass compact card */
    .t2w-hero-dark__search-pill {
        display: flex; flex-wrap: wrap;
        border-radius: 14px; padding: 10px;
        gap: 6px; height: auto;
        max-width: 100%; width: 100%;
        background: rgba(0,0,0,0.45);
        -webkit-backdrop-filter: blur(24px);
        backdrop-filter: blur(24px);
        border: 1px solid rgba(255,255,255,0.15);
        box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    }

    /* Row 1: Input */
    .t2w-search-pill__input-section {
        flex: 0 0 100%; border-radius: 10px;
        padding: 9px 12px;
        background: rgba(255,255,255,0.1);
        border: 1px solid rgba(255,255,255,0.15);
    }
    .t2w-search-pill__icon { color: rgba(255,255,255,0.5); font-size: 18px; }
    .t2w-search-pill__input { font-size: 14px; color: #fff; }
    .t2w-search-pill__input::placeholder { color: rgba(255,255,255,0.5); }

    /* Row 2: Controls as compact inline chips */
                                    
    /* Row 3: CTA + AI on same line */
    .t2w-search-pill__ctas { flex: 0 0 100%; gap: 6px; }
    .t2w-search-pill__cta-primary {
        flex: 1; justify-content: center;
        border-radius: 10px; height: 42px; font-size: 14px;
    }
    
    /* Chips: horizontal scroll */
            
    /* Popover → bottom sheet on mobile */
            /* Handle bar */
                /* Bottom sheet backdrop — transparent, tap capture only */
        
    /* Header */
    body.home .t2w-app-header__end { gap: 16px; }

    /* Sections */
    .t2w-svc-icon-card { padding: 8px 14px; }
    .t2w-svc-icon-card__label { font-size: 12px; }
    .t2w-gem-card { height: 240px; }
    .t2w-story-card { flex: 0 0 280px; }
}

/* ── v12.1 Tablet Overrides ──────────────────────── */
@media (min-width: 769px) and (max-width: 1024px) {
    .t2w-hero-dark__content { padding: 90px 20px 32px; }
    .t2w-hero-dark__search-pill { max-width: 640px; }
    /* Popover: tap toggle instead of hover */
            }

/* Soomgo Services section (moved from template-parts/homepage/soomgo-services.php inline <style>, 2026-04-18) */
.soomgo-services__tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.soomgo-services__tab {
    padding: 8px 20px;
    border: 1px solid var(--color-border-light, #E5E7EB);
    border-radius: 50px;
    background: #FFFFFF;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-secondary, #4B5563);
    cursor: pointer;
    transition: all 0.2s ease;
}

.soomgo-services__tab:hover {
    border-color: var(--color-primary, #FFB700);
    color: var(--color-primary, #FFB700);
}

.soomgo-services__tab--active {
    background: var(--color-primary, #FFB700);
    border-color: var(--color-primary, #FFB700);
    color: #FFFFFF;
}

.soomgo-services__footer {
    text-align: center;
    margin-top: 40px;
}

.soomgo-services__more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    border: 2px solid var(--color-primary, #FFB700);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary, #FFB700);
    text-decoration: none;
    transition: all 0.3s ease;
}

.soomgo-services__more-btn:hover {
    background: var(--color-primary, #FFB700);
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .soomgo-services__tabs {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .soomgo-services__tab {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* Soomgo Statistics section (moved from template-parts/homepage/soomgo-statistics.php inline <style>, 2026-04-18) */
.soomgo-statistics {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--color-primary, #FFB700) 0%, var(--color-primary-dark, #E5A400) 100%);
}

.soomgo-statistics__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.soomgo-statistics__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.soomgo-stat {
    text-align: center;
    color: #FFFFFF;
}

.soomgo-stat__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    opacity: 0.9;
}

.soomgo-stat__icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
}

.soomgo-stat__icon svg[fill="currentColor"] {
    fill: currentColor;
    stroke: none;
}

.soomgo-stat__value {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}

.soomgo-stat__suffix {
    font-size: 1.5rem;
}

.soomgo-stat__label {
    font-size: 0.9375rem;
    font-weight: 500;
    opacity: 0.95;
}

@media (max-width: 1024px) {
    .soomgo-statistics__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 24px;
    }
}

@media (max-width: 480px) {
    .soomgo-statistics {
        padding: 48px 0;
    }

    .soomgo-statistics__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 16px;
    }

    .soomgo-stat__value {
        font-size: 2rem;
    }

    .soomgo-stat__icon {
        width: 40px;
        height: 40px;
    }
}

/* Soomgo CTA section (moved from template-parts/homepage/soomgo-cta.php inline <style>, 2026-04-18) */
.soomgo-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-primary, #FFB700) 0%, var(--color-primary-dark, #E5A400) 100%);
    position: relative;
    overflow: hidden;
}

.soomgo-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/svg%3E");
}

.soomgo-cta__container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.soomgo-cta__content {
    text-align: center;
}

.soomgo-cta__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 12px;
}

.soomgo-cta__description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 32px;
}

.soomgo-cta__button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #FFFFFF;
    color: var(--color-primary-dark, #E5A400);
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.soomgo-cta__button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    color: var(--color-primary-dark, #CC9200);
}

.soomgo-cta__button svg {
    transition: transform 0.3s ease;
}

.soomgo-cta__button:hover svg {
    transform: translateX(4px);
}

.soomgo-cta__features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 32px;
}

.soomgo-cta__feature {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #FFFFFF;
}

.soomgo-cta__feature svg {
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .soomgo-cta {
        padding: 60px 0;
    }

    .soomgo-cta__features {
        flex-direction: column;
        gap: 12px;
    }

    .soomgo-cta__button {
        width: 100%;
        justify-content: center;
    }
}

/* Soomgo Testimonials section (moved from template-parts/homepage/soomgo-testimonials.php inline <style>, 2026-04-18) */
.soomgo-testimonials {
    padding: 80px 0;
    background: var(--color-background, #F9FAFB);
}

.soomgo-testimonials__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.soomgo-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.soomgo-testimonial-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.soomgo-testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.soomgo-testimonial-card__rating {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
    color: var(--color-primary, #FFB700);
}

.soomgo-testimonial-card__content {
    font-size: 0.9375rem;
    color: var(--color-text-secondary, #4B5563);
    line-height: 1.7;
    margin: 0 0 20px;
    min-height: 80px;
}

.soomgo-testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border-light, #E5E7EB);
}

.soomgo-testimonial-card__avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--color-primary, #FFB700) 0%, var(--color-primary-dark, #E5A400) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    color: #FFFFFF;
}

.soomgo-testimonial-card__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.soomgo-testimonial-card__name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text-primary, #1F2937);
}

.soomgo-testimonial-card__service {
    font-size: 0.8125rem;
    color: var(--color-text-tertiary, #9CA3AF);
}

.soomgo-testimonials__footer {
    text-align: center;
}

.soomgo-testimonials__more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text-secondary, #6B7280);
    text-decoration: none;
    transition: all 0.2s ease;
}

.soomgo-testimonials__more-link:hover {
    color: var(--color-primary, #FFB700);
}

.soomgo-testimonials__more-link svg {
    transition: transform 0.2s ease;
}

.soomgo-testimonials__more-link:hover svg {
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .soomgo-testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .soomgo-testimonials {
        padding: 60px 0;
    }

    .soomgo-testimonials__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .soomgo-testimonial-card__content {
        min-height: auto;
    }
}

/* Soomgo How-It-Works section (moved from template-parts/homepage/soomgo-how-it-works.php inline <style>, 2026-04-18) */
.soomgo-how-it-works {
    padding: 80px 0;
    background: #FFFFFF;
}

.soomgo-how-it-works__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.soomgo-steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 48px;
}

.soomgo-step {
    flex: 1;
    max-width: 280px;
    text-align: center;
    padding: 32px 24px;
}

.soomgo-step__icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(255, 183, 0, 0.1) 0%, rgba(255, 183, 0, 0.05) 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.soomgo-step:hover .soomgo-step__icon {
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(255, 183, 0, 0.2) 0%, rgba(255, 183, 0, 0.1) 100%);
}

.soomgo-step__icon svg {
    width: 32px;
    height: 32px;
    color: var(--color-primary, #FFB700);
}

.soomgo-step__number {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 28px;
    height: 28px;
    background: var(--color-primary, #FFB700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #FFFFFF;
}

.soomgo-step__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-primary, #1F2937);
    margin: 0 0 8px;
}

.soomgo-step__desc {
    font-size: 0.9375rem;
    color: var(--color-text-secondary, #6B7280);
    line-height: 1.6;
    margin: 0;
}

.soomgo-step__connector {
    display: flex;
    align-items: center;
    padding-top: 40px;
    color: var(--color-border-light, #E5E7EB);
}

.soomgo-how-it-works__cta {
    text-align: center;
}

.soomgo-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.soomgo-btn--primary {
    background: var(--color-primary, #FFB700);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(255, 183, 0, 0.3);
}

.soomgo-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 183, 0, 0.4);
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .soomgo-how-it-works {
        padding: 60px 0;
    }

    .soomgo-steps {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .soomgo-step {
        max-width: 100%;
        padding: 24px;
    }

    .soomgo-step__connector {
        transform: rotate(90deg);
        padding: 16px 0;
    }
}

/* Soomgo Vendors section (moved from template-parts/homepage/soomgo-vendors.php inline <style>, 2026-04-18) */
.soomgo-vendors {
    padding: 80px 0;
    background: var(--color-background, #F9FAFB);
}

.soomgo-vendors__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.soomgo-vendors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.soomgo-vendor-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.soomgo-vendor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.soomgo-vendor-card__avatar {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
}

.soomgo-vendor-card__avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.soomgo-vendor-card__verified {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 24px;
    height: 24px;
    background: var(--color-primary, #FFB700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.soomgo-vendor-card__name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-primary, #1F2937);
    margin: 0 0 4px;
}

.soomgo-vendor-card__category {
    font-size: 0.8125rem;
    color: var(--color-text-secondary, #6B7280);
    display: block;
    margin-bottom: 8px;
}

.soomgo-vendor-card__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 12px;
}

.soomgo-vendor-card__stars {
    display: flex;
    gap: 2px;
}

.soomgo-vendor-card__star {
    fill: #E5E7EB;
    stroke: none;
}

.soomgo-vendor-card__star.filled {
    fill: var(--color-primary, #FFB700);
}

.soomgo-vendor-card__rating-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-primary, #1F2937);
}

.soomgo-vendor-card__review-count {
    font-size: 0.75rem;
    color: var(--color-text-secondary, #6B7280);
}

.soomgo-vendor-card__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.soomgo-vendor-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.6875rem;
    font-weight: 500;
}

.soomgo-vendor-card__badge--response {
    background: #ECFDF5;
    color: #059669;
}

.soomgo-vendor-card__badge--reviews {
    background: #EFF6FF;
    color: #2563EB;
}

.soomgo-vendors__footer {
    text-align: center;
}

.soomgo-vendors__more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    border: 2px solid var(--color-primary, #FFB700);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary, #FFB700);
    text-decoration: none;
    transition: all 0.3s ease;
}

.soomgo-vendors__more-btn:hover {
    background: var(--color-primary, #FFB700);
    color: #FFFFFF;
}

@media (max-width: 1024px) {
    .soomgo-vendors-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .soomgo-vendors {
        padding: 60px 0;
    }

    .soomgo-vendors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .soomgo-vendor-card {
        padding: 16px;
    }

    .soomgo-vendor-card__avatar {
        width: 64px;
        height: 64px;
    }
}

@media (max-width: 480px) {
    .soomgo-vendors-grid {
        grid-template-columns: 1fr;
    }
}

/* Soomgo Destinations section (moved from template-parts/homepage/soomgo-destinations.php inline <style>, 2026-04-18) */
.soomgo-destinations {
    padding: 80px 0;
    background: #FFFFFF;
}

.soomgo-destinations__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.soomgo-destinations__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 24px;
    margin-bottom: 40px;
}

.soomgo-destination-card--featured {
    grid-column: span 1;
}

.soomgo-destination-card {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.soomgo-destination-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.soomgo-destination-card__image {
    position: relative;
    height: 180px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.soomgo-destination-card--featured .soomgo-destination-card__image {
    height: 200px;
}

.soomgo-destination-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.soomgo-destination-card:hover .soomgo-destination-card__image img {
    transform: scale(1.05);
}

.soomgo-destination-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    background: var(--color-primary, #FFB700);
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
}

.soomgo-destination-card__content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.soomgo-destination-card__header {
    margin-bottom: 8px;
}

.soomgo-destination-card__name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text-primary, #1F2937);
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.soomgo-destination-card__name-en {
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--color-text-tertiary, #9CA3AF);
}

.soomgo-destination-card__description {
    font-size: 0.875rem;
    color: var(--color-text-secondary, #6B7280);
    line-height: 1.5;
    margin: 0 0 12px;
    flex: 1;
}

.soomgo-destination-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.soomgo-destination-card__tag {
    display: inline-flex;
    padding: 4px 10px;
    background: var(--color-background-secondary, #F3F4F6);
    color: var(--color-text-secondary, #6B7280);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 12px;
}

.soomgo-destination-card__cta {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-top: 12px;
    border-top: 1px solid var(--color-border-light, #E5E7EB);
    color: var(--color-primary, #FFB700);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.soomgo-destination-card:hover .soomgo-destination-card__cta {
    gap: 10px;
}

.soomgo-destinations__footer {
    text-align: center;
}

.soomgo-destinations__more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    border: 2px solid var(--color-primary, #FFB700);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary, #FFB700);
    text-decoration: none;
    transition: all 0.3s ease;
}

.soomgo-destinations__more-link:hover {
    background: var(--color-primary, #FFB700);
    color: #FFFFFF;
}

.soomgo-destinations__more-link svg {
    transition: transform 0.2s ease;
}

.soomgo-destinations__more-link:hover svg {
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .soomgo-destinations__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .soomgo-destination-card--featured {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .soomgo-destinations {
        padding: 60px 0;
    }

    .soomgo-destinations__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .soomgo-destination-card__image,
    .soomgo-destination-card--featured .soomgo-destination-card__image {
        height: 160px;
    }
}

@media (max-width: 480px) {
    .soomgo-destination-card__content {
        padding: 16px;
    }

    .soomgo-destination-card__name {
        font-size: 1rem;
        flex-direction: column;
        gap: 2px;
    }
}

/* AI Recommendations section (moved from template-parts/homepage/ai-recommendations.php inline <style>, 2026-04-18) */
.ai-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #FFFBEB 0%, #FFFFFF 100%);
}

.ai-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.ai-section .section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.ai-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.ai-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #FFB700 0%, #E5A400 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(255, 183, 0, 0.3);
}

.ai-section .section-title {
    font-family: 'Poppins', 'Pretendard', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 1rem;
}

.ai-section .section-description {
    font-size: 1.125rem;
    color: #6B7280;
    max-width: 600px;
    margin: 0 auto;
}

.ai-status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    margin-left: 6px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.ai-refresh-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 183, 0, 0.1);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #FFB700;
}

.ai-refresh-btn:hover {
    background: rgba(255, 183, 0, 0.2);
    transform: rotate(90deg);
}

.ai-refresh-btn.loading svg {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.ai-personalized-note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 1rem;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50px;
    font-size: 0.875rem;
    color: #10B981;
}

.ai-personalized-icon {
    font-size: 1rem;
}

.ai-cards-grid.loading {
    opacity: 0.6;
    pointer-events: none;
}

.ai-cards-grid.loading .ai-card {
    animation: shimmer 1.5s ease infinite;
}

@keyframes shimmer {
    0% { opacity: 0.6; }
    50% { opacity: 0.4; }
    100% { opacity: 0.6; }
}

.ai-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.ai-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.ai-card:hover {
    transform: translateY(-8px) perspective(1000px) rotateX(2deg);
    box-shadow: 0 20px 40px rgba(255, 183, 0, 0.15);
    border-color: rgba(255, 183, 0, 0.3);
}

.ai-card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.ai-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ai-card:hover .ai-card-image img {
    transform: scale(1.1);
}

.ai-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #FFB700 0%, #E5A400 100%);
    color: #fff;
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(255, 183, 0, 0.4);
}

.ai-card-content {
    padding: 1.5rem;
}

.ai-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.ai-card-description {
    font-size: 0.9375rem;
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.ai-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #E5E7EB;
}

.ai-card-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.ai-card-rating .star {
    color: #FFB700;
    font-size: 1rem;
}

.ai-card-rating .rating-value {
    font-weight: 700;
    color: #1F2937;
}

.ai-card-rating .review-count {
    font-size: 0.875rem;
    color: #9CA3AF;
}

.ai-card-price {
    text-align: right;
}

.ai-card-price .price-label {
    font-size: 0.75rem;
    color: #9CA3AF;
    display: block;
}

.ai-card-price .price-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1F2937;
}

.ai-card-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    background: linear-gradient(135deg, #FFB700 0%, #E5A400 100%);
    color: #fff;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ai-card-link:hover {
    box-shadow: 0 4px 15px rgba(255, 183, 0, 0.4);
    color: #fff;
}

.ai-card-link svg {
    transition: transform 0.3s ease;
}

.ai-card-link:hover svg {
    transform: translateX(4px);
}

.ai-view-more {
    text-align: center;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .ai-section {
        padding: 4rem 0;
    }

    .ai-cards-grid {
        grid-template-columns: 1fr;
    }

    .ai-card-image {
        height: 180px;
    }
}

/* AI Planner Section (moved from template-parts/homepage/ai-planner-section.php inline <style>, 2026-04-18) */
.ai-planner-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a2b4a 0%, #2d4a7c 100%);
    position: relative;
    overflow: hidden;
}

.ai-planner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
    background-size: 30px 30px;
    pointer-events: none;
}

.ai-planner-section .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.ai-planner-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ai-planner-content {
    color: #fff;
}

.ai-planner-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201, 162, 39, 0.2);
    color: #ffd54f;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(201, 162, 39, 0.3);
}

.badge-icon {
    font-size: 1rem;
}

.ai-planner-title {
    font-family: 'Poppins', 'Pretendard', sans-serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.ai-planner-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.ai-planner-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(201, 162, 39, 0.3);
}

.feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-text strong {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
}

.feature-text span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.ai-planner-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #c9a227 0%, #a68821 100%);
    color: #fff;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.4);
}

.ai-planner-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(201, 162, 39, 0.5);
    color: #fff;
}

.ai-planner-cta svg {
    transition: transform 0.3s ease;
}

.ai-planner-cta:hover svg {
    transform: translateX(4px);
}

.cta-icon {
    font-size: 1.3rem;
}

.ai-planner-visual {
    position: relative;
}

.visual-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: rotate(2deg);
    transition: all 0.4s ease;
}

.visual-card:hover {
    transform: rotate(0deg) scale(1.02);
}

.visual-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: linear-gradient(135deg, #1a2b4a 0%, #2d4a7c 100%);
    color: #fff;
}

.visual-title {
    font-weight: 600;
    font-size: 1rem;
}

.visual-tag {
    background: #c9a227;
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.visual-timeline {
    padding: 20px;
}

.timeline-item {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-day {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #c9a227;
    margin-bottom: 8px;
}

.timeline-places {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.place-tag {
    display: inline-block;
    background: #f8f6f0;
    color: #333;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.visual-footer {
    display: flex;
    justify-content: space-around;
    padding: 16px 20px;
    background: #f8f6f0;
}

.footer-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
}

.stat-icon {
    font-size: 1rem;
}

.floating-element {
    position: absolute;
    font-size: 2rem;
    opacity: 0.3;
    animation: float 3s ease-in-out infinite;
}

.floating-1 {
    top: -20px;
    right: 20%;
    animation-delay: 0s;
}

.floating-2 {
    bottom: 20%;
    left: -30px;
    animation-delay: 1s;
}

.floating-3 {
    top: 40%;
    right: -20px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@media (max-width: 1024px) {
    .ai-planner-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .ai-planner-visual {
        order: -1;
    }

    .visual-card {
        transform: rotate(0deg);
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .ai-planner-section {
        padding: 4rem 0;
    }

    .ai-planner-features {
        grid-template-columns: 1fr;
    }

    .ai-planner-cta {
        width: 100%;
        justify-content: center;
    }

    .floating-element {
        display: none;
    }
}

/* ================================================================
 * S132 Slice 1 v4 (2026-05-18) — Current homepage baseline:
 *   - Hero: headline + subtitle + primary search bar
 *   - .t2w-home-primary: compact chip board below hero
 *   - .t2w-home-secondary: legacy small search surface kept as fallback
 * Existing .t2w-hero-dark__chip / __pill / __detail classes preserved
 * (chip click handler selector + popover styles unchanged).
 * Override: chip background/color for light-bg context inside .t2w-home-primary.
 * ================================================================ */

/* ── Hero subtitle (brand-only hero) ── */
.t2w-hero-dark__sub {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.72);
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
    text-align: center;
}

/* ── PRIMARY: chip board section ── */
.t2w-home-primary {
    background: linear-gradient(180deg, rgba(247,245,239,0.0) 0%, #f7f5ef 30%, #f7f5ef 100%);
    padding: 22px 16px 18px;
    position: relative;
    z-index: 3;
    margin-top: -14px;
}
.t2w-home-primary__inner {
    max-width: 1100px;
    margin: 0 auto;
}
.t2w-home-primary__heading {
    text-align: center;
    margin-bottom: 14px;
}
.t2w-home-primary__title {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: #7a5800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.t2w-home-primary__sub {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #9a8b6a;
    margin-top: 3px;
}

.t2w-home-primary .t2w-hero-dark__chip {
    background: #fff;
    border: 1px solid #e8dfc7;
    color: #3d2c00;
    padding: 8px 14px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    box-shadow: 0 1px 3px rgba(33,27,19,0.06);
    text-shadow: none;
    transition: all 0.2s;
}
.t2w-home-primary .t2w-hero-dark__chip:hover {
    background: #fffaee;
    border-color: #FFB700;
    color: #7a5800;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255,183,0,0.15);
}

/* ── SECONDARY: small AI request section ── */
.t2w-home-secondary {
    background: #f7f5ef;
    padding: 0 16px;
}
.t2w-home-secondary__inner {
    max-width: 740px;
    margin: 0 auto;
}

.t2w-home-hero-search.t2w-hero-dark__search-pill {
    margin-top: 18px;
}

@media (max-width: 768px) {
    .t2w-hero-dark__sub {
        font-size: 13px;
        margin-top: 10px;
    }
    .t2w-home-primary {
        padding: 14px 0 12px;
        margin-top: 0;
    }
    .t2w-home-primary__inner {
        max-width: 100%;
    }
    .t2w-home-primary__heading {
        margin: 0 16px 12px;
        text-align: left;
    }
    .t2w-home-primary__title {
        font-size: 12px;
    }
    .t2w-home-primary__sub {
        font-size: 11px;
    }
                    .t2w-home-primary .t2w-hero-dark__chip {
        flex: 0 0 auto;
        min-width: 132px;
        width: auto;
        font-size: 12.5px;
        justify-content: center;
        min-height: 44px;
        padding: 0 13px;
        scroll-snap-align: start;
        white-space: nowrap;
    }
    .t2w-home-secondary {
        padding: 0 16px;
    }
        }

/* ================================================================
 * S132 Search Discovery MVP — homepage search is course/place search,
 * not instant itinerary generation.
 * ================================================================ */
.t2w-home-secondary .t2w-search-pill__input-section {
    flex: 1 1 auto;
}
.t2w-site-search {
    display: none;
    margin: 0 auto;
    max-width: 740px;
    padding: 18px 0 8px;
}
.t2w-site-search.is-active {
    display: block;
}
.t2w-site-search__panel {
    background: #fff;
    border: 1px solid #e8dfc7;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(33,27,19,0.08);
    padding: 14px;
}
.t2w-site-search__group + .t2w-site-search__group {
    margin-top: 14px;
}
.t2w-site-search__group h3 {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 800;
    color: #3d2c00;
}
.t2w-site-search__list {
    display: grid;
    gap: 8px;
}
.t2w-site-search__item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid #efe6d0;
    border-radius: 12px;
    color: #2c2415;
    text-decoration: none;
    background: #fffdf8;
    transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.t2w-site-search__item:hover {
    background: #fff8e8;
    border-color: #ffcf63;
    transform: translateY(-1px);
}
.t2w-site-search__item-type {
    font-size: 11px;
    font-weight: 800;
    color: #7a5800;
    background: #fff2c8;
    border-radius: 999px;
    padding: 4px 7px;
}
.t2w-site-search__item-body {
    min-width: 0;
}
.t2w-site-search__item-body strong,
.t2w-site-search__item-body small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.t2w-site-search__item-body strong {
    font-size: 14px;
    font-weight: 800;
}
.t2w-site-search__item-body small,
.t2w-site-search__item > span:last-child {
    font-size: 12px;
    color: #8a7b65;
}
.t2w-site-search__more {
    margin: 8px 0 0;
    font-size: 12px;
    color: #8a7b65;
}
.t2w-site-search__empty {
    text-align: center;
    padding: 10px 8px 4px;
}
.t2w-site-search__empty strong {
    display: block;
    font-size: 14px;
    color: #3d2c00;
}
.t2w-site-search__empty p,
.t2w-site-search__message {
    margin: 6px 0 0;
    font-size: 13px;
    color: #8a7b65;
}
.t2w-site-search__assist {
    width: 100%;
    margin-top: 12px;
    height: 42px;
    border: 1px solid #e8dfc7;
    border-radius: 12px;
    background: #f7f5ef;
    color: #3d2c00;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}
.t2w-site-search__assist:hover {
    background: #fff8e8;
    border-color: #ffcf63;
}

/* ================================================================
 * S132 M4 — Homepage mobile v4 structure:
 * compact hero search + persistent chip priority + contained result panel.
 * Search results must not push the chip board down the page.
 * ================================================================ */
.t2w-home-secondary {
    position: fixed;
    inset: 0;
    z-index: 10020;
    padding: 0;
    background: transparent;
    pointer-events: none;
}

body.t2w-site-search-open .t2w-home-secondary {
    pointer-events: auto;
}

.t2w-home-secondary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(24, 22, 16, 0.28);
    opacity: 0;
    transition: opacity 0.16s ease;
    pointer-events: none;
}

body.t2w-site-search-open .t2w-home-secondary::before {
    opacity: 1;
}

.t2w-home-secondary__inner {
    max-width: none;
    margin: 0;
}

.t2w-site-search {
    position: absolute;
    left: 50%;
    top: 404px;
    width: min(740px, calc(100vw - 32px));
    max-width: none;
    margin: 0;
    padding: 0;
    transform: translateX(-50%);
}

.t2w-site-search__panel {
    max-height: min(420px, calc(100vh - 430px));
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.t2w-site-search__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px 10px;
    border-bottom: 1px solid #f0e8d8;
}

.t2w-site-search__head strong {
    display: block;
    font-size: 15px;
    color: #3d2c00;
}

.t2w-site-search__head small {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: #8a7b65;
}

.t2w-site-search__close {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: #f3f0e9;
    color: #554b3b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.t2w-site-search__close .material-symbols-outlined {
    font-size: 18px;
}

.t2w-site-search__tabs {
    display: flex;
    gap: 8px;
    padding: 10px 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.t2w-site-search__tabs span {
    flex: 0 0 auto;
    padding: 7px 12px;
    border-radius: 999px;
    background: #f6f2e9;
    color: #685b47;
    font-size: 12px;
    font-weight: 800;
}

.t2w-site-search__tabs span.is-active {
    background: #FFB700;
    color: #181610;
}

.t2w-site-search__body {
    overflow-y: auto;
    padding: 0 14px 16px;
}

@media (max-width: 768px) {
    .t2w-hero-dark {
        min-height: 332px;
    }
    .t2w-hero-dark__content {
        padding: 82px 16px 22px;
        gap: 8px;
    }
    .t2w-hero-dark__headline {
        font-size: 24px;
    }
    .t2w-home-hero-search.t2w-hero-dark__search-pill {
        height: 54px;
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 8px;
        padding: 7px;
        border: none;
        border-radius: 999px;
        background: rgba(255,255,255,0.96);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        box-shadow: 0 8px 28px rgba(0,0,0,0.18);
    }
    .t2w-home-hero-search .t2w-search-pill__input-section {
        flex: 1 1 auto;
        flex-basis: auto;
        min-width: 0;
        padding: 0 8px;
        border: none;
        border-radius: 999px;
        background: transparent;
    }
    .t2w-home-hero-search .t2w-search-pill__icon {
        color: #9ca3af;
    }
    .t2w-home-hero-search .t2w-search-pill__input {
        color: #1a1a1a;
        font-size: 14px;
    }
    .t2w-home-hero-search .t2w-search-pill__input::placeholder {
        color: #9ca3af;
    }
    .t2w-home-hero-search .t2w-search-pill__ctas {
        flex: 0 0 auto;
        gap: 0;
    }
    .t2w-home-hero-search .t2w-search-pill__cta-primary {
        flex: 0 0 auto;
        min-width: 72px;
        height: 40px;
        padding: 0 14px;
        border-radius: 999px;
        font-size: 13px;
    }
    .t2w-home-hero-search .t2w-search-pill__cta-primary .material-symbols-outlined {
        display: none;
    }
    .t2w-home-primary {
        padding-top: 14px;
    }
        .t2w-home-secondary .t2w-search-pill__input-section {
        flex: 1 1 100%;
        background: #f7f5ef;
        border: 1px solid #eee5cf;
        border-radius: 13px;
    }
    .t2w-home-secondary .t2w-search-pill__icon {
        color: #9ca3af;
    }
    .t2w-home-secondary .t2w-search-pill__input {
        color: #1a1a1a;
    }
    .t2w-home-secondary .t2w-search-pill__input::placeholder {
        color: #9ca3af;
    }
    .t2w-home-secondary .t2w-search-pill__ctas {
        flex: 0 0 100%;
    }
    body.t2w-site-search-open .t2w-home-secondary::before {
        pointer-events: auto;
    }
    .t2w-site-search {
        left: 10px;
        right: 10px;
        top: auto;
        bottom: calc(82px + env(safe-area-inset-bottom));
        width: auto;
        transform: none;
    }
    .t2w-site-search__panel {
        max-height: min(55vh, 470px);
        border-radius: 22px;
        box-shadow: 0 -16px 40px rgba(24,22,16,0.22);
    }
    .t2w-site-search__item {
        grid-template-columns: auto 1fr;
    }
    .t2w-site-search__item > span:last-child {
        grid-column: 2;
    }
    .t2w-site-search__body {
        padding-bottom: calc(16px + env(safe-area-inset-bottom));
    }
}


/* S133 v51: real home hero phone + compact product carousel polish */
.t2w-hero-dark {
    min-height: 340px;
    overflow: hidden;
}
.t2w-hero-dark__inner {
    position: relative;
    z-index: 10;
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px 22px 12px;
    display: grid;
    grid-template-columns: minmax(0, 1.34fr) minmax(250px, 0.66fr);
    gap: 18px;
    align-items: center;
}
.t2w-hero-dark__content--split {
    align-items: flex-start;
    text-align: left;
    max-width: none;
    margin: 0;
    padding: 0;
    gap: 10px;
}
.t2w-hero-dark__content--split .t2w-hero-dark__headline {
    max-width: 620px;
}
.t2w-hero-dark__content--split .t2w-hero-dark__sub {
    text-align: left;
}
.t2w-hero-dark__content--split .t2w-hero-dark__search-pill {
    width: 100%;
    max-width: 680px;
}
.t2w-hero-proof-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}
.t2w-hero-proof-row span {
    color: #fff;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 14px;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 800;
}
.t2w-hero-phone {
    min-height: 292px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.t2w-hero-phone::before {
    content: '';
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,189,46,.22), rgba(255,189,46,0) 68%);
    filter: blur(4px);
}
.t2w-hero-phone__mock {
    width: 246px;
    height: 438px;
    border-radius: 40px;
    background: linear-gradient(145deg,#0b1220,#1f2937);
    padding: 10px;
    box-shadow: 0 24px 56px rgba(15,23,42,.22), inset 0 0 0 1px rgba(255,255,255,.12);
    position: relative;
    transform: rotate(1.5deg);
}
.t2w-hero-phone__mock::before {
    content: '';
    position: absolute;
    top: 9px;
    left: 50%;
    transform: translateX(-50%);
    width: 78px;
    height: 20px;
    border-radius: 0 0 17px 17px;
    background: #0b1220;
    z-index: 5;
}
.t2w-hero-phone__screen {
    height: 100%;
    border-radius: 31px;
    background: #f8fafc;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.2);
    position: relative;
}
.t2w-hero-phone__status {
    height: 27px;
    padding: 8px 18px 0;
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    font-weight: 900;
    color: #111827;
    background: #fffaf0;
}
.t2w-hero-phone__app-top {
    padding: 9px 14px 10px;
    background: linear-gradient(135deg,#ffbd2e 0%,#fff1b8 100%);
    border-bottom: 1px solid rgba(245,158,11,.18);
}
.t2w-hero-phone__app-top small {
    display: flex;
    justify-content: space-between;
    color: #8a6418;
    font-size: 10px;
    font-weight: 950;
}
.t2w-hero-phone__app-top h3 {
    margin: 4px 0 5px;
    font-size: 18px;
    letter-spacing: -.055em;
    line-height: 1.05;
}
.t2w-hero-phone__meta {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}
.t2w-hero-phone__meta span {
    background: rgba(255,255,255,.62);
    border: 1px solid rgba(138,100,24,.12);
    border-radius: 999px;
    padding: 4px 7px;
    font-size: 9px;
    font-weight: 900;
    color: #7c4a03;
}
.t2w-hero-phone__tabs {
    display: flex;
    gap: 5px;
    padding: 9px 10px;
    background: #fff;
}
.t2w-hero-phone__tab {
    flex: 1;
    border-radius: 999px;
    padding: 6px 0;
    font-size: 10px;
    font-weight: 950;
    background: #f3f4f6;
    color: #667085;
}
.t2w-hero-phone__tab.is-active {
    background: #111827;
    color: #fff;
}
.t2w-hero-phone__content {
    position: absolute;
    left: 0;
    right: 0;
    top: 136px;
    bottom: 82px;
    overflow: hidden;
}
.t2w-hero-phone__panel {
    display: none;
    padding: 0 10px 8px;
}
.t2w-hero-phone__panel.is-active { display: block; }
.t2w-hero-phone__card {
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 18px;
    padding: 10px;
    box-shadow: 0 8px 18px rgba(15,23,42,.055);
}
.t2w-hero-phone__day-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.t2w-hero-phone__day-head b { font-size: 13px; }
.t2w-hero-phone__day-head em {
    font-style: normal;
    color: #f97316;
    font-size: 10px;
    font-weight: 950;
}
.t2w-hero-phone__map {
    height: 40px;
    margin: 7px 0;
    border-radius: 14px;
    background: linear-gradient(135deg,#dbeafe,#ecfeff);
    position: relative;
    overflow: hidden;
}
.t2w-hero-phone__map::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 21px;
    width: 280px;
    height: 2px;
    background: repeating-linear-gradient(90deg,#60a5fa 0 16px,transparent 16px 24px);
    transform: rotate(-7deg);
}
.t2w-hero-phone__map .pin {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ef4444;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.22);
}
.t2w-hero-phone__map .p1 { left: 36px; top: 11px; }
.t2w-hero-phone__map .p2 { left: 118px; top: 20px; }
.t2w-hero-phone__map .p3 { right: 42px; top: 10px; }
.t2w-hero-phone__stop {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 8px;
    position: relative;
    padding: 5px 0;
}
.t2w-hero-phone__stop::before {
    content: '';
    position: absolute;
    left: 17px;
    top: 24px;
    bottom: -8px;
    width: 1px;
    background: #e5e7eb;
}
.t2w-hero-phone__stop:last-child::before { display: none; }
.t2w-hero-phone__stop .time {
    font-size: 10px;
    font-weight: 950;
    color: #8a6418;
}
.t2w-hero-phone__stop b {
    display: block;
    font-size: 12px;
    letter-spacing: -.02em;
}
.t2w-hero-phone__stop p {
    margin: 2px 0 0;
    color: #667085;
    font-size: 10px;
    line-height: 1.25;
}
.t2w-hero-phone__stop span {
    display: inline-block;
    margin-top: 4px;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 999px;
    padding: 3px 6px;
    font-size: 9px;
    font-weight: 900;
}
.t2w-hero-phone__stop--gap > div:last-child {
    border: 1.5px dashed #d7b766;
    background: #fff9e8;
    border-radius: 13px;
    padding: 8px;
}
.t2w-hero-phone__stop--gap span {
    background: #fff7ed;
    color: #ea580c;
}
.t2w-hero-phone__offer {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: #10243d;
    color: #fff;
    border-radius: 21px;
    padding: 11px;
    box-shadow: 0 13px 30px rgba(16,36,61,.26);
}
.t2w-hero-phone__offer small,
.t2w-hero-phone__offer > div {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: center;
}
.t2w-hero-phone__offer small {
    color: #cbd5e1;
    font-size: 10px;
    margin-bottom: 7px;
}
.t2w-hero-phone__offer > div {
    background: rgba(255,255,255,.1);
    border-radius: 13px;
    padding: 8px;
    font-size: 11px;
}
.t2w-hero-phone__offer strong { color: #ffbd2e; }
.t2w-hero-phone__offer button {
    background: #ffbd2e;
    color: #111827;
    border-radius: 999px;
    padding: 5px 8px;
    font-size: 10px;
    font-weight: 950;
}
.t2w-hero-phone__float {
    position: absolute;
    z-index: 2;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 8px 10px;
    font-size: 11px;
    font-weight: 950;
    box-shadow: 0 12px 30px rgba(15,23,42,.13);
}
.t2w-hero-phone__float--left { left: -22px; top: 56px; }
.t2w-hero-phone__float--right { right: -18px; bottom: 70px; }
.t2w-prodcat-carousel-shell {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 58px;
}
.t2w-prodcat-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    padding: 4px 2px 18px;
}
.t2w-prodcat-viewport::-webkit-scrollbar { display: none; }
.t2w-prodcat-rail {
    display: flex;
    gap: 14px;
    align-items: stretch;
}
.t2w-prodcat-carousel-shell .t2w-prodcat-card-v2 {
    flex: 0 0 238px;
    width: 238px;
    scroll-snap-align: start;
}
.t2w-prodcat-carousel-shell:not(.t2w-prodcat-carousel-shell--expanded) .t2w-prodcat-card--secondary {
    display: none;
}
.t2w-prodcat-carousel-shell--filtered:not(.t2w-prodcat-carousel-shell--expanded) .t2w-prodcat-card--secondary {
    display: block;
}
.t2w-prodcat-carousel-shell--expanded .t2w-prodcat-viewport {
    overflow: visible;
}
.t2w-prodcat-carousel-shell--expanded .t2w-prodcat-rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.t2w-prodcat-carousel-shell--expanded .t2w-prodcat-card-v2 {
    width: auto;
    flex: none;
}
.t2w-prodcat-arrow {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--hp-border-light, #e5e7eb);
    color: #111827;
    box-shadow: 0 10px 24px rgba(15,23,42,.12);
    display: grid;
    place-items: center;
}
.t2w-prodcat-arrow--prev { left: 12px; }
.t2w-prodcat-arrow--next { right: 12px; }
.t2w-prodcat-carousel-shell--expanded .t2w-prodcat-arrow { display: none; }
.t2w-prodcat-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}
.t2w-prodcat-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 800;
}
.t2w-prodcat-more .material-symbols-outlined { font-size: 18px; }
.t2w-prodcat-hint {
    margin: 0;
    color: var(--hp-text-muted, #667085);
    font-size: 12px;
}
@media (max-width: 1024px) {
    .t2w-hero-dark__inner { grid-template-columns: 1fr; }
    .t2w-hero-phone { min-height: 420px; }
    .t2w-hero-phone__float--left { left: 12%; }
    .t2w-hero-phone__float--right { right: 12%; }
    .t2w-prodcat-carousel-shell--expanded .t2w-prodcat-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .t2w-hero-dark__inner { padding: 16px 14px 10px; }
    .t2w-hero-dark__content--split { align-items: center; text-align: center; }
    .t2w-hero-dark__content--split .t2w-hero-dark__sub { text-align: center; }
    .t2w-hero-proof-row { justify-content: center; }
    .t2w-hero-phone__mock { width: 226px; height: 404px; }
    .t2w-hero-phone__float { display: none; }
    .t2w-prodcat-carousel-shell { padding: 0 18px; }
    .t2w-prodcat-arrow { display: none; }
    .t2w-prodcat-carousel-shell .t2w-prodcat-card-v2 { flex-basis: 220px; width: 220px; }
    .t2w-prodcat-carousel-shell--expanded .t2w-prodcat-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    .t2w-hero-phone { display: none; }
    .t2w-prodcat-carousel-shell--expanded .t2w-prodcat-rail { grid-template-columns: 1fr; }
}

/* v52: Community fallback social proof when the local DB has no approved photo stories. */
.t2w-comm-v2-section--fallback {
    background: #fff;
}

.t2w-comm-fallback-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.t2w-comm-fallback-card {
    display: flex;
    min-height: 210px;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
    color: #0f172a;
    text-decoration: none;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(255, 184, 0, .22), transparent 34%),
        linear-gradient(135deg, #fffaf0 0%, #fff 48%, #f8fbff 100%);
    box-shadow: 0 16px 34px rgba(15, 23, 42, .08);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.t2w-comm-fallback-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 184, 0, .38);
    box-shadow: 0 20px 42px rgba(15, 23, 42, .12);
}

.t2w-comm-fallback-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.t2w-comm-fallback-card__avatar {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-weight: 900;
}

.t2w-comm-fallback-card__icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(255, 184, 0, .16);
    color: #f5a400;
    font-size: 26px;
}

.t2w-comm-fallback-card__quote {
    margin: 24px 0 18px;
    color: #111827;
    font-size: 18px;
    font-weight: 850;
    line-height: 1.5;
    word-break: keep-all;
}

.t2w-comm-fallback-card__meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.t2w-comm-fallback-card__meta span,
.t2w-comm-fallback-card__meta em {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.t2w-comm-fallback-card__meta span {
    background: #fff3c4;
    color: #8a5a00;
}

.t2w-comm-fallback-card__meta em {
    background: #eef2f7;
    color: #64748b;
}

@media (max-width: 900px) {
    .t2w-comm-fallback-grid {
        grid-template-columns: 1fr;
    }

    .t2w-comm-fallback-card {
        min-height: 180px;
    }
}

/* v54: prototype-first correction after design reject (no runtime/DB changes)
   Goal: make the operating homepage visually follow the stronger prototype, not merely pass functional QA. */

.t2w-home {
    background: #f3f5f9;
}

/* Hero: tighten the first fold and let the photo/search/chips feel like the prototype. */
.t2w-hero-dark {
    min-height: 472px;
    padding-top: 34px;
    padding-bottom: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f3f5f9 100%);
}
.t2w-hero-dark__inner {
    max-width: 1180px;
    min-height: 418px;
    grid-template-columns: minmax(0, 1.36fr) minmax(300px, .64fr);
    gap: clamp(34px, 5.2vw, 86px);
    padding: 0 22px;
}
.t2w-hero-dark__bg {
    left: max(24px, calc(50% - 590px));
    top: 38px;
    width: min(62vw, 718px);
    height: 386px;
    border-radius: 22px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, .13);
}
.t2w-hero-dark__bg-img {
    filter: saturate(1.08) brightness(.78);
    object-position: center 45%;
}
.t2w-hero-dark__bg-overlay {
    background:
        linear-gradient(90deg, rgba(15,23,42,.58) 0%, rgba(15,23,42,.30) 58%, rgba(15,23,42,.14) 100%),
        linear-gradient(180deg, rgba(15,23,42,.06), rgba(15,23,42,.20));
}
.t2w-hero-dark__content--split {
    min-height: 386px;
    padding: 28px 24px;
    justify-content: center;
    gap: 15px;
}
.t2w-hero-dark__content--split .t2w-hero-dark__headline {
    max-width: 670px;
    font-size: clamp(34px, 4vw, 47px);
    line-height: 1.08;
    letter-spacing: -.055em;
}
.t2w-hero-dark__content--split .t2w-hero-dark__sub {
    margin-top: -2px;
    font-size: 16px;
}
.t2w-hero-dark__content--split .t2w-hero-dark__search-pill {
    width: min(100%, 670px);
    height: 56px;
    margin-top: 0;
    padding: 6px 7px 6px 18px;
    border-radius: 17px;
    box-shadow: 0 16px 34px rgba(15,23,42,.18);
}
.t2w-search-pill__cta-primary {
    min-width: 82px;
    border-radius: 14px;
    background: #ffb700;
    color: #101827;
}
.t2w-hero-proof-row {
    max-width: 680px;
    margin-top: 1px;
    gap: 9px;
    justify-content: flex-start;
}
.t2w-hero-proof-row span {
    border: 1px solid rgba(255,255,255,.30);
    background: rgba(255,255,255,.13);
    color: #fff;
    font-size: 12px;
    box-shadow: none;
}
.t2w-hero-phone {
    min-height: 430px;
    align-self: center;
}
.t2w-hero-phone::before {
    width: 360px;
    height: 360px;
    opacity: .88;
}
.t2w-hero-phone__mock {
    width: 264px;
    height: 470px;
    border-width: 10px;
    transform: rotate(2.5deg) translateY(-2px);
    box-shadow: 0 24px 54px rgba(15, 23, 42, .20);
}
.t2w-hero-phone__float--left { left: -62px; top: 74px; }
.t2w-hero-phone__float--right { right: -54px; bottom: 84px; }

/* Theme entry: prototype-like visual category cards instead of a text-chip slab. */
.t2w-home-primary {
    padding: 24px 16px 26px;
    background: #f3f5f9;
}
.t2w-home-primary__inner {
    max-width: 1180px;
    margin: 0 auto;
}
.t2w-home-primary__heading {
    margin-bottom: 16px;
    text-align: left;
}
.t2w-home-primary__title {
    display: block;
    font-size: clamp(25px, 3vw, 31px);
    line-height: 1.15;
    letter-spacing: -.04em;
}
.t2w-home-primary__sub {
    display: block;
    margin-top: 5px;
    color: #64748b;
}
.t2w-home-primary .t2w-hero-dark__chip {
    width: 100%;
    min-height: 92px;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 15px 10px 13px;
    border-radius: 16px;
    border: 1px solid rgba(15,23,42,.09);
    background: #fff;
    color: #0f172a;
    box-shadow: 0 8px 20px rgba(15,23,42,.045);
    font-size: 13px;
    letter-spacing: -.025em;
}
.t2w-home-primary .t2w-hero-dark__chip:hover {
    transform: translateY(-2px);
    border-color: rgba(255,183,0,.54);
    box-shadow: 0 14px 30px rgba(15,23,42,.075);
}

/* Itinerary: desktop should read as a finished marketplace/editorial grid, not cropped carousel. */
.t2w-itinerary-grid-section {
    padding: 36px 16px 38px;
    background: #f3f5f9;
}
.t2w-itin-scroll-wrapper {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0;
}
.t2w-itin-scroll {
    overflow: visible;
    padding: 0;
}
.t2w-itin-scroll .t2w-hp-itin-card,
.t2w-hp-itin-card {
    width: auto;
    flex: none;
}
.t2w-itin-scroll {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.t2w-scroll-arrow.t2w-itin-prev,
.t2w-scroll-arrow.t2w-itin-next {
    display: none !important;
}
.t2w-hp-itin-card {
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(15,23,42,.055);
}
.t2w-hp-itin-card__img {
    height: 110px;
    border-radius: 14px;
    margin: 14px 14px 0;
}
.t2w-hp-itin-card__body {
    min-height: 160px;
    padding: 18px 18px 16px;
}
.t2w-hp-itin-card__subtitle {
    min-height: 36px;
}
.t2w-hp-itin-card__timeline {
    border-radius: 10px;
    background: #f8fafc;
    padding: 9px 10px;
}

/* Products: marketplace grid first. Keep tabs/filter and expand behavior, remove initial cropped carousel feeling. */
.t2w-product-catalog-section {
    padding: 44px 16px 48px;
    background: #fff;
}
.t2w-prodcat-tabs {
    justify-content: center;
    gap: 10px;
    margin: 18px auto 22px;
}
.t2w-prodcat-carousel-shell {
    max-width: 1180px;
    padding: 0;
}
.t2w-prodcat-arrow {
    display: none !important;
}
.t2w-prodcat-viewport {
    overflow: visible;
    padding: 0;
}
.t2w-prodcat-rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.t2w-prodcat-carousel-shell .t2w-prodcat-card-v2 {
    width: auto;
    min-width: 0;
    flex: none;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(15,23,42,.065);
}
.t2w-prodcat-carousel-shell:not(.t2w-prodcat-carousel-shell--expanded):not(.t2w-prodcat-carousel-shell--filtered) .t2w-prodcat-card-v2:nth-child(n+9) {
    display: none;
}
.t2w-prodcat-card-v2__thumb {
    height: 138px;
    filter: saturate(.92) brightness(1.03);
}
.t2w-prodcat-actions {
    margin-top: 18px;
}
.t2w-prodcat-more {
    background: #0f172a;
    color: #fff;
}

/* Community fallback: match prototype mosaic energy when there are no real posts yet. */
.t2w-comm-v2-section--fallback {
    padding: 50px 16px 52px;
    background: #fff;
}
.t2w-comm-fallback-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    grid-auto-rows: minmax(170px, auto);
    gap: 16px;
}
.t2w-comm-fallback-card {
    position: relative;
    min-height: 170px;
    overflow: hidden;
    border: 0;
    border-radius: 22px;
    color: #fff;
    background:
        radial-gradient(circle at 78% 20%, rgba(255,255,255,.18), transparent 30%),
        linear-gradient(135deg, #0f766e 0%, #082f49 100%);
    box-shadow: 0 16px 34px rgba(15,23,42,.10);
}
.t2w-comm-fallback-card:nth-child(1) {
    grid-row: span 2;
    min-height: 356px;
    background:
        radial-gradient(circle at 74% 18%, rgba(255,255,255,.16), transparent 32%),
        linear-gradient(135deg, #0f766e 0%, #073642 100%);
}
.t2w-comm-fallback-card:nth-child(2) { background: linear-gradient(135deg, #f97316 0%, #571b0b 100%); }
.t2w-comm-fallback-card:nth-child(3) { background: linear-gradient(135deg, #2563eb 0%, #111a55 100%); }
.t2w-comm-fallback-card:nth-child(4) { background: linear-gradient(135deg, #a855f7 0%, #321047 100%); }
.t2w-comm-fallback-card:nth-child(5) { background: linear-gradient(135deg, #059669 0%, #063f2d 100%); }
.t2w-comm-fallback-card__avatar {
    background: #fff;
    color: #0f172a;
}
.t2w-comm-fallback-card__icon {
    background: rgba(255,255,255,.14);
    color: #fff7d6;
}
.t2w-comm-fallback-card__quote {
    color: #fff;
    font-size: 17px;
    text-shadow: 0 1px 12px rgba(0,0,0,.18);
}
.t2w-comm-fallback-card:nth-child(1) .t2w-comm-fallback-card__quote {
    margin-top: auto;
    font-size: 22px;
    line-height: 1.45;
}
.t2w-comm-fallback-card__meta span,
.t2w-comm-fallback-card__meta em {
    background: rgba(255,255,255,.18);
    color: #fff;
}

@media (max-width: 1024px) {
    .t2w-hero-dark { padding-top: 42px; }
    .t2w-hero-dark__bg {
        left: 22px;
        right: 22px;
        width: auto;
        top: 42px;
    }
        .t2w-itin-scroll { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .t2w-prodcat-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .t2w-comm-fallback-grid { grid-template-columns: 1fr 1fr; }
    .t2w-comm-fallback-card:nth-child(1) { grid-column: span 2; grid-row: auto; min-height: 240px; }
}

@media (max-width: 768px) {
    .t2w-hero-dark {
        padding-top: 22px;
        padding-bottom: 16px;
    }
    .t2w-hero-dark__bg {
        top: 22px;
        height: 320px;
        left: 14px;
        right: 14px;
    }
    .t2w-hero-dark__content--split {
        min-height: 320px;
    }
    .t2w-hero-proof-row { justify-content: center; }
        .t2w-itin-scroll { grid-template-columns: 1fr; }
    .t2w-prodcat-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .t2w-comm-fallback-grid { grid-template-columns: 1fr; }
    .t2w-comm-fallback-card:nth-child(1) { grid-column: auto; min-height: 220px; }
}

@media (max-width: 520px) {
    .t2w-prodcat-rail {
        grid-template-columns: 1fr;
    }
    .t2w-home-primary .t2w-hero-dark__chip {
        min-height: 74px;
        flex-direction: row;
    }
}

/* v55: hard prototype-first overrides after v54 QA showed inherited carousel/chip styles still winning. */
.t2w-hero-dark {
    min-height: 438px !important;
    padding-top: 8px !important;
    padding-bottom: 0 !important;
}
.t2w-hero-dark__bg {
    top: 14px !important;
    width: min(62vw, 720px) !important;
    height: 386px !important;
}
.t2w-hero-dark__inner {
    min-height: 404px !important;
}
.t2w-hero-dark__content--split {
    min-height: 386px !important;
}
.t2w-hero-phone {
    min-height: 404px !important;
}
.t2w-hero-phone__mock {
    transform: rotate(2deg) scale(.98) !important;
}

.t2w-home-primary {
    margin-top: 0 !important;
    padding: 24px 16px 30px !important;
}
.t2w-home-primary .t2w-hero-dark__chip {
    width: 100% !important;
    min-height: 92px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 16px !important;
    background: #fff !important;
}

.t2w-itin-scroll-wrapper {
    max-width: 1180px !important;
    padding: 0 !important;
}
.t2w-itin-scroll {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
    overflow: visible !important;
    padding: 0 !important;
}
.t2w-itin-scroll .t2w-hp-itin-card {
    width: auto !important;
    flex: none !important;
    scroll-snap-align: none !important;
}
.t2w-itin-prev,
.t2w-itin-next {
    display: none !important;
}

.t2w-prodcat-carousel-shell {
    max-width: 1180px !important;
    padding: 0 !important;
}
.t2w-prodcat-viewport {
    overflow: visible !important;
    padding: 0 !important;
}
.t2w-prodcat-rail {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
}
.t2w-prodcat-carousel-shell .t2w-prodcat-card-v2 {
    width: auto !important;
    flex: none !important;
    min-width: 0 !important;
}
.t2w-prodcat-arrow {
    display: none !important;
}

@media (max-width: 1024px) {
    .t2w-hero-dark { padding-top: 18px !important; }
    .t2w-hero-dark__bg { top: 18px !important; }
        .t2w-itin-scroll { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .t2w-prodcat-rail { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 768px) {
    .t2w-itin-scroll,
.t2w-prodcat-rail { grid-template-columns: 1fr !important; }
}

/* v56: prototype visual polish + recovery guard.
   Scope: child-theme homepage only; preserve planner/product/community behavior. */
body.home header.t2w-app-header#site-header {
    background: rgba(255,255,255,.96) !important;
    border-bottom: 1px solid rgba(15,23,42,.08) !important;
    box-shadow: none !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}
body.home header.t2w-app-header#site-header a,
body.home header.t2w-app-header#site-header button,
body.home header.t2w-app-header#site-header .t2w-app-header__logo,
body.home header.t2w-app-header#site-header .t2w-services-trigger {
    color: #0f172a !important;
    text-shadow: none !important;
}

.t2w-home {
    background: #f4f6fa !important;
}
.t2w-hp-section,
.t2w-home-primary__inner,
.t2w-itin-scroll-wrapper,
.t2w-prodcat-carousel-shell,
.t2w-comm-v2-section--fallback .t2w-hp-section {
    max-width: 1180px !important;
}

/* Hero: move from centered billboard to prototype-like left editorial card. */
.t2w-hero-dark {
    min-height: 468px !important;
    padding-top: 44px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f4f6fa 100%) !important;
}
.t2w-hero-dark__inner {
    max-width: 1180px !important;
    min-height: 410px !important;
    grid-template-columns: minmax(0, 1.42fr) minmax(300px, .58fr) !important;
    gap: clamp(40px, 6vw, 92px) !important;
}
.t2w-hero-dark__bg {
    top: 28px !important;
    left: max(24px, calc(50% - 590px)) !important;
    width: min(61vw, 720px) !important;
    height: 390px !important;
    border-radius: 22px !important;
    box-shadow: 0 18px 44px rgba(15,23,42,.12) !important;
}
.t2w-hero-dark__bg-img {
    filter: saturate(1.04) brightness(.82) !important;
    object-position: center 48% !important;
}
.t2w-hero-dark__content--split {
    min-height: 390px !important;
    padding: 28px 24px 20px !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    text-align: left !important;
    gap: 13px !important;
}
.t2w-hero-dark__content--split .t2w-hero-dark__headline {
    max-width: 650px !important;
    margin-top: 0 !important;
    font-size: clamp(34px, 3.7vw, 45px) !important;
    line-height: 1.08 !important;
    text-align: left !important;
}
.t2w-hero-dark__content--split .t2w-hero-dark__sub {
    text-align: left !important;
    font-size: 16px !important;
    margin-bottom: 4px !important;
}
.t2w-hero-dark__content--split .t2w-hero-dark__search-pill {
    width: min(100%, 670px) !important;
    margin-top: 6px !important;
    border-radius: 17px !important;
}
.t2w-hero-proof-row {
    justify-content: flex-start !important;
    margin-top: 2px !important;
}
.t2w-hero-phone {
    min-height: 410px !important;
    transform: translateY(-2px) !important;
}
.t2w-hero-phone__mock {
    width: 260px !important;
    height: 462px !important;
    transform: rotate(1.5deg) scale(.97) !important;
}

/* Theme board: one even board, no group-shaped ragged rows. */
.t2w-home-primary {
    padding: 28px 16px 30px !important;
}
.t2w-home-primary .t2w-hero-dark__chip {
    min-height: 84px !important;
    border-radius: 15px !important;
    box-shadow: 0 8px 18px rgba(15,23,42,.04) !important;
}

/* Match prototype density: tighter cards, clear white background, less carousel residue. */
.t2w-itinerary-grid-section,
.t2w-product-catalog-section,
.t2w-comm-v2-section--fallback {
    padding-left: 16px !important;
    padding-right: 16px !important;
}
.t2w-hp-itin-card,
.t2w-prodcat-carousel-shell .t2w-prodcat-card-v2,
.t2w-comm-fallback-card {
    border: 1px solid rgba(15,23,42,.08) !important;
}
.t2w-hp-itin-card__img {
    height: 104px !important;
    margin: 14px 14px 0 !important;
}
.t2w-hp-itin-card__body {
    min-height: 150px !important;
}
.t2w-prodcat-card-v2__thumb {
    height: 132px !important;
}
.t2w-prodcat-tabs {
    justify-content: flex-start !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Community: show the intended 5-card mosaic when fallback has 5 stories. */
.t2w-comm-fallback-grid {
    grid-template-columns: 1.16fr 1fr 1fr !important;
    grid-auto-rows: minmax(168px, auto) !important;
}
.t2w-comm-fallback-card:nth-child(n+4) {
    display: flex !important;
}
.t2w-comm-fallback-card:nth-child(1) {
    grid-row: span 2 !important;
    min-height: 352px !important;
}

@media (max-width: 1024px) {
        .t2w-comm-fallback-grid { grid-template-columns: 1fr 1fr !important; }
    .t2w-comm-fallback-card:nth-child(1) { grid-column: span 2 !important; grid-row: auto !important; min-height: 230px !important; }
}
@media (max-width: 768px) {
    .t2w-hero-dark { padding-top: 22px !important; }
    .t2w-hero-dark__content--split,
    .t2w-hero-dark__content--split .t2w-hero-dark__headline,
    .t2w-hero-dark__content--split .t2w-hero-dark__sub { text-align: center !important; align-items: center !important; }
    .t2w-hero-proof-row { justify-content: center !important; }
    .t2w-itin-scroll,
.t2w-prodcat-rail,
.t2w-comm-fallback-grid { grid-template-columns: 1fr !important; }
    .t2w-comm-fallback-card:nth-child(1) { grid-column: auto !important; min-height: 220px !important; }
}

/* v57: fix v56 visual regressions found in Chrome screenshot review. */
@media (min-width: 769px) {
    .t2w-hero-dark__content--split > * {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .t2w-hero-dark__content--split .t2w-hero-dark__headline,
    .t2w-hero-dark__content--split .t2w-hero-dark__sub,
    .t2w-hero-dark__content--split .t2w-hero-dark__search-pill,
    .t2w-hero-proof-row {
        align-self: flex-start !important;
    }
}

/* Restore prototype-like colored itinerary thumbnails after v56 density pass made them read as grey placeholders. */
.t2w-hp-itin-card:nth-child(1) .t2w-hp-itin-card__img { background: linear-gradient(135deg, #d08a08 0%, #111827 100%) !important; }
.t2w-hp-itin-card:nth-child(2) .t2w-hp-itin-card__img { background: linear-gradient(135deg, #3b82f6 0%, #0f172a 100%) !important; }
.t2w-hp-itin-card:nth-child(3) .t2w-hp-itin-card__img { background: linear-gradient(135deg, #f97316 0%, #17111c 100%) !important; }
.t2w-hp-itin-card:nth-child(4) .t2w-hp-itin-card__img { background: linear-gradient(135deg, #10b981 0%, #083344 100%) !important; }
.t2w-hp-itin-card:nth-child(5) .t2w-hp-itin-card__img { background: linear-gradient(135deg, #a855f7 0%, #20103b 100%) !important; }
.t2w-hp-itin-card:nth-child(6) .t2w-hp-itin-card__img { background: linear-gradient(135deg, #f43f5e 0%, #1f1020 100%) !important; }
.t2w-hp-itin-card__img::before,
.t2w-hp-itin-card__img::after {
    opacity: 0 !important;
}

@media (max-width: 768px) {
    .t2w-hero-dark__content--split > * {
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .t2w-hero-dark__content--split .t2w-hero-dark__headline {
        max-width: min(100%, 330px) !important;
    }
}

/* v58: mobile hero containment fix after Chrome screenshot review. */
@media (max-width: 768px) {
    .t2w-hero-dark {
        min-height: 374px !important;
        padding-top: 18px !important;
        padding-bottom: 18px !important;
    }
    .t2w-hero-dark__bg {
        left: 14px !important;
        right: 14px !important;
        width: auto !important;
        top: 18px !important;
        height: 320px !important;
        border-radius: 18px !important;
    }
    .t2w-hero-dark__inner,
    .t2w-hero-dark__content--split {
        min-height: 320px !important;
    }
    .t2w-hero-dark__content--split {
        padding: 18px 16px !important;
        justify-content: center !important;
    }
    .t2w-hero-dark__content--split .t2w-hero-dark__headline {
        width: auto !important;
        max-width: 310px !important;
        font-size: clamp(28px, 9vw, 36px) !important;
        line-height: 1.08 !important;
    }
    .t2w-hero-dark__content--split .t2w-hero-dark__sub {
        max-width: 270px !important;
        font-size: 13px !important;
        line-height: 1.45 !important;
    }
    .t2w-hero-dark__content--split .t2w-hero-dark__search-pill {
        width: min(100%, 300px) !important;
        height: 50px !important;
        padding-left: 10px !important;
    }
    .t2w-hero-proof-row {
        display: none !important;
    }
}
/* v59: hero balance polish after visual review.
   Scope: child-theme homepage hero only; no runtime/DB/deploy changes. */
@media (min-width: 769px) {
    .t2w-hero-dark {
        min-height: 444px !important;
        padding-top: 34px !important;
        padding-bottom: 10px !important;
        background:
            radial-gradient(circle at 72% 34%, rgba(255,183,0,.11), transparent 28%),
            linear-gradient(180deg, #ffffff 0%, #f4f6fa 100%) !important;
    }
    .t2w-hero-dark__inner {
        max-width: 1180px !important;
        min-height: 390px !important;
        grid-template-columns: minmax(0, 680px) minmax(300px, 350px) !important;
        gap: clamp(36px, 4.4vw, 62px) !important;
        align-items: center !important;
    }
    .t2w-hero-dark__bg {
        top: 28px !important;
        width: min(58vw, 690px) !important;
        height: 364px !important;
        border-radius: 24px !important;
        box-shadow: 0 20px 48px rgba(15,23,42,.13) !important;
    }
    .t2w-hero-dark__bg-img {
        filter: saturate(1.06) brightness(.80) !important;
        object-position: center 46% !important;
    }
    .t2w-hero-dark__bg-overlay {
        background:
            linear-gradient(90deg, rgba(15,23,42,.64) 0%, rgba(15,23,42,.38) 56%, rgba(15,23,42,.16) 100%),
            linear-gradient(180deg, rgba(15,23,42,.04), rgba(15,23,42,.18)) !important;
    }
    .t2w-hero-dark__content--split {
        min-height: 364px !important;
        padding: 42px 34px 30px !important;
        justify-content: center !important;
        gap: 14px !important;
    }
    .t2w-hero-dark__content--split .t2w-hero-dark__headline,
    .t2w-hero-dark__content--split .t2w-hero-dark__sub,
    .t2w-hero-dark__content--split .t2w-hero-dark__search-pill,
    .t2w-hero-proof-row {
        margin-left: 92px !important;
        margin-right: 0 !important;
        align-self: flex-start !important;
    }
    .t2w-hero-dark__content--split .t2w-hero-dark__headline {
        max-width: 570px !important;
        font-size: clamp(36px, 3.55vw, 46px) !important;
        line-height: 1.06 !important;
        letter-spacing: -.06em !important;
        text-shadow: 0 2px 18px rgba(0,0,0,.26) !important;
    }
    .t2w-hero-dark__content--split .t2w-hero-dark__sub {
        font-size: 15px !important;
        opacity: .94 !important;
    }
    .t2w-hero-dark__content--split .t2w-hero-dark__search-pill {
        width: min(100%, 520px) !important;
        height: 54px !important;
        margin-top: 4px !important;
        box-shadow: 0 16px 32px rgba(15,23,42,.18) !important;
    }
    .t2w-hero-proof-row {
        max-width: 520px !important;
        gap: 8px !important;
    }
    .t2w-hero-phone {
        min-height: 390px !important;
        transform: translate(-10px, -4px) !important;
        z-index: 3 !important;
    }
    .t2w-hero-phone::before {
        width: 330px !important;
        height: 330px !important;
        opacity: .74 !important;
    }
    .t2w-hero-phone__mock {
        width: 250px !important;
        height: 448px !important;
        transform: rotate(1.8deg) scale(.96) !important;
        box-shadow: 0 22px 52px rgba(15,23,42,.22) !important;
    }
    .t2w-hero-phone__float--left {
        left: -72px !important;
        top: 82px !important;
    }
    .t2w-hero-phone__float--right {
        right: -50px !important;
        bottom: 72px !important;
    }
}

@media (min-width: 769px) and (max-width: 1180px) {
    .t2w-hero-dark__content--split .t2w-hero-dark__headline,
    .t2w-hero-dark__content--split .t2w-hero-dark__sub,
    .t2w-hero-dark__content--split .t2w-hero-dark__search-pill,
    .t2w-hero-proof-row {
        margin-left: clamp(34px, 7vw, 76px) !important;
    }
}
/* v60: mobile hero search guard after v59 desktop balance check.
   Keep the search pill readable on small screens; desktop v59 remains unchanged. */
@media (max-width: 768px) {
    .t2w-home-hero-search.t2w-hero-dark__search-pill,
    .t2w-hero-dark__content--split .t2w-home-hero-search.t2w-hero-dark__search-pill {
        display: flex !important;
        width: 300px !important;
        max-width: calc(100vw - 76px) !important;
        min-width: 0 !important;
        height: 50px !important;
        box-sizing: border-box !important;
        align-items: center !important;
        gap: 6px !important;
        padding: 6px !important;
        border-radius: 16px !important;
        overflow: hidden !important;
    }
    .t2w-home-hero-search .t2w-search-pill__input-section {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        width: auto !important;
        height: 38px !important;
        padding: 0 7px !important;
        box-sizing: border-box !important;
        gap: 5px !important;
    }
    .t2w-home-hero-search .t2w-search-pill__icon {
        flex: 0 0 auto !important;
        font-size: 18px !important;
    }
    .t2w-home-hero-search .t2w-search-pill__input {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        width: 100% !important;
        height: 38px !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        font-size: 13px !important;
        line-height: 38px !important;
    }
    .t2w-home-hero-search .t2w-search-pill__ctas {
        flex: 0 0 auto !important;
        width: auto !important;
    }
    .t2w-home-hero-search .t2w-search-pill__cta-primary {
        width: 64px !important;
        min-width: 64px !important;
        height: 38px !important;
        padding: 0 10px !important;
        justify-content: center !important;
        font-size: 12px !important;
    }
}

/* v61: prototype delta fix — restore hero chips, 7 theme cards, and white hero canvas.
   Scope: child-theme homepage only; no DB/runtime/deploy change. */
@media (min-width: 769px) {
    .t2w-home {
        background: #f3f5f9 !important;
    }
    .t2w-hero-dark {
        min-height: 520px !important;
        padding-top: 16px !important;
        padding-bottom: 0 !important;
        background: #fff !important;
    }
    .t2w-hero-dark__inner {
        max-width: 1180px !important;
        min-height: 462px !important;
        grid-template-columns: minmax(0, 720px) minmax(300px, 350px) !important;
        gap: clamp(46px, 5vw, 82px) !important;
        align-items: center !important;
    }
    .t2w-hero-dark__bg {
        top: 16px !important;
        left: max(24px, calc(50% - 590px)) !important;
        width: min(61vw, 720px) !important;
        height: 462px !important;
        border-radius: 22px !important;
        box-shadow: 0 18px 44px rgba(15,23,42,.10) !important;
    }
    .t2w-hero-dark__bg-img {
        filter: saturate(1.06) brightness(.76) !important;
        object-position: center 48% !important;
    }
    .t2w-hero-dark__bg-overlay {
        background:
            linear-gradient(90deg, rgba(15,23,42,.58) 0%, rgba(15,23,42,.32) 58%, rgba(15,23,42,.13) 100%),
            linear-gradient(180deg, rgba(15,23,42,.02), rgba(15,23,42,.18)) !important;
    }
    .t2w-hero-dark__content--split {
        min-height: 462px !important;
        padding: 28px 24px 26px !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        gap: 12px !important;
        text-align: left !important;
    }
    .t2w-hero-dark__content--split .t2w-hero-dark__headline,
    .t2w-hero-dark__content--split .t2w-hero-dark__sub,
    .t2w-hero-dark__content--split .t2w-hero-dark__search-pill,
    .t2w-hero-proof-row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        align-self: flex-start !important;
    }
    .t2w-hero-dark__content--split .t2w-hero-dark__headline {
        max-width: 670px !important;
        margin-top: 0 !important;
        font-size: clamp(34px, 3.65vw, 46px) !important;
        line-height: 1.08 !important;
        letter-spacing: -.055em !important;
        text-align: left !important;
        text-shadow: 0 2px 18px rgba(0,0,0,.24) !important;
    }
    .t2w-hero-dark__content--split .t2w-hero-dark__sub {
        font-size: 16px !important;
        text-align: left !important;
        opacity: .96 !important;
    }
    .t2w-hero-dark__content--split .t2w-home-hero-search.t2w-hero-dark__search-pill {
        width: min(100%, 670px) !important;
        height: 56px !important;
        margin-top: 8px !important;
        border-radius: 17px !important;
        box-shadow: 0 16px 34px rgba(15,23,42,.17) !important;
    }
    .t2w-hero-proof-row {
        max-width: 690px !important;
        gap: 9px !important;
        margin-top: 6px !important;
    }
    .t2w-hero-proof-row span {
        height: 31px !important;
        padding: 0 13px !important;
        border-radius: 999px !important;
        border: 1px solid rgba(255,255,255,.32) !important;
        background: rgba(255,255,255,.12) !important;
        color: #fff !important;
        font-size: 12px !important;
        font-weight: 800 !important;
    }
    /* v67: verified desktop phone alignment — visibly lift the mock into the hero card's vertical band. */
    .t2w-hero-phone {
        min-height: 438px !important;
        transform: translate(-10px, -48px) !important;
    }
    .t2w-hero-phone::before {
        opacity: .28 !important;
        background: radial-gradient(circle, rgba(255,183,0,.12), transparent 68%) !important;
    }
    .t2w-hero-phone__mock {
        width: 248px !important;
        height: 438px !important;
        transform: rotate(.8deg) scale(.97) !important;
    }
}

.t2w-home-theme-board {
    padding: 28px 16px 34px !important;
    background: #f3f5f9 !important;
}
.t2w-home-theme-board__grid {
    display: grid !important;
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    gap: 12px !important;
}
.t2w-home-theme-card {
    min-height: 102px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 16px 10px !important;
    border: 1px solid rgba(15,23,42,.09) !important;
    border-radius: 16px !important;
    background: #fff !important;
    color: #0f172a !important;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(15,23,42,.045) !important;
}
.t2w-home-theme-card:hover {
    transform: translateY(-2px) !important;
    border-color: rgba(255,183,0,.48) !important;
    box-shadow: 0 14px 30px rgba(15,23,42,.075) !important;
}
.t2w-home-theme-card__icon {
    font-size: 22px !important;
    line-height: 1 !important;
}
.t2w-home-theme-card strong {
    font-size: 13px !important;
    font-weight: 900 !important;
    letter-spacing: -.025em !important;
}
.t2w-home-theme-card small {
    max-width: 100% !important;
    color: #7c8aa0 !important;
    font-size: 10px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

@media (max-width: 1024px) {
    .t2w-home-theme-board__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 768px) {
    .t2w-home-theme-board__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 520px) {
    .t2w-home-theme-board__grid {
        grid-template-columns: 1fr !important;
    }
    /* S163 fix: phone mockup is display:none at <=520px (line ~6403) but the base v56 rule
       (line ~6995) kept the hero grid at 2 columns (minmax 1.42fr / 300px), squeezing the
       headline into a ~99px column => text stacked vertically. Collapse to a single column so
       the headline reads horizontally. (!important required to beat the base !important grid.) */
    .t2w-hero-dark__inner {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    .t2w-hero-dark__content--split {
        min-height: 0 !important;
        padding: 18px 18px 16px !important;
    }
    .t2w-hero-dark__content--split .t2w-hero-dark__headline {
        max-width: none !important;
    }
}

/* v62: visual polish after production review — white header, mobile hero clearance, mobile float containment. */
body.home header.t2w-app-header#site-header,
body.home .t2w-app-header,
body.home .t2w-header {
    background: rgba(255, 255, 255, .96) !important;
    border-bottom: 1px solid rgba(15, 23, 42, .06) !important;
    box-shadow: 0 1px 0 rgba(15, 23, 42, .04) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    backdrop-filter: blur(16px) !important;
}
body.home header.t2w-app-header#site-header a,
body.home header.t2w-app-header#site-header button,
body.home header.t2w-app-header#site-header .t2w-app-header__logo,
body.home header.t2w-app-header#site-header .t2w-services-trigger,
body.home header.t2w-app-header#site-header .t2w-header__community-link,
body.home .t2w-logo__text,
body.home .t2w-nav-link,
body.home .t2w-header__mobile-search,
body.home .t2w-header__mobile-toggle {
    color: #0f172a !important;
    text-shadow: none !important;
}
body.home header.t2w-app-header#site-header .t2w-app-header__logo svg path {
    fill: #0f172a !important;
}
body.home header.t2w-app-header#site-header .t2w-logo__text {
    color: #0f172a !important;
    opacity: 1 !important;
    visibility: visible !important;
}
body.home .t2w-home {
    padding-top: var(--t2w-header-height, 64px) !important;
}
@media (min-width: 769px) {
    body.home .t2w-hero-dark {
        padding-top: 8px !important;
        min-height: 528px !important;
    }
    body.home .t2w-hero-dark__bg {
        top: 8px !important;
    }
}
@media (max-width: 768px) {
    body.home .t2w-home {
        padding-top: 64px !important;
        padding-bottom: 0 !important;
    }
    body.home .t2w-hero-dark {
        min-height: 374px !important;
    }
    body.home .t2w-hero-dark__bg {
        top: 14px !important;
    }
    body.home .t2w-hero-dark__content--split {
        padding-top: 38px !important;
    }
    body.home .t2w-hero-dark__headline {
        margin-top: 0 !important;
    }
    body.home #t2w-bottom-nav,
    body.home .t2w-bottom-nav {
        display: none !important;
    }
    body.home #t2w-chat-fab,
    body.home .t2w-chat-fab,
    body.home #t2w-ai-fab,
    body.home .t2w-ai-fab {
        display: none !important;
    }
    body.home .t2w-footer {
        padding-bottom: 24px !important;
    }
}

/* v63: final visible-browser polish — lift mobile hero search and prevent below-fold reveal sections from looking blank in full-page review captures. */
body.home .t2w-reveal-ready {
    opacity: 1 !important;
    transform: none !important;
}
@media (max-width: 768px) {
    body.home .t2w-hero-dark__content--split {
        justify-content: flex-start !important;
        gap: 10px !important;
    }
    body.home .t2w-hero-dark__content--split .t2w-home-hero-search.t2w-hero-dark__search-pill {
        margin-top: 2px !important;
        transform: translateY(-10px) !important;
    }
}

/* v64: human visual QA fixes — remove placeholder look, mobile density, and cropped carousel composition. */
:root {
    --t2w-v64-fallback-photo: url('../images/hero-sydney.jpg');
}

/* Itinerary cards: if PHP resolved a real photo, let it win over old v57 gradient overrides. */
body.home .t2w-hp-itin-card__img--photo {
    background: var(--t2w-itin-photo) center center / cover no-repeat !important;
}
body.home .t2w-hp-itin-card .t2w-hp-itin-card__img--photo {
    background: var(--t2w-itin-photo) center center / cover no-repeat !important;
}
body.home .t2w-hp-itin-card__img--photo::before {
    background: var(--t2w-itin-photo) center center / cover no-repeat !important;
    opacity: 1 !important;
    transform: none !important;
}
body.home .t2w-hp-itin-card__img--photo::after {
    opacity: 1 !important;
    background: linear-gradient(to top, rgba(0,0,0,.20), rgba(0,0,0,0)) !important;
}
body.home .t2w-hp-itin-card__img--fallback {
    background:
        linear-gradient(135deg, rgba(15,23,42,.20), rgba(15,23,42,.50)),
        var(--t2w-v64-fallback-photo) center center / cover no-repeat !important;
}
body.home .t2w-hp-itin-card__img--fallback::before {
    opacity: 0 !important;
}
body.home .t2w-hp-itin-card__img--fallback::after {
    opacity: 1 !important;
    background: linear-gradient(to top, rgba(0,0,0,.26), rgba(0,0,0,0)) !important;
}

/* Destination cards: make missing/failed/lazy imagery look intentional and stop edge-clipped carousel presentation. */
body.home .t2w-place-card__photo {
    background:
        linear-gradient(180deg, rgba(15,23,42,.05), rgba(15,23,42,.72)),
        var(--t2w-place-photo, var(--t2w-v64-fallback-photo)) center center / cover no-repeat !important;
}
body.home .t2w-place-card__photo.t2w-img-placeholder {
    background:
        linear-gradient(180deg, rgba(15,23,42,.10), rgba(15,23,42,.78)),
        var(--t2w-v64-fallback-photo) center center / cover no-repeat !important;
}
body.home .t2w-places-scroll-wrapper {
    max-width: 1180px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}
body.home .t2w-places-scroll-wrapper::before,
body.home .t2w-places-scroll-wrapper::after,
body.home .t2w-places-prev,
body.home .t2w-places-next {
    display: none !important;
}
body.home .t2w-places-scroll {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
    overflow: visible !important;
    padding: 0 !important;
}
body.home .t2w-place-card {
    width: auto !important;
    min-width: 0 !important;
    flex: none !important;
    scroll-snap-align: none !important;
    border-radius: 16px !important;
}
body.home .t2w-place-card:nth-child(n+5) {
    display: none !important;
}
body.home .t2w-place-card__photo {
    aspect-ratio: 4 / 3 !important;
    border-radius: 16px !important;
}
body.home .t2w-place-card__name {
    font-size: 16px !important;
}

/* v65: replace guide/vendor gray icon circles with varied travel photo thumbnails. */
body.home .t2w-partner-profile__photo {
    width: 96px !important;
    height: 96px !important;
    margin: 0 auto 14px !important;
    border-radius: 999px !important;
    background-size: cover !important;
    background-position: center !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.75), 0 14px 28px rgba(15,23,42,.16) !important;
    overflow: hidden !important;
}
body.home .t2w-partner-profile__photo .material-symbols-outlined {
    opacity: 0 !important;
}
body.home .t2w-partner-profile:nth-child(1) .t2w-partner-profile__photo {
    background-image: linear-gradient(rgba(15,23,42,.04), rgba(15,23,42,.28)), url('https://trip2where.com/wp-content/uploads/product-images/sydney-harbour-private-tour.jpg') !important;
}
body.home .t2w-partner-profile:nth-child(2) .t2w-partner-profile__photo {
    background-image: linear-gradient(rgba(15,23,42,.04), rgba(15,23,42,.28)), url('https://trip2where.com/wp-content/uploads/product-images/australia-east-coast-package.jpg') !important;
}
body.home .t2w-partner-profile:nth-child(3) .t2w-partner-profile__photo {
    background-image: linear-gradient(rgba(15,23,42,.04), rgba(15,23,42,.28)), url('https://trip2where.com/wp-content/uploads/t2w-places/161_0.jpg') !important;
}
body.home .t2w-partner-profile:nth-child(4) .t2w-partner-profile__photo {
    background-image: linear-gradient(rgba(15,23,42,.04), rgba(15,23,42,.28)), url('https://trip2where.com/wp-content/uploads/t2w-places/89_0.jpg') !important;
}
body.home .t2w-partner-profile:nth-child(5) .t2w-partner-profile__photo {
    background-image: linear-gradient(rgba(15,23,42,.04), rgba(15,23,42,.28)), url('https://trip2where.com/wp-content/uploads/t2w-places/124_0.jpg') !important;
}

/* Partner cards: render as a complete grid instead of a clipped carousel. */
body.home .t2w-partner-profile-wrapper {
    max-width: 1180px !important;
    margin: 0 auto !important;
}
body.home .t2w-partner-profile-scroll {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
    overflow: visible !important;
    padding: 0 !important;
}
body.home .t2w-partner-profile {
    width: auto !important;
    flex: none !important;
    min-width: 0 !important;
}
body.home .t2w-partner-profile:nth-child(n+5),
body.home .t2w-partner-prev,
body.home .t2w-partner-next {
    display: none !important;
}

@media (max-width: 768px) {
    /* Hero: prevent the subtitle from collapsing into word-by-word vertical fragments. */
    body.home .t2w-hero-dark__content--split {
        align-items: flex-start !important;
        text-align: left !important;
        padding-left: 32px !important;
        padding-right: 32px !important;
        gap: 9px !important;
    }
    body.home .t2w-hero-dark__content--split .t2w-hero-dark__headline {
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 270px !important;
        text-align: left !important;
    }
    body.home .t2w-hero-dark__content--split .t2w-hero-dark__sub {
        width: 238px !important;
        max-width: calc(100vw - 76px) !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: left !important;
        white-space: normal !important;
        word-break: keep-all !important;
        overflow-wrap: normal !important;
        line-height: 1.45 !important;
    }
    body.home .t2w-hero-dark__content--split .t2w-home-hero-search.t2w-hero-dark__search-pill {
        margin-left: 0 !important;
        margin-right: 0 !important;
        transform: translateY(-6px) !important;
    }

    /* Theme board: compact two-column mobile cards; no long single-column wall. */
    body.home .t2w-home-theme-board {
        padding: 24px 14px 28px !important;
    }
    body.home .t2w-home-theme-board__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
    body.home .t2w-home-theme-card {
        min-height: 84px !important;
        padding: 12px 8px !important;
        border-radius: 14px !important;
    }
    body.home .t2w-home-theme-card__icon {
        font-size: 20px !important;
    }
    body.home .t2w-home-theme-card small {
        display: none !important;
    }

    /* Product tabs: deliberate horizontal chip rail with safe left/right breathing room. */
    body.home .t2w-prodcat-tabs {
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        max-width: none !important;
        margin: 14px -14px 20px !important;
        padding: 0 14px 4px !important;
        scroll-padding-left: 14px !important;
    }
    body.home .t2w-prodcat-tabs::after {
        content: '';
        flex: 0 0 14px;
    }
    body.home .t2w-prodcat-tab {
        flex: 0 0 auto !important;
    }

    /* Destination and guide sections: no cropped first/last card; show clean 2-column grids. */
    body.home .t2w-dest-section,
    body.home .t2w-partners-section {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
    body.home .t2w-places-scroll-wrapper,
    body.home .t2w-partner-profile-wrapper {
        max-width: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    body.home .t2w-places-scroll,
    body.home .t2w-partner-profile-scroll {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
        width: 100% !important;
    }
    body.home .t2w-place-card__photo {
        aspect-ratio: 3 / 4 !important;
    }
    body.home .t2w-place-card__overlay {
        padding: 12px !important;
    }
    body.home .t2w-place-card__name {
        font-size: 14px !important;
        line-height: 1.25 !important;
    }
    body.home .t2w-place-card__tags {
        display: none !important;
    }
    body.home .t2w-partner-profile {
        padding: 20px 12px !important;
        border-radius: 14px !important;
    }
    body.home .t2w-partner-profile:nth-child(n+5) {
        display: none !important;
    }
}

@media (max-width: 420px) {
    body.home .t2w-home-theme-board__grid,
    body.home .t2w-places-scroll,
    body.home .t2w-partner-profile-scroll {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    body.home .t2w-place-card__meta {
        font-size: 11px !important;
        gap: 4px !important;
    }
    body.home .t2w-place-card__reviews,
    body.home .t2w-place-card__cat {
        display: none !important;
    }
}

/* v64.1: LiteSpeed lazy placeholder guard — hide 1px gif so the real photo fallback is visible in full-page visual QA. */
body.home .t2w-place-card__img[src^="data:image/gif"],
body.home .t2w-place-card__img[src^="data:image/svg"] {
    display: none !important;
}

/* v64.2: remove remaining product placeholder feel and avoid clipped mobile filter chips. */
body.home .t2w-prodcat-card-v2__thumb:has(.t2w-prodcat-card-v2__icon) {
    background:
        linear-gradient(180deg, rgba(15,23,42,.02), rgba(15,23,42,.18)),
        var(--t2w-v64-fallback-photo) center center / cover no-repeat !important;
}
body.home .t2w-prodcat-card-v2__thumb:has(.t2w-prodcat-card-v2__icon) .t2w-prodcat-card-v2__icon {
    display: none !important;
}
@media (max-width: 768px) {
    body.home .t2w-prodcat-tabs {
        flex-wrap: wrap !important;
        overflow: visible !important;
        margin: 14px 0 18px !important;
        padding: 0 !important;
        gap: 8px !important;
    }
    body.home .t2w-prodcat-tabs::after {
        display: none !important;
    }
    body.home .t2w-prodcat-tab {
        min-height: 40px !important;
        padding: 0 14px !important;
    }
}

/* ================================================================
 * S160 — Mainline Start section (home 본선 승격: 칩 → 검수 코스 → AI 다듬기).
 * Promotes the curated preset chips out of the dark hero (they were
 * display:none under 768px) into a mobile-visible PRIMARY ACTION section
 * with a 3-step explainer. Reuses the established cream/gold home palette;
 * brand colors via tokens. No !important (clean cascade, new classes).
 * ================================================================ */
.t2w-mainline-start {
    background: #f7f5ef;
    padding: 26px 16px 30px;
}
.t2w-mainline-start__inner {
    max-width: 1100px;
    margin: 0 auto;
}
/* Header shares the centered axis of the steps/chips below it (review fix). */
.t2w-mainline-start .t2w-hp-section__header {
    justify-content: center;
    text-align: center;
}

/* 3-step explainer */
.t2w-mainline-steps {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap;
}
.t2w-mainline-step {
    flex: 1 1 0;
    max-width: 280px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #e8dfc7;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(33,27,19,0.06);
}
.t2w-mainline-step__num {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-primary);
    color: #3d2c00;
    font-size: 13px;
    font-weight: 800;
}
.t2w-mainline-step__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #fff7df;
    color: var(--color-primary-text);
}
.t2w-mainline-step__icon .material-symbols-outlined { font-size: 22px; }
.t2w-mainline-step__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.t2w-mainline-step__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--t2w-text-primary, #3d2c00);
    letter-spacing: -0.02em;
}
.t2w-mainline-step__desc {
    font-size: 13px;
    font-weight: 500;
    color: var(--t2w-text-muted, #9a8b6a);
    line-height: 1.35;
}
.t2w-mainline-step__arrow {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    color: #c9bfa6;
}
.t2w-mainline-step__arrow .material-symbols-outlined { font-size: 22px; }

/* chips */
.t2w-mainline-chips-label {
    text-align: center;
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-primary-text);
}
.t2w-mainline-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    max-width: 920px;
    margin: 0 auto;
}
.t2w-mainline-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 15px;
    border: 1px solid #e8dfc7;
    border-radius: 100px;
    background: #fff;
    color: #3d2c00;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(33,27,19,0.06);
    transition: all 0.2s;
}
.t2w-mainline-chip:hover {
    background: #fffaee;
    border-color: var(--color-primary);
    color: var(--color-primary-text);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255,183,0,0.15);
}
.t2w-mainline-chip__icon {
    font-size: 16px;
    color: var(--color-primary);
}

/* tablet */
@media (max-width: 1024px) {
    .t2w-mainline-steps { flex-wrap: wrap; }
    .t2w-mainline-step { flex: 1 1 240px; max-width: none; }
    .t2w-mainline-step__arrow { display: none; }
}

/* mobile */
@media (max-width: 768px) {
    .t2w-mainline-start { padding: 18px 0 22px; }
    .t2w-mainline-steps {
        flex-direction: column;
        gap: 8px;
        margin: 0 16px 18px;
    }
    .t2w-mainline-step { flex: 1 1 auto; max-width: none; min-height: 44px; }
    .t2w-mainline-chips-label { margin: 0 16px 8px; text-align: left; }
    .t2w-mainline-chips {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0 16px 4px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .t2w-mainline-chips::-webkit-scrollbar { display: none; }
    .t2w-mainline-chip {
        flex: 0 0 auto;
        min-height: 44px;
        font-size: 14px;
        scroll-snap-align: start;
        white-space: nowrap;
    }
}
