/* ========================================================
   ETS CARWASH THAILAND - Main Stylesheet
   True-Dtac & TrueStore Modern Brand Aesthetic
   Vibrant True Red (#ed1c24) + Dtac Cyan (#00a4e4) + Sleek Tech UI
======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Prompt:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Kanit:wght@400;500;600;700;800;900&display=swap');

:root {
    /* TukTuket Signature Brand Colors */
    --true-red: #0b5ed7;
    --true-red-dark: #0a3f9e;
    --true-red-light: #eaf3ff;
    --dtac-blue: #1f8fff;
    --dtac-blue-dark: #0b5ed7;
    --dtac-blue-light: #e0f7ff;
    
    /* Gradients */
    --brand-gradient: linear-gradient(135deg, #1f8fff 0%, #0b5ed7 50%, #0a3f9e 100%);
    --true-gradient: linear-gradient(135deg, #1f8fff 0%, #0b5ed7 100%);
    --dtac-gradient: linear-gradient(135deg, #1f8fff 0%, #0b5ed7 100%);
    --dark-gradient: linear-gradient(135deg, #0b132b 0%, #1e1b4b 50%, #0f172a 100%);
    --gold-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);

    /* Neutral & Surfaces */
    --primary: #1f8fff;
    --primary-dark: #0b5ed7;
    --primary-light: #eaf3ff;
    --accent: #ffc02e;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #0f172a;
    --dark-muted: #334155;
    --light-bg: #f8fafc;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;

    /* Radiuses (Modern smooth roundness) */
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-sm: 8px;

    /* Shadows & Glows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.03);
    --shadow-lg: 0 12px 24px -4px rgba(0,0,0,0.08), 0 4px 8px -2px rgba(0,0,0,0.03);
    --shadow-xl: 0 20px 30px -6px rgba(0,0,0,0.12), 0 8px 12px -4px rgba(0,0,0,0.04);
    --glow-red: 0 8px 20px rgba(11, 94, 215, 0.28);
    --glow-blue: 0 8px 20px rgba(31, 143, 255, 0.28);

    /* TukTuket brand tokens (โทนจากโลโก้ — ฟ้า + เหลือง) */
    --tt-blue: #1f8fff;
    --tt-blue-mid: #0b5ed7;
    --tt-blue-deep: #0a3f9e;
    --tt-blue-light: #4a9eff;
    --tt-blue-soft: #eaf3ff;
    --tt-yellow: #ffc02e;
    --tt-yellow-deep: #f0a500;
    --tt-blue-gradient: linear-gradient(150deg, #24a3ff 0%, #0b5ed7 55%, #0a3f9e 100%);
}

body {
    font-family: 'Prompt', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #334155;
    background-color: var(--light-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .brand-font {
    font-family: 'Kanit', sans-serif;
    color: var(--dark);
    font-weight: 600;
    letter-spacing: -0.2px;
}

/* ========================================================
   Navbar (True-Dtac Clean Frosted Glass Style)
======================================================== */
.navbar-ets {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
    padding: 0.85rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.navbar-ets .navbar-brand {
    font-family: 'Kanit', sans-serif;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dark);
}

.navbar-ets .navbar-brand .brand-logo {
    height: 46px;
    width: auto;
    display: block;
}

@media (max-width: 575.98px) {
    .navbar-ets .navbar-brand .brand-logo { height: 40px; }
}

.brand-badge-true {
    background: var(--tt-blue-gradient);
    color: #ffffff;
    border-radius: 12px;
    padding: 6px 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(11, 94, 215, 0.28);
}

.navbar-ets .nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    color: #475569;
    padding: 0.38rem 0.72rem !important;
    border-radius: 50rem;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.navbar-ets .nav-link:hover {
    color: var(--tt-blue-mid, #0b5ed7);
    background-color: var(--tt-blue-soft, #eaf3ff);
}

.navbar-ets .nav-link.active {
    color: #ffffff !important;
    background: var(--tt-blue-gradient) !important;
    box-shadow: 0 3px 9px rgba(11, 94, 215, 0.22);
}
.navbar-ets .nav-link i { color: inherit !important; opacity: 0.85; }
.navbar-ets .nav-link.active i { opacity: 1; }

/* ---- TukTuket navbar ---- */
.navbar-ets { padding: 0.6rem 0; }
.navbar-ets .navbar-nav { gap: 0.15rem; }
.navbar-ets .d-flex .btn {
    white-space: nowrap;
    font-size: 0.83rem;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
}
.navbar-ets .navbar-brand .tt-wordmark { font-size: 1.4rem; }
.navbar-ets .navbar-brand .tt-wordmark .tt-w1 { color: var(--tt-blue-deep, #0a3f9e); }
.navbar-ets .navbar-brand .tt-wordmark .tt-w2 { color: var(--tt-blue, #1f8fff); }
.navbar-ets .navbar-brand .tt-wordmark .tt-pin { color: var(--tt-yellow, #ffc02e); }

.navbar-ets .dropdown-menu {
    border-radius: 14px;
    padding: 0.4rem;
    box-shadow: 0 16px 40px -8px rgba(10, 63, 158, 0.22);
}
.navbar-ets .dropdown-menu .dropdown-item {
    border-radius: 9px;
    font-size: 0.92rem;
    padding: 0.5rem 0.7rem;
}
.navbar-ets .dropdown-menu .dropdown-item:hover {
    background: var(--tt-blue-soft, #eaf3ff);
    color: var(--tt-blue-mid, #0b5ed7);
}
.navbar-ets .dropdown-menu .dropdown-item.active,
.navbar-ets .dropdown-menu .dropdown-item:active {
    background: var(--tt-blue-gradient);
    color: #fff;
}
.navbar-ets .dropdown-menu .dropdown-item i { color: var(--tt-blue, #1f8fff); }
.navbar-ets .dropdown-menu .dropdown-item.active i { color: #fff; }

.btn-tt-outline {
    border: 1.5px solid var(--tt-blue, #1f8fff);
    color: var(--tt-blue-mid, #0b5ed7);
    background: #fff;
    font-weight: 600;
    transition: all 0.18s ease;
}
.btn-tt-outline:hover {
    background: var(--tt-blue-soft, #eaf3ff);
    color: var(--tt-blue-deep, #0a3f9e);
    border-color: var(--tt-blue, #1f8fff);
}

.navbar-ets .user-role-chip {
    background: var(--tt-blue-soft, #eaf3ff);
    color: var(--tt-blue-mid, #0b5ed7);
}

/* ========================================================
   Hero Section (True 5G / TrueStore Style Gradient & Glow)
======================================================== */
.hero-section {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 27, 75, 0.92) 50%, rgba(15, 23, 42, 0.95) 100%), 
                radial-gradient(circle at 20% 30%, rgba(237, 28, 36, 0.35) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(0, 164, 228, 0.35) 0%, transparent 50%),
                url('https://images.unsplash.com/photo-1520340356584-f9917d1eea6f?w=1600&auto=format&fit=crop&q=80') center/cover no-repeat;
    color: #fff;
    padding: 5.5rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(237, 28, 36, 0.25) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 164, 228, 0.25) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.hero-title {
    font-size: 2.85rem;
    font-weight: 900;
    line-height: 1.22;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.hero-gradient-text {
    background: linear-gradient(135deg, #ff4b5c 0%, #00d2ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #cbd5e1;
    max-width: 700px;
}

/* Hero Search Card */
.hero-search-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.5);
    margin-top: 2rem;
    position: relative;
    z-index: 5;
}

/* ========================================================
   Buttons & CTAs (TukTuket Blue & Amber)
======================================================== */
.btn-primary-ets {
    background: var(--tt-blue-gradient);
    border: none;
    color: #ffffff;
    font-weight: 600;
    padding: 0.65rem 1.5rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 14px rgba(11, 94, 215, 0.28);
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-primary-ets:hover {
    background: linear-gradient(135deg, #0b5ed7 0%, #0a3f9e 100%);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(11, 94, 215, 0.38);
    transform: translateY(-2px);
}

.btn-dtac-blue {
    background: var(--tt-blue-gradient);
    border: none;
    color: #ffffff;
    font-weight: 600;
    padding: 0.65rem 1.5rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 14px rgba(31, 143, 255, 0.28);
    transition: all 0.25s ease;
}

.btn-dtac-blue:hover {
    background: linear-gradient(135deg, #0b5ed7 0%, #0a3f9e 100%);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(11, 94, 215, 0.38);
    transform: translateY(-2px);
}

.btn-brand-combo {
    background: var(--tt-blue-gradient);
    border: none;
    color: #ffffff;
    font-weight: 700;
    padding: 0.75rem 1.75rem;
    border-radius: 50rem;
    box-shadow: 0 10px 22px rgba(11, 94, 215, 0.32);
    transition: all 0.3s ease;
}

.btn-brand-combo:hover {
    color: #ffffff;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 28px rgba(11, 94, 215, 0.4);
}

/* ========================================================
   Cards & Shop Items (TrueStore Minimalist Cards)
======================================================== */
.shop-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.shop-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: #fecdd3;
}

.shop-card-img-wrapper {
    position: relative;
    height: 205px;
    overflow: hidden;
    background-color: #e2e8f0;
}

.shop-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.shop-card:hover .shop-card-img {
    transform: scale(1.06);
}

.shop-card-body {
    padding: 1.35rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ปุ่มคู่ "ดูร้าน / จองคิว" ในการ์ดร้าน — สูงเท่ากัน + ข้อความกึ่งกลางแนวตั้ง
   (.btn-primary-ets ตั้ง padding เอง เลยสูงกว่า .btn-sm ปกติ ทำให้ข้อความปุ่ม outline ดูลอยขึ้น) */
.shop-card .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}
.shop-card .btn.btn-sm {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}

/* ══════ แกลเลอรีหน้าร้าน: โมเสก + lightbox ══════ */
.shop-mosaic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 175px 175px;
    gap: 8px;
    height: 358px;
    border-radius: 16px;
    overflow: hidden;
}
.shop-mosaic .sm-cell { position: relative; overflow: hidden; background: #e2e8f0; cursor: pointer; border-radius: 8px; }
.shop-mosaic .sm-tall { grid-column: 3; grid-row: 1 / span 2; }
.shop-mosaic .sm-cell img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.shop-mosaic .sm-cell:hover img { transform: scale(1.05); }
.shop-mosaic .sm-more {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(15, 23, 42, .6); color: #fff; font-weight: 700; font-size: .95rem; text-align: center;
    backdrop-filter: blur(2px); transition: background .2s ease;
}
.shop-mosaic .sm-cell:hover .sm-more { background: rgba(15, 23, 42, .75); }

/* lightbox modal — สไตล์ Trip (ธีมสว่าง + แถบ thumbnail + sidebar) */
.gm-content { background: #ffffff; color: #0f172a; height: 100vh; display: flex; flex-direction: column; }
.gm-head {
    padding: .6rem 1.25rem; border-bottom: 1px solid #eef0f2; background: #ffffff;
    flex-shrink: 0; display: flex; align-items: center; justify-content: space-between;
}
.gm-head-tabs { display: flex; gap: 1.25rem; }
.gm-htab {
    font-weight: 700; font-size: 1rem; color: #0f172a; padding: .35rem 0;
    border-bottom: 3px solid var(--tt-blue-mid, #0b5ed7); display: inline-flex; align-items: center;
}
.gm-back-btn {
    background: none; border: none; padding: 0; color: var(--tt-blue-mid, #0b5ed7);
    font-size: .95rem; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center;
    transition: color .2s;
}
.gm-back-btn:hover { color: var(--tt-blue-deep, #0a3f9e); text-decoration: underline; }

/* พื้นที่หลัก: [ แถบอัลบั้ม + กริดรูป / Single Viewer ] (ซ้าย) + sidebar (ขวา) */
.gm-body { flex: 1; overflow: hidden; display: flex; flex-direction: column; }
.gm-split { display: flex; flex: 1; height: 100%; min-height: 0; overflow: hidden; }
.gm-main { flex: 1; min-width: 0; display: flex; flex-direction: column; height: 100%; min-height: 0; overflow: hidden; }

/* --- View 1: Grid View --- */
.gm-grid-view { display: flex; flex-direction: column; flex: 1; height: 100%; min-height: 0; overflow: hidden; }
.gm-strip {
    display: flex; gap: 12px; overflow-x: auto; padding: 12px 20px;
    border-bottom: 1px solid #eef0f2; scrollbar-width: thin; flex-shrink: 0; background: #ffffff;
}
.gm-chip { flex-shrink: 0; width: 124px; border: 0; background: transparent; padding: 0; cursor: pointer; text-align: center; }
.gm-chip-img {
    display: block; width: 124px; height: 70px; border-radius: 8px; background-size: cover; background-position: center;
    border: 2px solid transparent; background-color: #e2e8f0; transition: border-color .2s, transform .2s;
}
.gm-chip-lbl {
    display: block; font-size: .8rem; color: #475569; margin-top: 6px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .2s;
}
.gm-chip.active .gm-chip-img { border-color: var(--tt-blue-mid, #0b5ed7); }
.gm-chip.active .gm-chip-lbl { color: var(--tt-blue-mid, #0b5ed7); font-weight: 700; }
.gm-chip:hover .gm-chip-img { transform: translateY(-2px); }

.gm-gridwrap { flex: 1; overflow-y: auto; padding: 20px; }
.gm-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 190px;
    gap: 10px; max-width: 1300px; margin: 0 auto;
}
.gm-thumb {
    display: block; width: 100%; height: 100%; border: 0; padding: 0; margin: 0;
    cursor: pointer; border-radius: 8px; overflow: hidden; background: #e2e8f0; position: relative;
}
.gm-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.gm-thumb:hover img { transform: scale(1.04); }
/* การจัดเรียงภาพ 5 รูปต่อชุด: 2 แนวนอน, 1 แนวตั้ง span 2 แถวในคอลัมน์ 3, 2 แนวนอน */
.gm-thumb:nth-child(5n + 3) { grid-column: 3; grid-row: span 2; }

/* --- View 2: Single Photo Viewer --- */
.gm-single-view { display: flex; flex-direction: column; flex: 1; height: 100%; min-height: 0; overflow: hidden; }
.gm-stage-wrap { flex: 1; min-height: 0; padding: 14px 20px 8px; display: flex; flex-direction: column; }
.gm-stage {
    flex: 1; background: #000000; border-radius: 12px; position: relative;
    display: flex; align-items: center; justify-content: center; overflow: hidden; min-height: 0;
}
.gm-stage-imgwrap {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    position: relative; padding: 12px;
}
.gm-stage-imgwrap img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; user-select: none; }
.gm-stage-btn {
    position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px;
    background: #ffffff; color: #1e293b; border: 0; border-radius: 8px;
    display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
    cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.25); transition: all .2s ease; z-index: 10;
}
.gm-stage-btn:hover { background: #f8fafc; transform: translateY(-50%) scale(1.08); }
.gm-stage-prev { left: 16px; }
.gm-stage-next { right: 16px; }
.gm-stage-count {
    position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
    color: #ffffff; font-size: .9rem; font-weight: 700; text-shadow: 0 1px 4px rgba(0,0,0,.85);
    background: rgba(0,0,0,.35); padding: 3px 14px; border-radius: 20px;
    backdrop-filter: blur(4px); z-index: 5;
}
.gm-stage-caption {
    position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
    color: #ffffff; font-size: .85rem; background: rgba(0,0,0,.55);
    padding: 4px 14px; border-radius: 16px; backdrop-filter: blur(4px);
    max-width: 80%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; z-index: 5;
}

/* แถบ Thumbnail ด้านล่างของ Single Viewer */
.gm-thumbs-bar {
    height: 76px; padding: 10px 20px; background: #ffffff; border-top: 1px solid #eef0f2;
    display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.gm-all-photos-btn {
    width: 56px; height: 56px; background: #1e293b; color: #ffffff; border: 0; border-radius: 6px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    flex-shrink: 0; cursor: pointer; transition: background .2s, transform .2s;
}
.gm-all-photos-btn:hover { background: #0f172a; transform: scale(1.04); }
.gm-all-photos-btn i { font-size: 1.1rem; line-height: 1; }
.gm-all-count { font-size: .72rem; font-weight: 700; margin-top: 3px; line-height: 1; }
.gm-thumbs-track {
    display: flex; gap: 8px; overflow-x: auto; flex: 1; padding: 2px 0;
    scrollbar-width: none; -ms-overflow-style: none;
}
.gm-thumbs-track::-webkit-scrollbar { display: none; }
.gm-bar-thumb {
    width: 56px; height: 56px; flex-shrink: 0; padding: 0; border: 2px solid transparent;
    border-radius: 6px; overflow: hidden; background: #e2e8f0; cursor: pointer;
    transition: border-color .2s, transform .2s, opacity .2s; opacity: .75;
}
.gm-bar-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gm-bar-thumb:hover { opacity: 1; transform: scale(1.05); }
.gm-bar-thumb.active {
    border-color: var(--tt-blue-mid, #0b5ed7); opacity: 1; box-shadow: 0 0 0 1px var(--tt-blue-mid, #0b5ed7);
}

/* Sidebar ด้านขวา */
.gm-side {
    width: 320px; flex-shrink: 0; border-left: 1px solid #eef0f2; padding: 24px 20px;
    display: flex; flex-direction: column; background: #ffffff; height: 100%; min-height: 0;
}
.gm-side-scroll { flex: 1; overflow-y: auto; }
.gm-side-title { font-weight: 800; font-size: 1.2rem; margin: 0 0 18px; color: #0f172a; }
.gm-facs { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.gm-facs li { display: flex; align-items: center; gap: 12px; font-size: .92rem; color: #334155; }
.gm-facs li i:first-child { color: var(--tt-blue-mid, #0b5ed7); font-size: 1.2rem; width: 24px; text-align: center; }
.gm-side-footer { margin-top: 16px; padding-top: 16px; border-top: 1px solid #eef0f2; flex-shrink: 0; }
.gm-cta { width: 100%; border-radius: 10px; font-weight: 700; padding: .65rem 1rem; }

@media (max-width: 991.98px) {
    .gm-split { flex-direction: column; }
    .gm-side { display: none !important; }
    .gm-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 140px; gap: 8px; }
    .gm-gridwrap { padding: 12px; }
    .gm-stage-wrap { padding: 10px 10px 4px; }
    .gm-thumbs-bar { padding: 8px 10px; height: 68px; }
    .gm-all-photos-btn, .gm-bar-thumb { width: 48px; height: 48px; }
    .gm-stage-btn { width: 38px; height: 38px; font-size: 1.1rem; }
    .gm-stage-prev { left: 8px; }
    .gm-stage-next { right: 8px; }
}
@media (max-width: 640px) {
    .gm-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; gap: 6px; }
    .gm-thumb:nth-child(5n + 3) { grid-column: auto; grid-row: auto; }
    .gm-chip, .gm-chip-img { width: 104px; }
    .gm-chip-img { height: 60px; }
}

/* ========================================================
   TukTuket Trip.com-Style Interactive Map Lightbox & Mini Map
======================================================== */
.shop-minimap-wrap {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    background: #e2e8f0;
}
.shop-minimap-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.25s ease;
    z-index: 500;
    pointer-events: auto;
    backdrop-filter: blur(1.5px);
}
.shop-minimap-wrap:hover .shop-minimap-overlay {
    opacity: 1;
}
.shop-minimap-wrap .badge-map-expand {
    background: rgba(15, 23, 42, 0.88);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: 50rem;
    box-shadow: 0 4px 14px rgba(0,0,0,0.3);
    transform: translateY(6px);
    transition: transform 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.shop-minimap-wrap:hover .badge-map-expand {
    transform: translateY(0);
}
.shop-minimap-badge-always {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 450;
    background: rgba(255, 255, 255, 0.95);
    color: var(--tt-blue-deep, #0a3f9e);
    border: 1px solid #e2e8f0;
    border-radius: 50rem;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    pointer-events: none;
}

/* Map Modal Fullscreen Container */
.tmm-content {
    height: 100vh;
    border: none;
    border-radius: 0;
    background: #f1f5f9;
    overflow: hidden;
    position: relative;
}
.tmm-map-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
#shopFullMap {
    width: 100%;
    height: 100%;
}

/* Floating Sidebar Card on Map (Trip.com style) */
.tmm-sidebar-card {
    position: absolute;
    top: 20px;
    right: 24px;
    bottom: 24px;
    width: 440px;
    max-width: calc(100vw - 48px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(226, 232, 240, 0.85);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.tmm-card-head {
    padding: 18px 20px 14px;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0;
    position: relative;
}
.tmm-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.tmm-close-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: scale(1.08);
}

.tmm-nav-tabs {
    display: flex;
    gap: 4px;
    padding: 8px 18px 0;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
    flex-shrink: 0;
    overflow-x: auto;
}
.tmm-nav-tab {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 8px 10px;
    font-weight: 600;
    font-size: 0.86rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.tmm-nav-tab.active {
    color: var(--tt-blue-mid, #0b5ed7);
    border-bottom-color: var(--tt-blue-mid, #0b5ed7);
}

.tmm-card-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
}
.tmm-card-foot {
    padding: 14px 20px;
    border-top: 1px solid #f1f5f9;
    background: #ffffff;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Floating Controls on bottom-left */
.tmm-map-controls {
    position: absolute;
    left: 24px;
    bottom: 28px;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.tmm-ctrl-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffffff;
    color: #1e293b;
    border: 1px solid rgba(226, 232, 240, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
    transition: all 0.2s ease;
    text-decoration: none;
}
.tmm-ctrl-btn:hover {
    background: var(--tt-blue-soft, #eaf3ff);
    color: var(--tt-blue-mid, #0b5ed7);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(11, 94, 215, 0.2);
}

/* Custom Marker Pins */
.tt-pin-container {
    position: relative;
    width: 44px;
    height: 44px;
}
.tt-map-pin {
    width: 38px;
    height: 38px;
    border-radius: 50% 50% 50% 0;
    background: linear-gradient(135deg, #1f8fff 0%, #0b5ed7 100%);
    position: absolute;
    transform: rotate(-45deg);
    left: 3px;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(11, 94, 215, 0.45);
    border: 2px solid #ffffff;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.tt-map-pin i {
    transform: rotate(45deg);
    color: #ffffff;
    font-size: 1.15rem;
}
.tt-pin-pulse {
    position: absolute;
    width: 30px;
    height: 30px;
    background: rgba(31, 143, 255, 0.38);
    border-radius: 50%;
    bottom: -6px;
    left: 7px;
    animation: ttPinPulse 2.2s infinite ease-out;
    pointer-events: none;
}
@keyframes ttPinPulse {
    0% { transform: scale(0.6); opacity: 0.9; }
    100% { transform: scale(2.8); opacity: 0; }
}

/* Nearby shop marker pill on map */
.tt-nearby-pill {
    background: #ffffff;
    color: #0f172a;
    border: 1.5px solid var(--tt-blue, #1f8fff);
    border-radius: 50rem;
    padding: 3px 9px;
    font-size: 0.74rem;
    font-weight: 700;
    font-family: 'Kanit', sans-serif;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.16);
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.tt-nearby-pill:hover, .tt-nearby-pill.active {
    background: var(--tt-blue-gradient);
    color: #ffffff;
    border-color: transparent;
    transform: scale(1.08);
}
.tt-nearby-pill i {
    color: var(--tt-yellow, #ffc02e);
}
.tt-nearby-pill.active i {
    color: #ffffff;
}

/* Nearby shop list card in sidebar */
.tmm-near-item {
    display: flex;
    gap: 12px;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    background: #ffffff;
    margin-bottom: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    cursor: pointer;
}
.tmm-near-item:hover, .tmm-near-item.active {
    border-color: var(--tt-blue, #1f8fff);
    background: var(--tt-blue-soft, #eaf3ff);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 94, 215, 0.1);
}
.tmm-near-img {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
    background: #e2e8f0;
    flex-shrink: 0;
}

/* Mobile Toggle Button & Top Close Button */
.tmm-mobile-toggle-btn {
    display: none;
}
.tmm-mobile-close-btn {
    display: none;
}

/* Mobile adjustments */
@media (max-width: 767.98px) {
    /* Top-right standalone close button on mobile map */
    .tmm-mobile-close-btn {
        display: flex;
        position: absolute;
        top: 16px;
        right: 16px;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: rgba(15, 23, 42, 0.85);
        color: #ffffff;
        border: 1.5px solid rgba(255, 255, 255, 0.3);
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        z-index: 1045;
        box-shadow: 0 4px 16px rgba(0,0,0,0.3);
        backdrop-filter: blur(6px);
        cursor: pointer;
    }
    .tmm-mobile-close-btn:active {
        transform: scale(0.92);
    }

    /* Small Floating Action Button at Bottom-Right on Mobile */
    .tmm-mobile-toggle-btn {
        display: inline-flex;
        position: absolute;
        bottom: 22px;
        right: 16px;
        z-index: 1045;
        align-items: center;
        gap: 8px;
        background: rgba(15, 23, 42, 0.92);
        color: #ffffff;
        border: 1.5px solid rgba(255, 255, 255, 0.28);
        padding: 9px 16px;
        border-radius: 50rem;
        font-size: 0.86rem;
        font-weight: 600;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
        backdrop-filter: blur(8px);
        transition: all 0.25s ease;
        cursor: pointer;
    }
    .tmm-mobile-toggle-btn:active {
        transform: scale(0.95);
    }
    .tmm-mobile-toggle-btn i {
        font-size: 1.05rem;
    }

    /* Bottom Sheet on Mobile - Hidden by default, slides up when .open */
    .tmm-sidebar-card {
        top: auto;
        right: 0;
        left: 0;
        bottom: 0;
        width: 100%;
        max-width: 100%;
        max-height: 75vh;
        border-radius: 24px 24px 0 0;
        transform: translateY(115%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.32s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.25s ease;
        z-index: 1060;
    }
    .tmm-sidebar-card.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .tmm-map-controls {
        left: 14px;
        bottom: 22px;
        top: auto;
    }
}

/* Custom Leaflet Popups */
#shopFullMap .leaflet-popup-content-wrapper,
#shopSingleMap .leaflet-popup-content-wrapper {
    border-radius: 14px;
    box-shadow: 0 14px 35px -8px rgba(15, 23, 42, 0.22);
    padding: 2px;
}
#shopFullMap .leaflet-popup-content {
    margin: 10px 12px;
    line-height: 1.4;
}
#shopFullMap .leaflet-popup-tip {
    box-shadow: 0 14px 35px -8px rgba(15, 23, 42, 0.22);
}

.badge-featured {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}

.badge-verified {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.price-tag-true {
    color: var(--tt-blue-mid, #0b5ed7);
    font-weight: 800;
    font-size: 1.35rem;
    font-family: 'Kanit', sans-serif;
}

/* ========================================================
   Category Cards (TukTuket Modern Grid Icons)
======================================================== */
.category-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.35rem 1rem;
    text-align: center;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    color: var(--dark);
    display: block;
    box-shadow: var(--shadow-sm);
}

.category-card:hover {
    border-color: var(--tt-blue, #1f8fff);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    color: var(--tt-blue-mid, #0b5ed7);
}

.category-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: var(--tt-blue-soft, #eaf3ff);
    color: var(--tt-blue-mid, #0b5ed7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    margin: 0 auto 0.85rem;
    transition: all 0.25s ease;
}

.category-card:hover .category-icon-wrapper {
    background: var(--tt-blue-gradient);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(11, 94, 215, 0.28);
}

/* หมวดหมู่ (vertical) chooser card บนหน้าแรก / landing */
.vertical-choice-card {
    background: #ffffff;
    border-color: var(--border-color) !important;
    transition: all 0.22s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: var(--shadow-sm);
    color: var(--dark);
}
.vertical-choice-card:hover {
    border-color: var(--tt-blue, #1f8fff) !important;
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* ========================================================
   Vehicle Selector Tabs & Slots
======================================================== */
.vehicle-selector-btn {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #ffffff;
    text-align: center;
}

.vehicle-selector-btn:hover {
    border-color: #93c5fd;
    background: #f0f7ff;
}

.vehicle-selector-btn.active {
    border-color: var(--tt-blue, #1f8fff);
    background: var(--tt-blue-soft, #eaf3ff);
    color: var(--tt-blue-deep, #0a3f9e);
    box-shadow: 0 0 0 3px rgba(31, 143, 255, 0.18);
    font-weight: 600;
}

.service-select-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px;
    margin-bottom: 12px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.service-select-item:hover {
    border-color: #93c5fd;
}

.service-select-item.selected {
    border-color: var(--tt-blue, #1f8fff);
    background: #f0f7ff;
    box-shadow: 0 2px 10px rgba(11, 94, 215, 0.1);
}

.slot-btn {
    border: 1px solid var(--border-color);
    background: #ffffff;
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.slot-btn:hover:not(.disabled) {
    border-color: var(--tt-blue, #1f8fff);
    color: var(--tt-blue-mid, #0b5ed7);
}

.slot-btn.selected {
    background: var(--tt-blue-gradient);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 10px rgba(11, 94, 215, 0.25);
}

.slot-btn.disabled {
    background: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* ไฮไลต์ช่องที่ยังกรอกไม่ครบ (หลังปิด popup เตือน) */
.booking-field-flash {
    animation: bookingFieldFlash 1.6s ease;
    border-radius: 12px;
}
@keyframes bookingFieldFlash {
    0%, 100% { box-shadow: 0 0 0 0 rgba(31, 143, 255, 0); }
    15%, 60% { box-shadow: 0 0 0 4px rgba(31, 143, 255, 0.35); }
}
@media (prefers-reduced-motion: reduce) {
    .booking-field-flash { animation: none; }
}

/* ========================================================
   Interactive Map
======================================================== */
/* hero ของหน้าใน (search / near-me / booking / landing) — ไล่เฉดฟ้าธีม */
.inner-hero .text-dtac-blue { color: var(--tt-yellow) !important; }
.inner-hero .breadcrumb-item a { color: rgba(255, 255, 255, 0.8) !important; }

/* ปุ่มเลือกรัศมี (หน้าใกล้ฉัน) — โทนธีม */
.tt-radius .btn {
    border: 1.5px solid var(--border-color);
    color: var(--dark-muted);
    background: #fff;
    font-weight: 600;
}
.tt-radius .btn:hover { background: var(--tt-blue-soft); color: var(--tt-blue-mid); }
.tt-radius .btn-check:checked + .btn {
    background: var(--tt-blue-gradient);
    border-color: transparent;
    color: #fff;
}

.map-container {
    height: 550px;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

/* ========================================================
   TukTuket Near Me / GPS Map Search Page (Trip.com Style Fullscreen)
======================================================== */
body.page-near-me {
    overflow: hidden;
}
body.page-near-me .footer-ets {
    display: none !important;
}

.nearme-fullscreen-wrapper {
    position: relative;
    width: 100%;
    height: calc(100vh - 70px);
    min-height: 600px;
    background: #e2e8f0;
    overflow: hidden;
}

#nearMeMap {
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Floating Glassmorphism Filter Bar (Top) */
.nearme-top-filter-bar {
    position: absolute;
    top: 16px;
    left: 20px;
    z-index: 1015;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 18px;
    padding: 10px 16px;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.12);
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: calc(100% - 500px);
    flex-wrap: wrap;
}

/* Red/Orange Center User Location Pin */
.tt-center-pin-container {
    position: relative;
    width: 36px;
    height: 36px;
}
.tt-center-pin {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #ff4d4f 0%, #d9363e 100%);
    border: 2.5px solid #ffffff;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(217, 54, 62, 0.45);
    position: absolute;
    top: 2px;
    left: 2px;
    z-index: 2;
}
.tt-center-pin i {
    transform: rotate(45deg);
    color: #ffffff;
    font-size: 14px;
}
.tt-center-pulse {
    position: absolute;
    width: 36px;
    height: 36px;
    background: rgba(255, 77, 79, 0.4);
    border-radius: 50%;
    top: 0;
    left: 0;
    animation: ttCenterPulse 2s infinite ease-out;
    pointer-events: none;
}
@keyframes ttCenterPulse {
    0% { transform: scale(0.7); opacity: 0.9; }
    100% { transform: scale(2.8); opacity: 0; }
}

/* Trip.com Style Speech-Bubble Price Pins */
.tt-price-pin {
    background: #ffffff;
    color: #1d4ed8;
    border: 2px solid #2563eb;
    border-radius: 50rem;
    padding: 4px 12px;
    font-size: 0.85rem;
    font-weight: 800;
    font-family: 'Prompt', 'Kanit', sans-serif;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.24), 0 2px 4px rgba(0,0,0,0.06);
    white-space: nowrap;
    position: relative;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -0.01em;
}
.tt-price-pin::after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 7px 6px 0;
    border-style: solid;
    border-color: #2563eb transparent transparent transparent;
    display: block;
    width: 0;
}
.tt-price-pin:hover, .tt-price-pin.active {
    background: #2563eb;
    color: #ffffff;
    border-color: #1d4ed8;
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45);
    z-index: 1000 !important;
}
.tt-price-pin.active::after {
    border-color: #1d4ed8 transparent transparent transparent;
}

/* Trip.com Style Marker Popup Card */
.leaflet-popup-close-button {
    display: none !important;
}
.leaflet-popup-content-wrapper {
    border-radius: 20px !important;
    padding: 0 !important;
    overflow: hidden !important;
    box-shadow: 0 16px 42px -6px rgba(15, 23, 42, 0.24), 0 0 0 1px rgba(0, 0, 0, 0.04) !important;
    background: #ffffff !important;
}
.leaflet-popup-content {
    margin: 0 !important;
    line-height: 1.4 !important;
}
.leaflet-popup-tip {
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18) !important;
    background: #ffffff !important;
}

.map-popup-card-trip {
    width: 280px;
    font-family: 'Prompt', system-ui, -apple-system, sans-serif;
    background: #ffffff;
    overflow: hidden;
    border-radius: 18px;
}
/* Fix Leaflet .leaflet-container img override for popup cards & slides */
.leaflet-container .map-popup-card-trip img,
.leaflet-container .map-popup-header img,
.leaflet-container .map-popup-img,
.leaflet-container .tt-slide-img,
.leaflet-popup-content .map-popup-header img,
.leaflet-popup-content .tt-slide-img,
.map-popup-header img,
.tt-slide img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.map-popup-header {
    position: relative;
    width: 100%;
    height: 140px;
    background: #0f172a;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
}
.map-popup-header .tt-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden;
}
.map-popup-header .tt-slide-img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    opacity: 0;
    transition: opacity 0.55s ease-in-out;
}
.map-popup-header .tt-slide-img.active {
    opacity: 1 !important;
}
.map-popup-fav {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.map-popup-fav:hover {
    background: #ef4444;
    border-color: #ef4444;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.4);
}
.map-popup-fav:active {
    transform: scale(0.92);
}

.map-popup-body-trip {
    padding: 14px 16px 16px;
}

.map-popup-title {
    font-size: 1.02rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.01em;
}

.map-popup-score-badge {
    background: #2563eb;
    color: #ffffff;
    font-weight: 800;
    border-radius: 6px;
    padding: 2px 7px;
    font-size: 0.76rem;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
}

.map-popup-review-count {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 500;
    margin-left: 4px;
}

.map-popup-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    font-family: 'Prompt', 'Kanit', sans-serif;
    letter-spacing: -0.02em;
    line-height: 1;
}

.map-popup-distance {
    font-size: 0.78rem;
    color: #475569;
    font-weight: 500;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.map-popup-distance i {
    color: #2563eb;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.map-popup-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.map-popup-btn-book {
    background: #2563eb;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 8px 12px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none !important;
    border: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}
.map-popup-btn-book:hover {
    background: #1d4ed8;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}
.map-popup-btn-book:active {
    transform: scale(0.97);
}

.map-popup-btn-route {
    background: #2563eb;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 8px 12px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none !important;
    border: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}
.map-popup-btn-route:hover {
    background: #1d4ed8;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}
.map-popup-btn-route:active {
    transform: scale(0.97);
}

/* Floating Sidebar Card (Trip.com Right Panel) */
.nearme-floating-sidebar {
    position: absolute;
    top: 16px;
    right: 20px;
    bottom: 16px;
    width: 440px;
    max-width: calc(100% - 40px);
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 14px 45px rgba(15, 23, 42, 0.16);
    border: 1px solid rgba(226, 232, 240, 0.9);
    z-index: 1015;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.nearme-sidebar-header-trip {
    padding: 18px 20px 14px;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0;
    position: relative;
    background: #ffffff;
}

.nearme-sidebar-tabs {
    display: flex;
    border-bottom: 1px solid #f1f5f9;
    background: #fafafa;
    flex-shrink: 0;
}
.nearme-sidebar-tab {
    flex: 1;
    text-align: center;
    padding: 10px 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    border: none;
    background: transparent;
    cursor: pointer;
    border-bottom: 2.5px solid transparent;
    transition: all 0.2s ease;
}
.nearme-sidebar-tab.active {
    color: #2b66ff;
    border-bottom-color: #2b66ff;
    background: #ffffff;
    font-weight: 700;
}

.nearme-sidebar-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 14px 16px;
    scrollbar-width: thin;
}

/* Shop Card in Sidebar (Trip.com Hotel style) */
.trip-shop-card {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid #f1f5f9;
    background: #ffffff;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    color: inherit;
    position: relative;
}
.trip-shop-card:hover, .trip-shop-card.active {
    border-color: #2b66ff;
    background: #f4f8ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(43, 102, 255, 0.12);
}
.trip-shop-img {
    width: 96px;
    height: 96px;
    border-radius: 10px;
    object-fit: cover;
    background: #e2e8f0;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}
.trip-shop-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Sticky Bottom Action Bar */
.nearme-sidebar-bottom-bar {
    padding: 12px 18px;
    border-top: 1px solid #f1f5f9;
    background: #ffffff;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.btn-trip-cta {
    background: #2b66ff;
    color: #ffffff;
    font-weight: 700;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 0.95rem;
    flex: 1;
    text-align: center;
    text-decoration: none;
    border: none;
    transition: background 0.2s ease;
}
.btn-trip-cta:hover {
    background: #1a4fd8;
    color: #ffffff;
}

/* Floating Vertical Map Controls (Trip.com Right Map Controls) */
.nearme-vertical-ctrls {
    position: absolute;
    right: 480px;
    bottom: 24px;
    z-index: 1010;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.tmm-ctrl-btn-trip {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.tmm-ctrl-btn-trip:hover {
    background: #f8fafc;
    color: #2b66ff;
    transform: scale(1.05);
}

/* Mobile Adjustments (<= 991px) */
@media (max-width: 991.98px) {
    .nearme-fullscreen-wrapper {
        height: calc(100vh - 65px);
    }
    .nearme-top-filter-bar {
        left: 12px;
        right: 12px;
        max-width: calc(100% - 24px);
        padding: 8px 12px;
        gap: 8px;
    }
    .nearme-vertical-ctrls {
        right: 16px;
        bottom: 80px;
    }
    .nearme-floating-sidebar {
        position: fixed;
        top: auto;
        right: 0;
        left: 0;
        bottom: 0;
        width: 100%;
        max-width: 100%;
        height: 75vh;
        max-height: 75vh;
        border-radius: 24px 24px 0 0;
        transform: translateY(115%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.32s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.25s ease;
        z-index: 1060;
        box-shadow: 0 -10px 40px rgba(15, 23, 42, 0.3);
    }
    .nearme-floating-sidebar.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
}

/* ========================================================
   Footer (TukTuket theme — น้ำเงินเข้ม + ฟ้า/เหลืองจากโลโก้)
======================================================== */
.footer-ets {
    position: relative;
    background:
        radial-gradient(circle at 12% 0%, rgba(31, 143, 255, 0.16) 0%, transparent 40%),
        radial-gradient(circle at 88% 100%, rgba(255, 192, 46, 0.10) 0%, transparent 45%),
        #081226;
    color: #94a3b8;
    padding: 4rem 0 1.75rem;
    margin-top: 5rem;
    border-top: none;
}
.footer-ets::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: var(--tt-blue-gradient);
}

.footer-ets h5 {
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    margin-bottom: 1.15rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    position: relative;
}
.footer-ets h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 34px;
    height: 2px;
    background: var(--tt-yellow);
}

.footer-ets a {
    color: #9aa8bd;
    text-decoration: none;
    transition: color 0.18s ease;
}
.footer-ets a:hover { color: #ffffff; }
.footer-ets .footer-link:hover { color: var(--tt-blue-light, #4a9eff); }

.footer-ets .tt-wordmark { font-size: 1.9rem; }

.footer-cat {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.3rem 0;
}
.footer-cat i {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(31, 143, 255, 0.14);
    color: #6cb6ff;
    font-size: 0.82rem;
    flex-shrink: 0;
}

.footer-chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(148, 163, 184, 0.22);
    color: #9aa8bd !important;
    border-radius: 999px;
    padding: 0.28rem 0.7rem;
    font-size: 0.76rem;
    text-decoration: none;
    transition: all 0.16s ease;
}
.footer-chip:hover {
    background: rgba(31, 143, 255, 0.16);
    border-color: var(--tt-blue);
    color: #fff !important;
}

.footer-support {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-left: 3px solid var(--tt-yellow);
    border-radius: 12px;
    padding: 0.95rem 1.15rem;
}

.footer-ets .footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    color: #9aa8bd;
    font-size: 1.05rem;
    transition: all 0.18s ease;
}
.footer-ets .footer-social a:hover {
    background: var(--tt-blue-gradient);
    color: #fff;
    transform: translateY(-2px);
}

.footer-ets .footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    margin-top: 2.5rem;
    padding-top: 1.5rem;
}

/* Utilities */
.text-true-red { color: var(--true-red) !important; }
.text-dtac-blue { color: var(--dtac-blue) !important; }
.bg-true-red { background-color: var(--true-red) !important; }
.bg-dtac-blue { background-color: var(--dtac-blue) !important; }
.font-small { font-size: 0.85rem; }
.cursor-pointer { cursor: pointer; }

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.85; }
    100% { transform: scale(1); opacity: 1; }
}

.animate-pulse {
    animation: pulse 2s infinite ease-in-out;
}

/* ========================================================
   Confirm Dialog (SweetAlert2) — Premium Modal UI (z-index: 99999)
======================================================== */
.swal2-container {
    z-index: 99999 !important;
}
.swal2-container.swal2-backdrop-show {
    background: rgba(15, 23, 42, 0.65) !important;
    backdrop-filter: blur(4px);
}

.swal2-popup.swal-ets {
    width: 26rem;
    max-width: calc(100vw - 2rem);
    padding: 2rem 1.75rem 1.65rem;
    border-radius: 24px;
    box-shadow: 0 25px 70px rgba(15, 23, 42, 0.35), 0 4px 16px rgba(0, 0, 0, 0.1);
    font-family: 'Prompt', 'Plus Jakarta Sans', system-ui, sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.8);
    text-align: center;
    background: #ffffff;
}

.swal-ets .swal-ets__icon-box {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    margin-bottom: 1.15rem;
}
.swal-ets .swal-ets__icon-box.danger {
    background: #fef2f2;
    color: #dc2626;
    border: 2px solid #fee2e2;
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.15);
}
.swal-ets .swal-ets__icon-box.warning {
    background: #fffbeb;
    color: #d97706;
    border: 2px solid #fef3c7;
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.15);
}
.swal-ets .swal-ets__icon-box.primary {
    background: #eff6ff;
    color: #2563eb;
    border: 2px solid #dbeafe;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
}

.swal-ets .swal-ets__title {
    text-align: center;
    padding: 0;
    margin: 0 0 0.5rem;
    font-family: 'Prompt', 'Plus Jakarta Sans', sans-serif;
    font-size: 1.22rem;
    font-weight: 700;
    line-height: 1.35;
    color: #0f172a;
}

.swal-ets .swal-ets__body {
    text-align: center;
    padding: 0;
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #64748b;
}

.swal-ets .swal-ets__actions {
    margin: 1.65rem 0 0;
    padding: 0;
    display: flex;
    gap: 0.75rem;
    width: 100%;
}
.swal-ets .swal-ets__actions .swal-ets__btn {
    flex: 1;
}

.swal-ets .swal-ets__btn {
    margin: 0;
    padding: 0.72rem 1.25rem;
    border-radius: 999px;
    font-family: 'Prompt', system-ui, sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.2;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    cursor: pointer;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.swal-ets .swal-ets__btn--ghost {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border-color: #e2e8f0;
}
.swal-ets .swal-ets__btn--ghost:hover {
    background: #e2e8f0 !important;
    color: #1e293b !important;
}

.swal-ets .swal-ets__btn--danger {
    background: #dc2626 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.35);
}
.swal-ets .swal-ets__btn--danger:hover {
    background: #b91c1c !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.45);
}

.swal-ets .swal-ets__btn--primary {
    background: #2563eb !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}
.swal-ets .swal-ets__btn--primary:hover {
    background: #1d4ed8 !important;
    transform: translateY(-1px);
}

@keyframes swalEtsIn {
    from { opacity: 0; transform: translateY(12px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes swalEtsOut {
    to { opacity: 0; transform: scale(0.95); }
}
.swal2-show.swal-ets-in { animation: swalEtsIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) both; }
.swal2-hide.swal-ets-out { animation: swalEtsOut 0.15s ease both; }

@media (prefers-reduced-motion: reduce) {
    .swal2-show.swal-ets-in, .swal2-hide.swal-ets-out { animation: none; }
}

/* ========================================================
   Legal / policy documents (privacy, terms)
======================================================== */
.legal-doc {
    max-width: 820px;
    margin: 0 auto;
    color: #334155;
    font-size: 0.975rem;
    line-height: 1.85;
}
.legal-doc h1 {
    font-family: 'Kanit', sans-serif;
    font-weight: 800;
    font-size: clamp(1.7rem, 4vw, 2.3rem);
    color: var(--dark);
    margin-bottom: 0.5rem;
}
.legal-doc .legal-meta {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 2rem;
}
.legal-doc .legal-toc {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.1rem 1.35rem;
    margin-bottom: 2.5rem;
}
.legal-doc .legal-toc ol { margin: 0; padding-left: 1.2rem; }
.legal-doc .legal-toc a { color: var(--dark-muted); text-decoration: none; }
.legal-doc .legal-toc a:hover { color: var(--true-red); text-decoration: underline; }
.legal-doc section { margin-bottom: 2.25rem; scroll-margin-top: 90px; }
.legal-doc section > h2 {
    font-family: 'Kanit', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--border-light);
}
.legal-doc h3 {
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark-muted);
    margin: 1.1rem 0 0.4rem;
}
.legal-doc ul, .legal-doc ol.legal-list { padding-left: 1.35rem; }
.legal-doc li { margin-bottom: 0.35rem; }
.legal-doc a { color: var(--true-red); }
.legal-doc .legal-callout {
    background: var(--true-red-light);
    border-left: 4px solid var(--true-red);
    border-radius: var(--radius-sm);
    padding: 0.9rem 1.15rem;
    margin: 1rem 0;
    font-size: 0.925rem;
}
.legal-doc .legal-contact {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    margin-top: 1rem;
}
.legal-doc table.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.75rem 0 0.25rem;
    font-size: 0.9rem;
}
.legal-doc table.legal-table th,
.legal-doc table.legal-table td {
    border: 1px solid var(--border-color);
    padding: 0.6rem 0.8rem;
    text-align: left;
    vertical-align: top;
}
.legal-doc table.legal-table th { background: var(--light-bg); font-weight: 600; color: var(--dark); white-space: nowrap; }

/* ========================================================
   TukTuket brand + Auth pages (login / register / forgot)
   โทนจากโลโก้: ฟ้าสด + เหลือง + ขาว
======================================================== */
:root {
    --tt-blue: #1f8fff;
    --tt-blue-mid: #0b5ed7;
    --tt-blue-deep: #0a3f9e;
    --tt-blue-soft: #eaf3ff;
    --tt-yellow: #ffc02e;
    --tt-yellow-deep: #f0a500;
    --tt-blue-gradient: linear-gradient(150deg, #24a3ff 0%, #0b5ed7 55%, #0a3f9e 100%);
}

.tt-wordmark {
    font-family: 'Kanit', sans-serif;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.15em;
}
.tt-wordmark .tt-w1 { color: #ffffff; }
.tt-wordmark .tt-w2 { color: #a9d4ff; }
.tt-wordmark .tt-pin { color: var(--tt-yellow); font-size: 0.82em; }

.btn-tt {
    background: var(--tt-blue-gradient);
    border: none;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(11, 94, 215, 0.32);
    transition: all 0.22s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.btn-tt:hover { color: #ffffff; filter: brightness(1.05); transform: translateY(-2px); box-shadow: 0 14px 28px rgba(11, 94, 215, 0.4); }
.btn-tt:active { transform: translateY(0); }

/* ---- Auth shell ---- */
.tt-auth {
    min-height: calc(100vh - 132px);
    display: flex;
    align-items: center;
    padding: 2.5rem 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(31, 143, 255, 0.12) 0%, transparent 42%),
        radial-gradient(circle at 88% 88%, rgba(255, 192, 46, 0.14) 0%, transparent 45%),
        var(--light-bg);
}
.tt-auth-card {
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 30px 60px -18px rgba(10, 63, 158, 0.28), 0 8px 20px -8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* ---- Brand side ---- */
.tt-auth-brand {
    background: var(--tt-blue-gradient);
    color: #ffffff;
    padding: 2.75rem 2.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.tt-auth-brand::after {
    content: '';
    position: absolute;
    right: -70px;
    bottom: -70px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(255, 192, 46, 0.35) 0%, transparent 70%);
    filter: blur(10px);
    pointer-events: none;
}
.tt-auth-brand .tt-wordmark { font-size: 2.5rem; }
.tt-auth-brand .tt-tagline {
    display: inline-block;
    background: var(--tt-yellow);
    color: #1a1a1a;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 999px;
    padding: 0.3rem 1rem;
    margin-top: 1rem;
}
.tt-feat { list-style: none; padding: 0; margin: 1.75rem 0 0; }
.tt-feat li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.94);
}
.tt-feat li i { color: var(--tt-yellow); font-size: 1.05rem; margin-top: 0.1rem; flex-shrink: 0; }
.tt-brand-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.6rem; }
.tt-brand-chips span {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 0.28rem 0.72rem;
    font-size: 0.78rem;
    font-weight: 500;
}

/* ---- Form side ---- */
.tt-auth-form { padding: 2.75rem 2.6rem; }
.tt-auth-form h1 {
    font-family: 'Kanit', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--dark);
    margin-bottom: 0.2rem;
}
.tt-auth-form .tt-sub { color: #64748b; font-size: 0.92rem; margin-bottom: 1.5rem; }

.tt-field { margin-bottom: 1.05rem; }
.tt-field label {
    display: block;
    font-size: 0.83rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.35rem;
}
.tt-input-group { position: relative; }
.tt-input-group > i {
    position: absolute;
    left: 0.95rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--tt-blue);
    font-size: 1rem;
    pointer-events: none;
}
.tt-input-group .form-control {
    height: 48px;
    border-radius: 13px;
    border: 1.5px solid var(--border-color);
    padding-left: 2.7rem;
    font-size: 0.95rem;
    background: #fbfdff;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.tt-input-group .form-control:focus {
    border-color: var(--tt-blue);
    box-shadow: 0 0 0 4px rgba(31, 143, 255, 0.14);
    background: #ffffff;
}
.tt-input-group .form-control.has-toggle { padding-right: 2.9rem; }
.tt-pw-toggle {
    position: absolute;
    right: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #94a3b8;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    cursor: pointer;
}
.tt-pw-toggle:hover { color: var(--tt-blue); background: var(--tt-blue-soft); }

.tt-hint { font-size: 0.78rem; margin-top: 0.3rem; min-height: 1rem; }
.tt-hint.ok { color: #16a34a; }
.tt-hint.bad { color: #dc2626; }

.tt-auth-form .tt-terms { font-size: 0.8rem; color: #94a3b8; text-align: center; margin: 0.9rem 0 0; }
.tt-auth-form .tt-terms a { color: var(--tt-blue-mid); text-decoration: none; }
.tt-auth-alt { text-align: center; font-size: 0.88rem; color: #64748b; margin-top: 1.25rem; }
.tt-auth-alt a { color: var(--tt-blue-mid); font-weight: 700; text-decoration: none; }

.tt-divider { display: flex; align-items: center; gap: 0.75rem; color: #94a3b8; font-size: 0.82rem; margin: 1.15rem 0; }
.tt-divider::before, .tt-divider::after { content: ''; flex: 1; height: 1px; background: var(--border-color); }

.btn-line-tt {
    background: #06c755;
    color: #fff;
    font-weight: 700;
    border: 0;
}
.btn-line-tt:hover { color: #fff; filter: brightness(0.96); }

@media (max-width: 767.98px) {
    .tt-auth { padding: 1.25rem 0; min-height: 0; }
    .tt-auth-card { border-radius: 22px; }
    .tt-auth-brand { padding: 1.9rem 1.6rem; text-align: center; }
    .tt-auth-brand .tt-wordmark { font-size: 2rem; justify-content: center; }
    .tt-feat, .tt-brand-chips { display: none; }
    .tt-auth-brand .tt-tagline { margin-top: 0.75rem; }
    .tt-auth-form { padding: 1.9rem 1.5rem; }
}

/* ========================================================
   Merchant onboarding (register-shop)
======================================================== */
.tt-onboard-hero {
    background: var(--tt-blue-gradient);
    color: #ffffff;
    padding: 2.75rem 0 2.5rem;
    position: relative;
    overflow: hidden;
}
.tt-onboard-hero::after {
    content: '';
    position: absolute;
    right: -60px;
    top: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 192, 46, 0.28) 0%, transparent 70%);
    pointer-events: none;
}
.tt-onboard-hero .tt-wordmark { font-size: 1.85rem; }
.tt-onboard-hero h1 {
    color: #fff;
    font-weight: 800;
    font-size: clamp(1.4rem, 3.4vw, 1.9rem);
    margin: 0.9rem 0 0.4rem;
}
.tt-onboard-hero .lead-sub { color: rgba(255, 255, 255, 0.9); font-size: 0.95rem; max-width: 640px; }
.tt-onboard-hero .tt-usp { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.1rem; }
.tt-onboard-hero .tt-usp span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 0.32rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 500;
}
.tt-onboard-hero .tt-usp i { color: var(--tt-yellow); }
.tt-onboard-hero .tt-hero-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.75rem; }
.tt-onboard-hero .tt-hero-copy { flex: 1 1 340px; min-width: 0; }
.tt-onboard-hero .tt-hero-visual { flex: 0 1 380px; }
.tt-onboard-hero .tt-hero-visual img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.16);
}
@media (max-width: 991.98px) { .tt-onboard-hero .tt-hero-visual { display: none; } }

/* โลโก้โปสเตอร์บนแผงแบรนด์ (หน้า register) */
.tt-brand-poster {
    display: block;
    width: 100%;
    max-width: 330px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.tt-step-card {
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
}
.tt-step-card > .card-body { padding: 1.5rem 1.6rem; }
.tt-step-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.35rem; }
.tt-step-num {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--tt-blue-gradient);
    color: #fff;
    font-weight: 700;
    font-family: 'Kanit', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 14px rgba(11, 94, 215, 0.28);
}
.tt-step-head h5 { margin: 0; font-weight: 800; font-size: 1.05rem; color: var(--dark); }
.tt-step-desc { font-size: 0.85rem; color: #64748b; margin: 0 0 1rem; }

.tt-shop-form .form-label { font-size: 0.83rem; font-weight: 600; color: #475569; }
.tt-shop-form .form-control,
.tt-shop-form .form-select {
    border-radius: 12px;
    border: 1.5px solid var(--border-color);
    background: #fbfdff;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.tt-shop-form .form-control:focus,
.tt-shop-form .form-select:focus {
    border-color: var(--tt-blue);
    box-shadow: 0 0 0 4px rgba(31, 143, 255, 0.14);
    background: #fff;
}
.tt-shop-form .form-control[readonly] { background: #f1f5f9; }
.tt-shop-form .form-check-input:checked { background-color: var(--tt-blue); border-color: var(--tt-blue); }
.tt-shop-form .form-check-input:focus { border-color: var(--tt-blue); box-shadow: 0 0 0 0.2rem rgba(31, 143, 255, 0.2); }

.tt-vpick .btn-check + label {
    border: 1.5px solid var(--border-color);
    background: #fff;
    color: var(--dark);
    border-radius: 16px;
    transition: all 0.16s ease;
}
.tt-vpick .btn-check + label:hover { border-color: var(--tt-blue); background: var(--tt-blue-soft); }
.tt-vpick .btn-check:checked + label {
    border-color: var(--tt-blue);
    background: var(--tt-blue-soft);
    box-shadow: 0 0 0 3px rgba(31, 143, 255, 0.16);
}
.tt-vpick .btn-check + label i { color: var(--tt-blue); }
.tt-vpick .btn-check:focus-visible + label { outline: 2px solid var(--tt-blue); outline-offset: 2px; }

.tt-fac-hint {
    background: var(--tt-blue-soft);
    border: 1px dashed rgba(31, 143, 255, 0.4);
    color: #0b5ed7;
    border-radius: 12px;
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
}
.tt-shop-form .fac-item .form-check-label i { color: var(--tt-blue); }

/* ---- Password strength meter ---- */
.tt-pw-wrap { position: relative; }
.tt-pw-wrap .tt-pw-eye {
    position: absolute; right: 0.55rem; top: 50%; transform: translateY(-50%);
    border: 0; background: transparent; color: #94a3b8;
    width: 32px; height: 32px; border-radius: 8px; cursor: pointer;
}
.tt-pw-wrap .tt-pw-eye:hover { color: var(--tt-blue); background: var(--tt-blue-soft); }
.tt-shop-form .tt-pw-wrap .form-control { padding-right: 2.6rem; }

.tt-pw-meter { display: flex; gap: 4px; margin-top: 0.5rem; }
.tt-pw-meter span {
    flex: 1; height: 5px; border-radius: 999px; background: #e2e8f0;
    transition: background 0.2s ease;
}
.tt-pw-meter[data-score="1"] span:nth-child(-n+1),
.tt-pw-meter[data-score="2"] span:nth-child(-n+2),
.tt-pw-meter[data-score="3"] span:nth-child(-n+3),
.tt-pw-meter[data-score="4"] span:nth-child(-n+4) { background: currentColor; }
.tt-pw-meter[data-score="1"] { color: #ef4444; }
.tt-pw-meter[data-score="2"] { color: #f59e0b; }
.tt-pw-meter[data-score="3"] { color: #3b82f6; }
.tt-pw-meter[data-score="4"] { color: #16a34a; }

.tt-pw-label { font-size: 0.78rem; margin-top: 0.3rem; font-weight: 600; }
.tt-pw-reqs { list-style: none; padding: 0; margin: 0.45rem 0 0; display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; }
.tt-pw-reqs li { font-size: 0.76rem; color: #94a3b8; display: flex; align-items: center; gap: 0.3rem; }
.tt-pw-reqs li::before { content: '\F63F'; font-family: 'bootstrap-icons'; font-size: 0.85rem; }
.tt-pw-reqs li.ok { color: #16a34a; }
.tt-pw-reqs li.ok::before { content: '\F26B'; }

/* ---- Submit overlay ---- */
.tt-overlay {
    position: fixed; inset: 0; z-index: 20000;
    display: none;
    align-items: center; justify-content: center;
    padding: 1.5rem;
    background: rgba(10, 25, 55, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.tt-overlay.show { display: flex; }
.tt-overlay-card {
    background: #fff;
    border-radius: 24px;
    padding: 2.4rem 2.2rem;
    max-width: 400px;
    width: 100%;
    text-align: center;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.4);
    animation: ttPop 0.28s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes ttPop { from { opacity: 0; transform: translateY(14px) scale(0.96); } to { opacity: 1; transform: none; } }
.tt-overlay-card .tt-wordmark { font-size: 2rem; justify-content: center; }
.tt-overlay-card .tt-wordmark .tt-w1 { color: var(--tt-blue-deep); }
.tt-overlay-card .tt-wordmark .tt-w2 { color: var(--tt-blue); }
.tt-overlay-card.loading .tt-wordmark { animation: ttPulse 1.4s ease-in-out infinite; }
@keyframes ttPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

.tt-overlay-bar {
    height: 6px; border-radius: 999px; background: #e6edf7;
    overflow: hidden; margin: 1.4rem 0 1rem;
}
.tt-overlay-bar > i {
    display: block; height: 100%; width: 40%;
    border-radius: 999px; background: var(--tt-blue-gradient);
    animation: ttSlide 1.15s ease-in-out infinite;
}
@keyframes ttSlide { 0% { margin-left: -40%; } 100% { margin-left: 100%; } }

.tt-overlay-card.done .tt-overlay-bar > i { animation: none; width: 100%; margin-left: 0; }
.tt-overlay-card.done .tt-check {
    width: 58px; height: 58px; border-radius: 50%;
    background: #eafaf0; color: #16a34a;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.9rem; margin-bottom: 0.4rem;
    animation: ttPop 0.3s both;
}
.tt-overlay-title { font-family: 'Kanit', sans-serif; font-weight: 800; font-size: 1.15rem; color: var(--dark); margin: 0.6rem 0 0.35rem; }
.tt-overlay-text { font-size: 0.9rem; color: #64748b; margin: 0; }

@media (prefers-reduced-motion: reduce) {
    .tt-overlay-card, .tt-overlay-card.loading .tt-wordmark, .tt-overlay-bar > i { animation: none !important; }
}

/* ========================================================
   Customer account (hub + profile) — สไตล์การ์ดแบบแอป
======================================================== */
.tt-acct {
    background: var(--light-bg);
    padding: 1.25rem 0 2.5rem;
    min-height: calc(100vh - 120px);
}
.tt-acct-wrap { max-width: 640px; margin: 0 auto; padding: 0 1rem; }

.tt-acct-hero {
    background: var(--tt-blue-gradient);
    color: #fff;
    border-radius: 20px;
    padding: 1.4rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}
.tt-acct-hero::after {
    content: ''; position: absolute; right: -50px; bottom: -60px;
    width: 180px; height: 180px;
    background: radial-gradient(circle, rgba(255,192,46,.3) 0%, transparent 70%);
    pointer-events: none;
}
.tt-acct-hero img {
    width: 56px; height: 56px; border-radius: 50%;
    object-fit: cover; border: 3px solid rgba(255,255,255,.6); flex-shrink: 0;
}
.tt-acct-hero .tt-acct-ava {
    width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
    background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center;
    font-family: 'Kanit', sans-serif; font-weight: 700; font-size: 1.5rem;
}
.tt-acct-hero .tt-acct-avlink {
    position: relative; flex-shrink: 0; display: block; z-index: 1;
    width: 56px; height: 56px;
}
.tt-acct-hero .tt-acct-avlink img,
.tt-acct-hero .tt-acct-avlink .tt-acct-ava { margin: 0; }
.tt-acct-hero .tt-acct-avcam {
    position: absolute; right: -2px; bottom: -2px;
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--tt-yellow); color: #1a1a1a;
    display: flex; align-items: center; justify-content: center;
    font-size: .7rem; border: 2px solid #fff;
}
.tt-acct-hero .name { font-family: 'Kanit', sans-serif; font-weight: 700; font-size: 1.1rem; line-height: 1.2; }
.tt-acct-hero .email { font-size: .82rem; opacity: .9; word-break: break-all; }
.tt-acct-hero .tt-acct-badge {
    display: inline-block; margin-top: .3rem; font-size: .72rem; font-weight: 600;
    background: var(--tt-yellow); color: #1a1a1a; border-radius: 999px; padding: .12rem .6rem;
}

.tt-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
    overflow: hidden;
}
.tt-card-h {
    font-family: 'Kanit', sans-serif; font-weight: 700; font-size: .95rem; color: var(--dark);
    padding: 1rem 1.15rem .5rem;
}

/* แถวสถานะการจอง (4 ไอคอน) */
.tt-status-row { display: grid; grid-template-columns: repeat(4, 1fr); padding: .5rem .5rem 1rem; }
.tt-status-row a {
    text-align: center; text-decoration: none; color: var(--dark-muted);
    padding: .4rem .2rem; border-radius: 12px; transition: background .15s;
}
.tt-status-row a:hover { background: var(--tt-blue-soft); }
.tt-status-row .ic { position: relative; display: inline-block; }
.tt-status-row .ic i { font-size: 1.5rem; color: var(--tt-blue-mid); }
.tt-status-row .ic .cnt {
    position: absolute; top: -6px; right: -10px; min-width: 18px; height: 18px;
    background: var(--true-red); color: #fff; border-radius: 999px;
    font-size: .68rem; font-weight: 700; line-height: 18px; padding: 0 4px;
}
.tt-status-row .lbl { display: block; font-size: .74rem; margin-top: .25rem; }

/* รายการเมนู */
.tt-menu-list { padding: .25rem .35rem .6rem; }
.tt-menu-list a, .tt-menu-list button {
    display: flex; align-items: center; gap: .85rem; width: 100%;
    padding: .8rem .8rem; border: 0; background: transparent; text-align: left;
    color: var(--dark); text-decoration: none; border-radius: 12px;
    font-size: .92rem; cursor: pointer; transition: background .15s;
}
.tt-menu-list a:hover, .tt-menu-list button:hover { background: var(--tt-blue-soft); }
.tt-menu-list .mi {
    width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--tt-blue-soft); color: var(--tt-blue-mid); font-size: 1rem;
}
.tt-menu-list .chev { margin-left: auto; color: #cbd5e1; }
.tt-menu-list .txt small { display: block; color: #94a3b8; font-size: .76rem; }

/* ติดต่อเรา */
.tt-contact-line { display: flex; align-items: center; gap: .7rem; padding: .5rem .35rem; font-size: .9rem; color: var(--dark-muted); }
.tt-contact-line i { color: var(--tt-blue-mid); font-size: 1.05rem; }

.tt-acct .btn-logout {
    width: 100%; border: 0; border-radius: 14px; padding: .85rem;
    background: var(--true-red-light); color: var(--true-red);
    font-weight: 700; font-family: 'Kanit', sans-serif;
}
.tt-acct .btn-logout:hover { background: #ffe2e4; }
.tt-acct .ver { text-align: center; color: #94a3b8; font-size: .76rem; margin-top: 1rem; }

/* ---- ฟอร์มตั้งค่า (tabs) ---- */
.tt-acct-tabs { display: flex; gap: .35rem; overflow-x: auto; padding-bottom: .25rem; margin-bottom: 1rem; }
.tt-acct-tabs a {
    flex: 0 0 auto; padding: .5rem .95rem; border-radius: 999px; font-size: .85rem; font-weight: 600;
    text-decoration: none; color: var(--dark-muted); background: #fff; box-shadow: var(--shadow-sm); white-space: nowrap;
}
.tt-acct-tabs a.active { background: var(--tt-blue-gradient); color: #fff; }

.tt-acct .tt-card-body { padding: 1.1rem 1.15rem 1.3rem; }
.tt-acct .form-label { font-size: .82rem; font-weight: 600; color: #475569; }
.tt-acct .form-control, .tt-acct .form-select {
    border-radius: 12px; border: 1.5px solid var(--border-color); background: #fbfdff;
}
.tt-acct .form-control:focus, .tt-acct .form-select:focus {
    border-color: var(--tt-blue); box-shadow: 0 0 0 4px rgba(31,143,255,.14); background: #fff;
}
.tt-acct .form-control[readonly] { background: #f1f5f9; }

/* สวิตช์การมองเห็นข้อมูล */
.tt-toggle-row {
    display: flex; align-items: center; gap: .9rem;
    padding: .9rem 0; border-bottom: 1px solid var(--border-light);
}
.tt-toggle-row:last-child { border-bottom: 0; }
.tt-toggle-row .t-txt { flex: 1; }
.tt-toggle-row .t-txt b { display: block; font-size: .9rem; color: var(--dark); font-weight: 600; }
.tt-toggle-row .t-txt small { color: #94a3b8; font-size: .78rem; }
.tt-acct .form-switch .form-check-input { width: 2.6em; height: 1.4em; cursor: pointer; }
.tt-acct .form-switch .form-check-input:checked { background-color: var(--tt-blue); border-color: var(--tt-blue); }
.tt-acct .form-switch .form-check-input:focus { border-color: var(--tt-blue); box-shadow: 0 0 0 .2rem rgba(31,143,255,.2); }

.tt-ava-box {
    width: 76px; height: 76px; border-radius: 50%; flex-shrink: 0;
    overflow: hidden; border: 2px solid var(--border-color); background: var(--tt-blue-soft);
}
.tt-ava-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tt-ava-box .tt-ava-ph {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    font-family: 'Kanit', sans-serif; font-weight: 700; font-size: 1.9rem; color: var(--tt-blue-mid);
}

@media (max-width: 575.98px) {
    .tt-acct-hero { border-radius: 16px; }
    .tt-card { border-radius: 14px; }
}

/* ══════ หน้า vertical: ยอดนิยม / Top Picks / ดูล่าสุด (สไตล์ Trip) ══════ */
.tt-hscroll {
    display: flex; gap: 16px; overflow-x: auto; padding-bottom: 6px;
    scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.tt-hscroll::-webkit-scrollbar { display: none; }
.tt-hscroll > .tt-hcard { flex: 0 0 auto; width: calc(25% - 12px); scroll-snap-align: start; }
@media (max-width: 1199.98px) { .tt-hscroll > .tt-hcard { width: calc(33.333% - 11px); } }
@media (max-width: 767.98px)  { .tt-hscroll { gap: 12px; } .tt-hscroll > .tt-hcard { width: 76%; } }

.tt-hcard {
    display: block; background: #fff; border: 1px solid #eef0f2; border-radius: 14px;
    overflow: hidden; text-decoration: none; color: inherit;
    box-shadow: 0 1px 4px rgba(15, 23, 42, .05); transition: box-shadow .2s ease, transform .2s ease;
}
.tt-hcard:hover { box-shadow: 0 10px 24px rgba(15, 23, 42, .12); transform: translateY(-2px); color: inherit; }
.tt-hcard-img { position: relative; aspect-ratio: 16 / 10; background: #e2e8f0; }
.tt-hcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tt-hcard-flag {
    position: absolute; left: 8px; top: 8px; background: var(--tt-blue-gradient, #0b5ed7); color: #fff;
    font-size: .68rem; font-weight: 700; padding: 3px 9px; border-radius: 999px;
}
.tt-hcard-body { padding: 12px 14px 14px; }
.tt-hcard-name {
    font-weight: 700; font-size: .95rem; line-height: 1.35; margin-bottom: 6px; min-height: 2.6em;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tt-hcard-score-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.tt-hcard-score { background: var(--tt-blue-deep, #0a3f9e); color: #fff; font-size: .74rem; font-weight: 700; padding: 2px 7px; border-radius: 6px; }
.tt-hcard-score b { font-size: .82rem; }
.tt-hcard-word { font-size: .78rem; font-weight: 700; color: var(--tt-blue-deep, #0a3f9e); }
.tt-hcard-rv { font-size: .74rem; color: #94a3b8; }
.tt-hcard-meta {
    font-size: .76rem; color: #64748b; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tt-hcard-dot { margin: 0 4px; }
.tt-hcard-foot { margin-top: 10px; text-align: right; min-height: 1.4em; }
.tt-hcard-from { font-size: .72rem; color: #94a3b8; }
.tt-hcard-price { color: var(--tt-blue-deep, #0a3f9e); font-size: 1.05rem; }
.tt-hcard-cta { color: var(--tt-blue-mid, #0b5ed7); font-weight: 700; font-size: .85rem; }

.tt-ptabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 2px solid #eef0f2; scrollbar-width: none; }
.tt-ptabs::-webkit-scrollbar { display: none; }
.tt-ptabs button {
    flex: none; border: 0; background: transparent; color: #64748b; font-weight: 600; font-size: .9rem;
    padding: 8px 14px; border-bottom: 3px solid transparent; margin-bottom: -2px; cursor: pointer; white-space: nowrap;
}
.tt-ptabs button.active { color: var(--tt-blue-deep, #0a3f9e); border-bottom-color: var(--tt-blue-mid, #0b5ed7); }

.tt-hscroll-nav {
    position: absolute; right: -6px; top: 34%; z-index: 3;
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid #e2e8f0; background: #fff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .15); color: #334155; cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: opacity .2s ease;
}
@media (max-width: 767.98px) { .tt-hscroll-nav { display: none; } }

/* ── การ์ดร้านค้าดูล่าสุด (Recently Viewed Card - แนวนอนสไตล์ Trip ตรงตาม Image 2) ── */
#ttRecentList {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 2px 10px 2px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
#ttRecentList::-webkit-scrollbar { display: none; }

.tt-rcard, #ttRecentList .tt-hcard {
    flex: 0 0 340px;
    width: 340px;
    min-height: 94px;
    height: 94px;
    background: #ffffff;
    border: 1px solid #dbe2ea;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .04);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    scroll-snap-align: start;
}
.tt-rcard:hover, #ttRecentList .tt-hcard:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, .08);
    border-color: #94a3b8;
    color: inherit;
}
.tt-rcard-img, #ttRecentList .tt-hcard .tt-hcard-img {
    flex: 0 0 96px;
    width: 96px;
    height: 100%;
    aspect-ratio: auto;
    position: relative;
    background: #e2e8f0;
    overflow: hidden;
}
.tt-rcard-img img, #ttRecentList .tt-hcard .tt-hcard-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.tt-rcard-body, #ttRecentList .tt-hcard .tt-hcard-body {
    flex: 1;
    min-width: 0;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.tt-rcard-name, #ttRecentList .tt-hcard .tt-hcard-name {
    font-weight: 700;
    font-size: .88rem;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 2px;
    min-height: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tt-rcard-stars {
    display: flex;
    align-items: center;
    gap: 2px;
.tt-menu-list .chev { margin-left: auto; color: #cbd5e1; }
.tt-menu-list .txt small { display: block; color: #94a3b8; font-size: .76rem; }

/* ติดต่อเรา */
.tt-contact-line { display: flex; align-items: center; gap: .7rem; padding: .5rem .35rem; font-size: .9rem; color: var(--dark-muted); }
.tt-contact-line i { color: var(--tt-blue-mid); font-size: 1.05rem; }

.tt-acct .btn-logout {
    width: 100%; border: 0; border-radius: 14px; padding: .85rem;
    background: var(--true-red-light); color: var(--true-red);
    font-weight: 700; font-family: 'Kanit', sans-serif;
}
.tt-acct .btn-logout:hover { background: #ffe2e4; }
.tt-acct .ver { text-align: center; color: #94a3b8; font-size: .76rem; margin-top: 1rem; }

/* ---- ฟอร์มตั้งค่า (tabs) ---- */
.tt-acct-tabs { display: flex; gap: .35rem; overflow-x: auto; padding-bottom: .25rem; margin-bottom: 1rem; }
.tt-acct-tabs a {
    flex: 0 0 auto; padding: .5rem .95rem; border-radius: 999px; font-size: .85rem; font-weight: 600;
    text-decoration: none; color: var(--dark-muted); background: #fff; box-shadow: var(--shadow-sm); white-space: nowrap;
}
.tt-acct-tabs a.active { background: var(--tt-blue-gradient); color: #fff; }

.tt-acct .tt-card-body { padding: 1.1rem 1.15rem 1.3rem; }
.tt-acct .form-label { font-size: .82rem; font-weight: 600; color: #475569; }
.tt-acct .form-control, .tt-acct .form-select {
    border-radius: 12px; border: 1.5px solid var(--border-color); background: #fbfdff;
}
.tt-acct .form-control:focus, .tt-acct .form-select:focus {
    border-color: var(--tt-blue); box-shadow: 0 0 0 4px rgba(31,143,255,.14); background: #fff;
}
.tt-acct .form-control[readonly] { background: #f1f5f9; }

/* สวิตช์การมองเห็นข้อมูล */
.tt-toggle-row {
    display: flex; align-items: center; gap: .9rem;
    padding: .9rem 0; border-bottom: 1px solid var(--border-light);
}
.tt-toggle-row:last-child { border-bottom: 0; }
.tt-toggle-row .t-txt { flex: 1; }
.tt-toggle-row .t-txt b { display: block; font-size: .9rem; color: var(--dark); font-weight: 600; }
.tt-toggle-row .t-txt small { color: #94a3b8; font-size: .78rem; }
.tt-acct .form-switch .form-check-input { width: 2.6em; height: 1.4em; cursor: pointer; }
.tt-acct .form-switch .form-check-input:checked { background-color: var(--tt-blue); border-color: var(--tt-blue); }
.tt-acct .form-switch .form-check-input:focus { border-color: var(--tt-blue); box-shadow: 0 0 0 .2rem rgba(31,143,255,.2); }

.tt-ava-box {
    width: 76px; height: 76px; border-radius: 50%; flex-shrink: 0;
    overflow: hidden; border: 2px solid var(--border-color); background: var(--tt-blue-soft);
}
.tt-ava-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tt-ava-box .tt-ava-ph {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    font-family: 'Kanit', sans-serif; font-weight: 700; font-size: 1.9rem; color: var(--tt-blue-mid);
}

@media (max-width: 575.98px) {
    .tt-acct-hero { border-radius: 16px; }
    .tt-card { border-radius: 14px; }
}

/* ══════ หน้า vertical: ยอดนิยม / Top Picks / ดูล่าสุด (สไตล์ Trip) ══════ */
.tt-hscroll {
    display: flex; gap: 16px; overflow-x: auto; padding-bottom: 6px;
    scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.tt-hscroll::-webkit-scrollbar { display: none; }
.tt-hscroll > .tt-hcard { flex: 0 0 auto; width: calc(25% - 12px); scroll-snap-align: start; }
@media (max-width: 1199.98px) { .tt-hscroll > .tt-hcard { width: calc(33.333% - 11px); } }
@media (max-width: 767.98px)  { .tt-hscroll { gap: 12px; } .tt-hscroll > .tt-hcard { width: 76%; } }

.tt-hcard {
    display: block; background: #fff; border: 1px solid #eef0f2; border-radius: 14px;
    overflow: hidden; text-decoration: none; color: inherit;
    box-shadow: 0 1px 4px rgba(15, 23, 42, .05); transition: box-shadow .2s ease, transform .2s ease;
}
.tt-hcard:hover { box-shadow: 0 10px 24px rgba(15, 23, 42, .12); transform: translateY(-2px); color: inherit; }
.tt-hcard-img { position: relative; aspect-ratio: 16 / 10; background: #e2e8f0; }
.tt-hcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tt-hcard-flag {
    position: absolute; left: 8px; top: 8px; background: var(--tt-blue-gradient, #0b5ed7); color: #fff;
    font-size: .68rem; font-weight: 700; padding: 3px 9px; border-radius: 999px;
}
.tt-hcard-body { padding: 12px 14px 14px; }
.tt-hcard-name {
    font-weight: 700; font-size: .95rem; line-height: 1.35; margin-bottom: 6px; min-height: 2.6em;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tt-hcard-score-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.tt-hcard-score { background: var(--tt-blue-deep, #0a3f9e); color: #fff; font-size: .74rem; font-weight: 700; padding: 2px 7px; border-radius: 6px; }
.tt-hcard-score b { font-size: .82rem; }
.tt-hcard-word { font-size: .78rem; font-weight: 700; color: var(--tt-blue-deep, #0a3f9e); }
.tt-hcard-rv { font-size: .74rem; color: #94a3b8; }
.tt-hcard-meta {
    font-size: .76rem; color: #64748b; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tt-hcard-dot { margin: 0 4px; }
.tt-hcard-foot { margin-top: 10px; text-align: right; min-height: 1.4em; }
.tt-hcard-from { font-size: .72rem; color: #94a3b8; }
.tt-hcard-price { color: var(--tt-blue-deep, #0a3f9e); font-size: 1.05rem; }
.tt-hcard-cta { color: var(--tt-blue-mid, #0b5ed7); font-weight: 700; font-size: .85rem; }

.tt-ptabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 2px solid #eef0f2; scrollbar-width: none; }
.tt-ptabs::-webkit-scrollbar { display: none; }
.tt-ptabs button {
    flex: none; border: 0; background: transparent; color: #64748b; font-weight: 600; font-size: .9rem;
    padding: 8px 14px; border-bottom: 3px solid transparent; margin-bottom: -2px; cursor: pointer; white-space: nowrap;
}
.tt-ptabs button.active { color: var(--tt-blue-deep, #0a3f9e); border-bottom-color: var(--tt-blue-mid, #0b5ed7); }

.tt-hscroll-nav {
    position: absolute; right: -6px; top: 34%; z-index: 3;
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid #e2e8f0; background: #fff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .15); color: #334155; cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: opacity .2s ease;
}
@media (max-width: 767.98px) { .tt-hscroll-nav { display: none; } }

/* ── การ์ดร้านค้าดูล่าสุด (Recently Viewed Card - แนวนอนสไตล์ Trip ตรงตาม Image 2) ── */
#ttRecentList {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 2px 10px 2px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
#ttRecentList::-webkit-scrollbar { display: none; }

.tt-rcard, #ttRecentList .tt-hcard {
    flex: 0 0 340px;
    width: 340px;
    min-height: 94px;
    height: 94px;
    background: #ffffff;
    border: 1px solid #dbe2ea;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .04);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    scroll-snap-align: start;
}
.tt-rcard:hover, #ttRecentList .tt-hcard:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, .08);
    border-color: #94a3b8;
    color: inherit;
}
.tt-rcard-img, #ttRecentList .tt-hcard .tt-hcard-img {
    flex: 0 0 96px;
    width: 96px;
    height: 100%;
    aspect-ratio: auto;
    position: relative;
    background: #e2e8f0;
    overflow: hidden;
}
.tt-rcard-img img, #ttRecentList .tt-hcard .tt-hcard-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.tt-rcard-body, #ttRecentList .tt-hcard .tt-hcard-body {
    flex: 1;
    min-width: 0;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.tt-rcard-name, #ttRecentList .tt-hcard .tt-hcard-name {
    font-weight: 700;
    font-size: .88rem;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 2px;
    min-height: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tt-rcard-stars {
    display: flex;
    align-items: center;
    gap: 2px;
    color: #f59e0b;
    font-size: .72rem;
    line-height: 1;
}
.tt-rcard-score-row, #ttRecentList .tt-hcard .tt-hcard-score-row {
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
    margin-bottom: 0;
}
.tt-rcard-score, #ttRecentList .tt-hcard .tt-hcard-score {
    background: #1d4ed8;
    color: #ffffff;
    font-weight: 700;
    font-size: .74rem;
    padding: 2px 8px;
    border-radius: 999px;
    white-space: nowrap;
}
.tt-rcard-word, #ttRecentList .tt-hcard .tt-hcard-word {
    color: #1d4ed8;
    font-weight: 700;
    font-size: .8rem;
    white-space: nowrap;
}
.tt-rcard-price, #ttRecentList .tt-hcard .tt-hcard-price {
    color: var(--tt-blue-deep, #0a3f9e);
    font-weight: 700;
    font-size: .85rem;
    white-space: nowrap;
}
.tt-rcard-loc, #ttRecentList .tt-hcard .tt-hcard-rv {
    font-size: .72rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 767.98px) {
    .tt-rcard, #ttRecentList .tt-hcard {
        flex: 0 0 280px;
        width: 280px;
        height: 88px;
        min-height: 88px;
    }
    .tt-rcard-img, #ttRecentList .tt-hcard .tt-hcard-img {
        flex: 0 0 88px;
        width: 88px;
    }
    .tt-rcard-name, #ttRecentList .tt-hcard .tt-hcard-name {
        font-size: .84rem;
    }
}

/* ========================================================
   TukTuket Modern Floating Alert & Toast System (z-index: 99999)
======================================================== */
.tt-floating-alert-container {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999 !important;
    width: 92%;
    max-width: 520px;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.tt-floating-alert {
    pointer-events: auto;
    background: #ffffff;
    border-radius: 20px;
    padding: 1.05rem 1.25rem;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.22), 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    position: relative;
    overflow: hidden;
    animation: ttAlertSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tt-floating-alert.success { border-left: 5px solid #10b981; }
.tt-floating-alert.danger,
.tt-floating-alert.error   { border-left: 5px solid #ef4444; }
.tt-floating-alert.warning { border-left: 5px solid #f59e0b; }
.tt-floating-alert.info    { border-left: 5px solid #3b82f6; }

.tt-alert-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 1.45rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tt-alert-icon-box.success { background: #ecfdf5; color: #059669; }
.tt-alert-icon-box.danger,
.tt-alert-icon-box.error   { background: #fef2f2; color: #dc2626; }
.tt-alert-icon-box.warning { background: #fffbeb; color: #d97706; }
.tt-alert-icon-box.info    { background: #eff6ff; color: #2563eb; }

.tt-alert-content {
    flex: 1;
    min-width: 0;
    padding-top: 2px;
}
.tt-alert-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 3px;
    line-height: 1.3;
}
.tt-alert-msg {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.45;
    word-break: break-word;
}
.tt-alert-msg ul {
    margin: 0;
    padding-left: 1.15rem;
}

.tt-alert-close {
    background: none;
    border: none;
    font-size: 1rem;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color 0.15s ease;
    margin-top: 2px;
    flex-shrink: 0;
}
.tt-alert-close:hover {
    color: #1e293b;
}

.tt-alert-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    animation: ttProgressShrink 4.5s linear forwards;
}
.tt-alert-progress.success { background: #10b981; }
.tt-alert-progress.danger,
.tt-alert-progress.error   { background: #ef4444; }
.tt-alert-progress.warning { background: #f59e0b; }
.tt-alert-progress.info    { background: #3b82f6; }

@keyframes ttAlertSlideDown {
    from {
        opacity: 0;
        transform: translateY(-40px) scale(0.94);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes ttAlertSlideUp {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(-30px) scale(0.94);
    }
}

@keyframes ttProgressShrink {
    from { width: 100%; }
    to   { width: 0%; }
}

/* SweetAlert2 Toast Upgrades */
.swal2-container.swal2-top-end,
.swal2-container.swal2-top,
.swal2-container.swal2-top-start {
    z-index: 99999 !important;
    padding-top: 20px !important;
}
.swal2-popup.swal2-toast {
    z-index: 99999 !important;
    background: #ffffff !important;
    border-radius: 18px !important;
    box-shadow: 0 20px 55px rgba(15, 23, 42, 0.25), 0 4px 16px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    padding: 14px 18px !important;
    min-width: 330px !important;
    max-width: calc(100vw - 32px) !important;
}
.swal2-toast .swal2-title {
    font-family: 'Prompt', system-ui, sans-serif !important;
    font-size: 0.96rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 !important;
}
.swal2-toast .swal2-html-container {
    font-family: 'Prompt', system-ui, sans-serif !important;
    font-size: 0.86rem !important;
    color: #475569 !important;
    margin-top: 4px !important;
}
.swal2-toast .swal2-icon {
    margin: 0 12px 0 0 !important;
    transform: scale(1.15) !important;
}

/* ===== Shop engagement — ปุ่มเล็ก บันทึก / ถูกใจ / แชร์ (อยู่ในแถบข้อมูลบน hero) ===== */
.tt-eng {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.tt-eng-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    color: #fff;
    font-family: inherit;
    font-size: 0.8rem;
    line-height: 1.6;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.tt-eng-btn:hover { background: rgba(255, 255, 255, 0.22); }
.tt-eng-btn:disabled { opacity: .55; cursor: default; }
.tt-eng-btn i { font-size: 0.95rem; line-height: 1; }
.tt-eng-n {
    font-weight: 700;
    font-size: 0.8rem;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.tt-eng-btn[data-eng="save"].is-on {
    background: var(--tt-yellow, #ffc02e);
    border-color: var(--tt-yellow, #ffc02e);
    color: #1a1a1a;
}
.tt-eng-btn[data-eng="save"].is-on .tt-eng-n { color: #1a1a1a; }

.tt-eng-btn[data-eng="like"].is-on {
    background: #f43f6e;
    border-color: #f43f6e;
    color: #fff;
}

/* เลขคะแนนรีวิวจาก render_stars() ใช้ .text-dark — บนแถบ hero สีเข้มต้องเป็นสีขาว */
.tt-shop-meta .star-rating .text-dark { color: #fff !important; }
.tt-shop-meta .star-rating .bi-star.text-muted { color: rgba(255, 255, 255, 0.45) !important; }

/* ===== แถวประเภทห้องพัก (หน้าที่พัก) ===== */
.room-row {
    display: grid;
    grid-template-columns: 220px 1fr 190px;
    gap: 16px;
    border: 1px solid #e6ecf3;
    border-radius: 16px;
    padding: 14px;
    background: #fff;
}
.room-row-media {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 150px;
}
.room-row-media img { width: 100%; height: 100%; object-fit: cover; }
.room-row-count {
    position: absolute; left: 8px; bottom: 8px;
    background: rgba(15,23,42,.72); color: #fff;
    font-size: .72rem; font-weight: 600;
    padding: 2px 8px; border-radius: 999px;
}
.room-row-name { font-weight: 700; font-size: 1.02rem; margin: 0 0 4px; color: #0f172a; }
.room-row-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.room-row-am { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.room-am-chip {
    display: inline-flex; align-items: center; gap: 4px;
    background: #f1f5fb; border: 1px solid #e4ebf4;
    border-radius: 8px; padding: 2px 8px;
    font-size: .74rem; color: #475569;
}
.room-am-chip i { color: var(--tt-blue-mid, #0b5ed7); }
.room-row-cta {
    border-left: 1px solid #eef2f7;
    padding-left: 16px;
    display: flex; flex-direction: column; justify-content: center;
}
.room-row-price { line-height: 1.2; }
.room-row-from { display: block; font-size: .72rem; color: #94a3b8; }
.room-row-amount { font-size: 1.5rem; font-weight: 800; color: var(--tt-blue-mid, #0b5ed7); }
.room-row-unit { font-size: .8rem; color: #64748b; }

@media (max-width: 767.98px) {
    .room-row { grid-template-columns: 1fr; }
    .room-row-media { min-height: 180px; }
    .room-row-cta { border-left: none; border-top: 1px solid #eef2f7; padding-left: 0; padding-top: 12px; }
}

/* ===== สไลด์รูปบนการ์ด/ป็อปอัป near-me (Auto Slide & Controls) ===== */
.tt-slide {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}
.tt-slide-img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    opacity: 0;
    transition: opacity 0.55s ease-in-out;
    pointer-events: none;
}
.tt-slide-img.active {
    opacity: 1 !important;
    pointer-events: auto;
}
.tt-slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    cursor: pointer;
    z-index: 6;
    opacity: 0;
    transition: all 0.2s ease;
}
.map-popup-header:hover .tt-slide-arrow,
.trip-shop-card:hover .tt-slide-arrow {
    opacity: 1;
}
.tt-slide-arrow:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}
.tt-slide-arrow:active {
    transform: translateY(-50%) scale(0.92);
}
.tt-slide-prev {
    left: 8px;
}
.tt-slide-next {
    right: 8px;
}
.tt-slide-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 6px;
    display: flex;
    gap: 4px;
    justify-content: center;
    z-index: 6;
}
.tt-slide-dot {
    width: 5px;
    height: 5px;
    border-radius: 50rem;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transition: all 0.25s ease;
}
.tt-slide-dot.active {
    background: #ffffff;
    width: 13px;
}
