/**
 * assets/css/homepage.css – ThemeSanBong
 * Styles cho Trang chủ (front-page)
 * Enqueue có điều kiện: is_front_page()
 */

/* ══════════════════════════════════════════════════════════════════
   HERO INTRO
══════════════════════════════════════════════════════════════════ */
.hero-intro {
    position: relative;
    width: 100%;
    min-height: 540px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #111;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Dark overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,.82) 0%,
        rgba(0,0,0,.65) 55%,
        rgba(0,0,0,.25) 100%
    );
    z-index: 1;
}

/* Main content area */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

/* ── H1 ─────────────────────────────────────────────────────────── */
.hero-h1 {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: .02em;
}

.hero-h1-line1 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    color: #ffffff;
    display: block;
}

.hero-h1-line2 {
    font-size: clamp(3rem, 9vw, 5.5rem);
    display: block;
    background: linear-gradient(135deg, #ff6b00 0%, #e8001d 60%, #ff3c00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 8px rgba(232,0,29,.4));
}

/* ── Subtitle ───────────────────────────────────────────────────── */
.hero-subtitle {
    font-size: clamp(.85rem, 2vw, 1.05rem);
    color: rgba(255,255,255,.82);
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* ── Feature bullets ────────────────────────────────────────────── */
.hero-features {
    list-style: none;
    padding: 0; margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .55rem 2rem;
    max-width: 520px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .875rem;
    color: rgba(255,255,255,.88);
    font-weight: 500;
}

.hero-feature-icon {
    flex-shrink: 0;
    color: rgba(255,255,255,.7);
    display: flex;
}

/* ── Bottom bar ─────────────────────────────────────────────────── */
.hero-bottom-bar {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
}

.hero-btm-left,
.hero-btm-right {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: 1.1rem 1.5rem;
    font-size: .9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    text-decoration: none;
    transition: background .15s, color .15s;
}

.hero-btm-left {
    color: #1e293b;
    border-right: 1px solid #e5e7eb;
}
.hero-btm-left:hover { background: #f8fafc; color: #dc2626; }

.hero-btm-right {
    color: #dc2626;
}
.hero-btm-right:hover { background: #fef2f2; }
.hero-btm-right svg { flex-shrink: 0; color: #dc2626; }

/* ── Mobile ─────────────────────────────────────────────────────── */
@media (max-width: 600px) {
    .hero-content { padding: 2.5rem 1rem 1.5rem; }
    .hero-features { grid-template-columns: 1fr; max-width: 100%; }
    .hero-bottom-bar { grid-template-columns: 1fr; }
    .hero-btm-left { border-right: none; border-bottom: 1px solid #e5e7eb; }
}

/* ══════════════════════════════════════════════════════════════════
   BOOKING SECTION v2
══════════════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════════
   ROW: BÀI ĐĂNG LAYER 03 – Featured + Sidebar
   ═══════════════════════════════════════════════════════════════ */
.pl3-section {
    background: #F1F5F9;
    padding: 3rem 0;
}
.pl3-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}
.pl3-header { margin-bottom: 1.5rem; }
.pl3-title {
    font-size: 1.35rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: .5rem;
}
.pl3-title a { color: #111; text-decoration: none; transition: color .2s; }
.pl3-title a:hover { color: #e01414; }
.pl3-title-line { height: 3px; background: #e01414; width: 48px; border-radius: 2px; }

/* Layout 2 cột: 50/50 */
.pl3-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

/* ── Cột trái: Featured ── */
.pl3-featured { display: flex; flex-direction: column; gap: .85rem; }
.pl3-feat-thumb-wrap {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 16/10;
    background: #f1f5f9;
}
.pl3-feat-thumb {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}
.pl3-feat-thumb-wrap:hover .pl3-feat-thumb { transform: scale(1.04); }
.pl3-no-img {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
}
.pl3-feat-body { display: flex; flex-direction: column; gap: .5rem; }
.pl3-feat-title {
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.4;
    margin: 0;
}
.pl3-feat-title a { color: #111; text-decoration: none; transition: color .2s; }
.pl3-feat-title a:hover { color: #e01414; }
.pl3-feat-excerpt {
    font-size: .85rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pl3-feat-meta {
    display: flex; align-items: center; gap: .75rem;
    font-size: .75rem; color: #9ca3af; margin-top: .15rem;
}
.pl3-feat-cat { color: #6b7280; font-weight: 600; }
.pl3-feat-time { display: flex; align-items: center; gap: .25rem; }

/* ── Cột phải: Sidebar ── */
.pl3-sidebar {
    display: flex; flex-direction: column; gap: 1.5rem;
    border-left: 1px solid #e5e7eb;
    padding-left: 2.5rem;
}

/* 2 bài thumbnail nhỏ */
.pl3-thumbs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.pl3-thumb-card { display: flex; flex-direction: column; gap: .5rem; }
.pl3-tc-thumb-wrap {
    display: block;
    overflow: hidden;
    border-radius: 6px;
    aspect-ratio: 16/9;
    background: #f1f5f9;
}
.pl3-tc-thumb {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform .3s ease;
}
.pl3-tc-thumb-wrap:hover .pl3-tc-thumb { transform: scale(1.05); }
.pl3-tc-title {
    font-size: .85rem;
    font-weight: 700;
    line-height: 1.45;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pl3-tc-title a { color: #111; text-decoration: none; transition: color .2s; }
.pl3-tc-title a:hover { color: #e01414; }

/* 3 bài list */
.pl3-list {
    list-style: none;
    margin: 0; padding: 0;
    display: flex; flex-direction: column; gap: 0;
    border-top: 1px solid #f3f4f6;
}
.pl3-list-item {
    padding: .75rem 0;
    border-bottom: 1px solid #f3f4f6;
    display: flex; align-items: flex-start; gap: .6rem;
}
.pl3-list-item::before {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    background: #e01414;
    border-radius: 1px;
    margin-top: .4rem;
    flex-shrink: 0;
}
.pl3-list-item a {
    font-size: .85rem;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    line-height: 1.45;
    transition: color .2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pl3-list-item a:hover { color: #e01414; }

.pl3-empty { font-size: .85rem; color: #9ca3af; padding: 1rem 0; }

@media (max-width: 768px) {
    .pl3-inner { grid-template-columns: 1fr; }
    .pl3-sidebar { border-left: none; padding-left: 0; border-top: 2px solid #f3f4f6; padding-top: 1.5rem; }
    .pl3-thumbs { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   ROW: BÀI ĐĂNG LAYER 02 – 4 cột đều
   ═══════════════════════════════════════════════════════════════ */
.pl2-section {
    background: #F1F5F9;
    padding: 3rem 0;
}
.pl2-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}
.pl2-header { margin-bottom: 1.5rem; }
.pl2-title {
    font-size: 1.35rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: .5rem;
}
.pl2-title a { color: #111; text-decoration: none; transition: color .2s; }
.pl2-title a:hover { color: #e01414; }
.pl2-title-line { height: 3px; background: #e01414; width: 48px; border-radius: 2px; }

/* Grid 4 cột */
.pl2-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.pl2-card { display: flex; flex-direction: column; gap: .75rem; }

/* Thumbnail */
.pl2-thumb-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 16/10;
    background: #f1f5f9;
}
.pl2-thumb {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}
.pl2-thumb-wrap:hover .pl2-thumb { transform: scale(1.05); }
.pl2-thumb-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
}
.pl2-cat-badge {
    position: absolute;
    top: .5rem; left: .5rem;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: .68rem;
    font-weight: 600;
    padding: .2rem .5rem;
    border-radius: 3px;
    letter-spacing: .02em;
    backdrop-filter: blur(3px);
}

/* Body */
.pl2-body { display: flex; flex-direction: column; gap: .3rem; }
.pl2-post-title {
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.45;
    color: #111;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pl2-post-title a { color: inherit; text-decoration: none; transition: color .2s; }
.pl2-post-title a:hover { color: #e01414; }
.pl2-time {
    font-size: .74rem;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: .25rem;
}
.pl2-empty { font-size: .85rem; color: #9ca3af; padding: 1rem 0; }

@media (max-width: 900px) {
    .pl2-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    .pl2-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
}

/* ═══════════════════════════════════════════════════════════════
   ROW: BÀI ĐĂNG LAYER 01
   ═══════════════════════════════════════════════════════════════ */
.pl1-section {
    background: #fff;
    padding: 3rem 0;
}
.pl1-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Tiêu đề danh mục */
.pl1-header { margin-bottom: 1.5rem; }
.pl1-title {
    font-size: 1.35rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: .5rem;
}
.pl1-title a {
    color: #111;
    text-decoration: none;
    transition: color .2s;
}
.pl1-title a:hover { color: #e01414; }
.pl1-title-line {
    height: 3px;
    background: #e01414;
    width: 48px;
    border-radius: 2px;
}

/* Grid 2 cột */
.pl1-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

/* Header cột */
.pl1-col-header {
    margin-bottom: 1.2rem;
}
.pl1-col-title {
    font-size: 1.05rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: .5rem;
}
.pl1-col-title a {
    color: #111;
    text-decoration: none;
    transition: color .2s;
}
.pl1-col-title a:hover { color: #e01414; }
.pl1-col-line {
    height: 3px;
    background: #e01414;
    width: 48px;
    border-radius: 2px;
}

/* Divider giữa 2 cột */
.pl1-inner > .pl1-col:first-child {
    border-right: 1px solid #e5e7eb;
    padding-right: 2.5rem;
}

/* Post item */
.pl1-posts { display: flex; flex-direction: column; gap: 0; }
.pl1-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f3f4f6;
    align-items: flex-start;
}
.pl1-item:last-child { border-bottom: none; }

/* Thumbnail */
.pl1-thumb-wrap {
    display: block;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 6px;
    aspect-ratio: 4/3;
}
.pl1-thumb {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}
.pl1-thumb-wrap:hover .pl1-thumb { transform: scale(1.05); }
.pl1-thumb-placeholder {
    width: 100%; height: 90px;
    background: #f1f5f9;
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
}

/* Text */
.pl1-meta { display: flex; flex-direction: column; gap: .35rem; }
.pl1-post-title {
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.45;
    color: #111;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pl1-post-title a {
    color: inherit;
    text-decoration: none;
    transition: color .2s;
}
.pl1-post-title a:hover { color: #e01414; }
.pl1-info {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
}
.pl1-cat {
    font-size: .75rem;
    color: #6b7280;
    text-decoration: none;
    transition: color .2s;
}
.pl1-cat:hover { color: #e01414; }
.pl1-time {
    font-size: .75rem;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: .25rem;
}
.pl1-empty {
    font-size: .85rem;
    color: #9ca3af;
    padding: 1rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .pl1-inner {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .pl1-inner > .pl1-col:first-child {
        border-right: none;
        padding-right: 0;
        border-bottom: 2px solid #f3f4f6;
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
    }
    .pl1-item { grid-template-columns: 100px 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   ROW: THÔNG TIN SÂN
   ═══════════════════════════════════════════════════════════════ */
.si-section {
    background: #F1F5F9;
    padding: 4rem 0;
}
.si-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}
/* Cột trái */
.si-title {
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    font-weight: 900;
    color: #111;
    text-transform: uppercase;
    letter-spacing: .02em;
    line-height: 1.15;
    margin-bottom: .6rem;
}
.si-title-red { color: #e01414; margin-left: .3em; }
.si-subtitle {
    font-size: .85rem;
    font-weight: 700;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 1.1rem;
}
/* WYSIWYG content + clamp 8 dòng */
.si-content-wrap { position: relative; }

.si-content-clamped {
    max-height: calc(1.7em * 8); /* 8 dòng */
    overflow: hidden;
    position: relative;
    transition: max-height .4s ease;
}
.si-content-clamped::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3.5rem;
    background: linear-gradient(transparent, #F1F5F9);
    pointer-events: none;
    transition: opacity .3s;
}
.si-content-clamped.si-expanded {
    max-height: 9999px;
}
.si-content-clamped.si-expanded::after { opacity: 0; }

/* Nội dung wysiwyg */
.si-content { font-size: .88rem; color: #374151; line-height: 1.7; }
.si-content p { margin: 0 0 .85rem; }
.si-content ul, .si-content ol {
    padding-left: 1.2rem;
    margin: 0 0 .85rem;
    display: flex; flex-direction: column; gap: .4rem;
}
.si-content ul { list-style: none; padding-left: 0; }
.si-content ul li {
    display: flex; align-items: flex-start; gap: .5rem;
    font-size: .87rem; color: #1f2937; font-weight: 500;
}
.si-content ul li::before {
    content: '';
    display: inline-block;
    width: 14px; height: 14px; min-width: 14px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 10l4 4 6-7' stroke='%23e01414' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
    margin-top: .2rem;
}
.si-content strong { color: #111; }

/* Nút Xem thêm */
.si-readmore {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: .75rem;
    background: none;
    border: 1px solid #e01414;
    color: #e01414;
    font-size: .8rem;
    font-weight: 700;
    padding: .35rem .9rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background .2s, color .2s;
}
.si-readmore:hover { background: #e01414; color: #fff; }
.si-readmore.hidden { display: none; }

/* Cột phải */
.si-media { position: relative; }
.si-img-wrap {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,.15);
    aspect-ratio: 16/10;
}
.si-img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.si-img-wrap:hover .si-img { transform: scale(1.03); }
.si-play {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    background: rgba(0,0,0,.35);
    text-decoration: none;
    transition: background .2s;
}
.si-play:hover { background: rgba(0,0,0,.5); }
.si-play-icon {
    width: 58px; height: 58px;
    background: rgba(255,255,255,.2);
    border: 2px solid rgba(255,255,255,.7);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(4px);
    transition: transform .2s, background .2s;
}
.si-play:hover .si-play-icon {
    transform: scale(1.1);
    background: rgba(255,255,255,.3);
}
.si-play-label {
    color: #fff;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .03em;
}
.si-img-placeholder {
    border-radius: 14px;
    background: #f8fafc;
    border: 2px dashed #e2e8f0;
    aspect-ratio: 16/10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    color: #94a3b8;
    font-size: .82rem;
}

/* Responsive */
@media (max-width: 768px) {
    .si-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .si-media { order: -1; } /* Ảnh lên trên trên mobile */
}

/* ═══════════════════════════════════════════════════════════════
   ROW: VÌ SAO CHỌN
   ═══════════════════════════════════════════════════════════════ */
.wc-section {
    background: #fff;
    padding: 3.5rem 0 0;
}
.wc-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}
.wc-heading {
    text-align: center;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 900;
    color: #111;
    letter-spacing: .02em;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
}
.wc-heading-red { color: #e01414; margin-left: .35em; }

/* Feature cards */
.wc-cards {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.wc-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 1.25rem 1rem 1.1rem;
    text-align: center;
    transition: box-shadow .2s, transform .2s;
}
.wc-card:hover {
    box-shadow: 0 6px 24px rgba(224,20,20,.1);
    transform: translateY(-3px);
}
.wc-icon {
    width: 46px; height: 46px;
    background: #fff0f0;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto .75rem;
    color: #e01414;
}
.wc-icon svg { width: 24px; height: 24px; }
.wc-card-title {
    font-size: .82rem;
    font-weight: 700;
    color: #111;
    margin-bottom: .35rem;
}
.wc-card-desc {
    font-size: .73rem;
    color: #64748b;
    line-height: 1.45;
    margin: 0;
}

/* Stats bar */
.wc-stats {
    background: #1a1a1a;
    border-radius: 14px 14px 0 0;
    padding: 1.6rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.wc-stat {
    display: flex;
    align-items: center;
    gap: .75rem;
}
.wc-stat-icon {
    width: 42px; height: 42px;
    background: rgba(224,20,20,.18);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #e01414;
    flex-shrink: 0;
}
.wc-stat-icon svg { width: 20px; height: 20px; }
.wc-stat-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.wc-stat-num {
    font-size: 1.35rem;
    font-weight: 900;
    color: #fff;
}
.wc-stat-lbl {
    font-size: .72rem;
    color: #94a3b8;
}

/* Responsive */
@media (max-width: 900px) {
    .wc-cards { grid-template-columns: repeat(3, 1fr); }
    .wc-stats { justify-content: center; gap: 1.25rem 2rem; }
}
@media (max-width: 520px) {
    .wc-cards { grid-template-columns: repeat(2, 1fr); }
    .wc-stats { flex-direction: column; align-items: flex-start; }
}

/* ─── Booking section ───────────────────────────────────────── */
.sb-booking {
    background: #f1f5f9;
    padding: 2rem 0 2.5rem;
}
.sb-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 1.25rem;
    align-items: stretch;
}

/* ── Calendar panel ────────────────────────────────────────────── */
.sb-cal {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Top bar */
.sb-topbar {
    display: flex;
    flex-direction: column;
    gap: .55rem;
    padding: .9rem 1.25rem .75rem;
    border-bottom: 1px solid #f1f5f9;
}
.sb-topbar-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem 1rem;
}
.sb-cal-title {
    font-size: .95rem;
    font-weight: 700;
    color: #1e3a5f;
    border-left: 3px solid #2563eb;
    padding-left: .55rem;
    line-height: 1.2;
}

/* Week nav */
.sb-week-nav { display: flex; align-items: center; gap: .4rem; }
.sb-navbtn {
    width: 28px; height: 28px;
    border: 1.5px solid #e2e8f0; border-radius: 6px;
    background: #fff; cursor: pointer; font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    transition: border-color .15s;
}
.sb-navbtn:hover { border-color: #2563eb; color: #2563eb; }
#sb-week-label { font-size: .85rem; font-weight: 700; color: #374151; min-width: 90px; text-align: center; }

/* Legend */
.sb-legend {
    display: flex; align-items: center; gap: .75rem;
    font-size: .72rem; color: #6b7280;
}
.sdot { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 3px; vertical-align: middle; }
.sdot-e { background: #e2e8f0; }
.sdot-l { background: #64748b; }
.sdot-b { background: #ef4444; }
.sdot-p { background: #22c55e; }

/* Sáng / Chiều filter */
.sb-filter { display: flex; align-items: center; gap: .35rem; margin-left: auto; }
.sfbtn {
    display: inline-flex; align-items: center; gap: .3rem;
    padding: .35rem .75rem;
    border: 1.5px solid #e2e8f0; border-radius: 8px;
    background: #fff; font-size: .78rem; font-weight: 600;
    color: #64748b; cursor: pointer;
    transition: all .15s;
}
.sfbtn:hover { border-color: #2563eb; color: #2563eb; }
.sfbtn--on   { background: #2563eb; border-color: #2563eb; color: #fff !important; }
#btn-today:hover { border-color: #2563eb; color: #2563eb; }

/* ── Day tabs ──────────────────────────────────────────────────── */
.sb-daytabs {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border-bottom: 2px solid #f1f5f9;
}
.sb-daytab {
    padding: .65rem .25rem;
    text-align: center;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all .15s;
    margin-bottom: -2px;
}
.sb-daytab:hover { background: #f8fafc; }
.sb-daytab.is-active {
    border-bottom-color: #2563eb;
    background: #eff6ff;
}
.sb-daytab.is-sun .sdt-date { color: #ef4444; }
.sdt-name { display: block; font-size: .65rem; color: #94a3b8; text-transform: uppercase; }
.sdt-date { display: block; font-size: .9rem; font-weight: 700; color: #374151; }
.sb-daytab.is-active .sdt-date { color: #2563eb; }

/* ── Grid ──────────────────────────────────────────────────────── */
.sb-grid-scroll { overflow-x: auto; flex: 1; }
.sb-grid { min-width: max-content; }

.sg-row {
    display: flex;
    align-items: center;
    border-top: 1px solid #f1f5f9;
}
.sg-row--head { background: #fafafa; }
.sg-row--head .sg-th { font-size: .68rem; color: #94a3b8; padding: .45rem 0; text-align: center; }

.sg-label {
    width: 72px; min-width: 72px;
    display: flex; align-items: center; gap: .3rem;
    padding: .5rem .6rem;
    font-size: .8rem; font-weight: 700; color: #374151;
}
.sg-field-icon { flex-shrink: 0; opacity: .7; }

.sg-th, .sg-cell {
    flex: 1;
    min-width: 52px;
}

.sg-cell {
    height: 42px;
    border-left: 1px solid #f1f5f9;
    display: flex; align-items: center; justify-content: center;
    font-size: .7rem; font-weight: 700;
    transition: background .1s;
}

/* States */
.sg-cell--empty       { background: #f8fafc; cursor: pointer; }
.sg-cell--empty:hover { background: #dbeafe; }

/* Đã đặt – nền trắng + dấu X đỏ, không viền */
.sg-cell--booked {
    background: #fff;
    cursor: not-allowed;
}
.sg-x {
    color: #ef4444;
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1;
}

/* Đang chơi – nền xanh lá */
.sg-cell--playing { background: #22c55e; }
.sg-play { color: #fff; font-size: 1rem; font-weight: 900; }

/* Đã chọn – nền xanh nhạt + dấu tích xanh */
.sg-cell--sel {
    background: #eff6ff !important;
    border: 2px solid #2563eb !important;
    border-radius: 4px;
    margin: 2px;
    cursor: pointer;
}
.sg-chk {
    color: #2563eb;
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1;
}

/* ── Form panel ─────────────────────────────────────────────────── */
.sb-form-panel {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 1.25rem;
    position: sticky;
    top: 72px;
}
.sb-form-h3 {
    display: flex; align-items: center; gap: .6rem;
    font-size: 1rem; font-weight: 800; color: #1e293b;
    margin: 0 0 1rem;
}
.sb-form-accent {
    display: inline-block;
    width: 4px; height: 1.2rem;
    background: #f97316;
    border-radius: 2px;
    flex-shrink: 0;
}

.sb-input {
    display: block; width: 100%;
    padding: .6rem .85rem;
    border: 1.5px solid #e2e8f0; border-radius: 8px;
    font-size: .875rem; color: #1e293b;
    background: #fff;
    margin-bottom: .65rem;
    box-sizing: border-box;
    transition: border-color .15s;
}
.sb-input:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.08); }
.sb-input[readonly] { background: #f8fafc; cursor: default; color: #64748b; }

.sb-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-bottom: .65rem; }
.sb-row2 .sb-input { margin-bottom: 0; }
.sb-row2 input[type="hidden"] { display: none; }

/* Selection pill */
.sb-sel-pill {
    display: flex; align-items: center; gap: .4rem;
    padding: .55rem .85rem;
    border-radius: 8px;
    background: #f1f5f9;
    font-size: .8rem; color: #64748b;
    margin-bottom: .65rem;
    border: 1.5px solid #e2e8f0;
    transition: all .2s;
}
.sb-sel-pill.has-sel {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1e40af;
}

.sb-submit {
    width: 100%;
    padding: .75rem;
    background: #2563eb; color: #fff;
    border: none; border-radius: 8px;
    font-size: .9rem; font-weight: 700;
    cursor: pointer;
    transition: background .15s, opacity .15s;
    margin-top: .25rem;
}
.sb-submit:hover:not(:disabled) { background: #1d4ed8; }
.sb-submit:disabled { opacity: .45; cursor: not-allowed; }

/* ── Modal ───────────────────────────────────────────────────────── */
.sb-modal-bg {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,.45); z-index: 9998;
}
.sb-modal-bg.is-open { display: block; }

.sb-modal {
    display: none; position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: min(440px, 90vw);
    background: #fff; border-radius: 16px;
    padding: 2rem; text-align: center;
    z-index: 9999;
    box-shadow: 0 16px 48px rgba(0,0,0,.18);
}
.sb-modal.is-open { display: block; animation: sbIn .22s ease; }
@keyframes sbIn {
    from { opacity:0; transform: translate(-50%,-46%); }
    to   { opacity:1; transform: translate(-50%,-50%); }
}
.sb-modal h4 { font-size: 1.2rem; font-weight: 800; color: #1e293b; margin: .5rem 0 .6rem; }
.sb-modal p  { font-size: .875rem; color: #4b5563; line-height: 1.65; margin-bottom: 1.25rem; }
.sb-modal button {
    padding: .65rem 2rem;
    background: #2563eb; color: #fff;
    border: none; border-radius: 8px;
    font-weight: 700; cursor: pointer;
}
.sb-modal button:hover { background: #1d4ed8; }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 860px) {
    .sb-wrap { grid-template-columns: 1fr; }
    .sb-form-panel { position: static; }
}

.booking-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 1.5rem;
    align-items: start;
}

/* ── Calendar ────────────────────────────────────────────────────── */
.booking-cal {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}
.cal-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .75rem 1.5rem;
}
.cal-title {
    font-size: 1rem;
    font-weight: 800;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin: 0;
}
.cal-nav {
    display: flex;
    align-items: center;
    gap: .5rem;
}
.cal-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1.5px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    transition: background .15s, border-color .15s;
}
.cal-nav-btn:hover { background: #f3f4f6; border-color: #dc2626; }
.cal-week-label {
    font-size: .85rem;
    font-weight: 700;
    color: #374151;
    min-width: 130px;
    text-align: center;
}
.cal-legend {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin-left: auto;
}
.leg-item { display: flex; align-items: center; gap: .3rem; font-size: .75rem; color: #6b7280; }
.leg-dot  { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }

/* Grid */
.cal-grid { overflow-x: auto; padding-bottom: .5rem; }
.cal-days-row,
.cal-times-row,
.cal-field-row {
    display: flex;
    align-items: stretch;
    min-width: max-content;
}
.cal-cell-label {
    min-width: 90px;
    width: 90px;
    font-size: .78rem;
    font-weight: 600;
    color: #374151;
    display: flex;
    align-items: center;
    gap: .35rem;
    padding: .5rem .75rem;
    flex-shrink: 0;
}
.field-icon { flex-shrink: 0; color: #9ca3af; }

.cal-day-head {
    flex: 1;
    min-width: 70px;
    text-align: center;
    padding: .5rem .25rem;
    font-size: .78rem;
    color: #6b7280;
    border-left: 1px solid #f3f4f6;
}
.cal-day-head.is-today {
    color: #dc2626;
    font-weight: 700;
    position: relative;
}
.cal-day-head.is-today::after {
    content: '';
    display: block;
    height: 3px;
    background: #dc2626;
    border-radius: 2px;
    margin-top: 2px;
}
.day-name { display: block; font-size: .7rem; text-transform: uppercase; }
.day-date { display: block; font-size: .85rem; font-weight: 700; }

.cal-time-head {
    flex: 1;
    min-width: 52px;
    text-align: center;
    font-size: .68rem;
    color: #9ca3af;
    padding: .3rem .1rem;
    border-left: 1px solid #f3f4f6;
}

.cal-slot {
    flex: 1;
    min-width: 52px;
    height: 38px;
    border-left: 1px solid #f3f4f6;
    border-top: 1px solid #f3f4f6;
    background: #f9fafb;
    transition: background .15s;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}
.cal-slot.slot-booked  { background: #ef4444; }
.cal-slot.slot-playing { background: #22c55e; }
.cal-slot.slot-hold    { background: #f59e0b; }
.cal-slot.is-now       { outline: 2px solid #2563eb; outline-offset: -2px; }
.slot-label { font-size: .58rem; font-weight: 700; color: #fff; text-align: center; line-height: 1.2; }

.cal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #f3f4f6;
    text-align: center;
}
.cal-detail-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .55rem 1.25rem;
    border: 1.5px solid #dc2626;
    border-radius: 8px;
    color: #dc2626;
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.cal-detail-btn:hover { background: #dc2626; color: #fff; }

/* ── Booking Form ────────────────────────────────────────────────── */
.booking-form-wrap {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    padding: 1.5rem;
    position: sticky;
    top: 80px;
}
.booking-form-title {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 1rem;
    font-weight: 800;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin: 0 0 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #dc2626;
}
.booking-form-title svg { color: #dc2626; flex-shrink: 0; }

.bf-group { margin-bottom: .9rem; }
.bf-label { display: block; font-size: .8rem; font-weight: 700; color: #374151; margin-bottom: .35rem; }
.bf-input {
    width: 100%;
    padding: .6rem .85rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 7px;
    font-size: .875rem;
    color: #111827;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
    box-sizing: border-box;
}
.bf-input:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220,38,38,.08);
}
textarea.bf-input { resize: vertical; min-height: 60px; }

.bf-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .85rem 1rem;
    background: #dc2626;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: .95rem;
    font-weight: 800;
    letter-spacing: .03em;
    cursor: pointer;
    transition: background .2s, transform .1s;
    margin-top: 1.25rem;
}
.bf-submit:hover    { background: #b91c1c; }
.bf-submit:active   { transform: scale(.98); }
.bf-submit:disabled { background: #9ca3af; cursor: not-allowed; }

/* ── Modal ───────────────────────────────────────────────────────── */
.booking-modal-backdrop {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 9998;
}
.booking-modal-backdrop.is-open { display: block; }

.booking-modal {
    display: none;
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: min(480px, 90vw);
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    z-index: 9999;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
}
.booking-modal.is-open { display: block; animation: modalIn .25s ease; }
@keyframes modalIn {
    from { opacity:0; transform: translate(-50%,-48%); }
    to   { opacity:1; transform: translate(-50%,-50%); }
}
.modal-icon  { font-size: 3rem; margin-bottom: .75rem; }
.modal-title { font-size: 1.3rem; font-weight: 800; color: #111827; margin: 0 0 .75rem; }
.modal-desc  { font-size: .9rem; color: #4b5563; line-height: 1.7; margin-bottom: 1.5rem; }
.modal-close-btn {
    padding: .7rem 2rem;
    background: #dc2626;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s;
}
.modal-close-btn:hover { background: #b91c1c; }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .booking-wrap { grid-template-columns: 1fr; }
    .booking-form-wrap { position: static; }
}

/* ═══════════════════════════════════════════════════════════════
   ROW: FAQ – Câu hỏi thường gặp
   ═══════════════════════════════════════════════════════════════ */
.faq-section {
    background: #fff;
    padding: 3.5rem 0;
}
.faq-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 1.25rem;
}
.faq-header { margin-bottom: 2rem; text-align: center; }
.faq-title {
    font-size: 1.35rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #111;
    margin-bottom: .6rem;
}
.faq-title-line {
    height: 3px;
    background: #e01414;
    width: 52px;
    border-radius: 2px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.faq-item {
    background: #F1F5F9;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: box-shadow .2s;
}
.faq-item:hover { box-shadow: 0 2px 12px rgba(0,0,0,.07); }
.faq-item.faq-open { border-color: #e01414; }

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.35rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: .92rem;
    font-weight: 700;
    color: #111;
    text-align: left;
    transition: color .2s;
}
.faq-question:hover { color: #e01414; }
.faq-item.faq-open .faq-question { color: #e01414; }

.faq-icon {
    flex-shrink: 0;
    transition: transform .3s ease;
    color: #9ca3af;
}
.faq-item.faq-open .faq-icon {
    transform: rotate(180deg);
    color: #e01414;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}
.faq-answer-inner {
    padding: 0 1.35rem 1.1rem;
    font-size: .875rem;
    color: #4b5563;
    line-height: 1.75;
    border-top: 1px solid #f3f4f6;
    padding-top: .85rem;
}

@media (max-width: 600px) {
    .faq-title { font-size: 1.15rem; }
    .faq-question { font-size: .85rem; padding: .9rem 1rem; }
    .faq-answer-inner { padding: 0 1rem .9rem; padding-top: .7rem; }
}
