/**
 * Home CSS — landing page design v2 (Suji Wedding Theme).
 * 
 * Màu thương hiệu:
 *   Đỏ chủ đạo:  #b5121b
 *   Đỏ đậm:      #8e0e15
 *   Vàng kim:    #c9a26a
 *   Nền sáng:    #fdfbf7 / #faf7f2
 *   Text tối:    #2a2520
 */

/* ============================================================
   1. CSS VARIABLES & BASE
   ============================================================ */
:root {
    --suji-brand-color:  #80141b;
    --suji-red:          #b5121b;
    --suji-red-dark:     #8e0e15;
    --suji-red-light:    rgba(181, 18, 27, 0.08);
    --suji-gold:         #c9a26a;
    --suji-gold-dark:    #a8874d;
    --suji-bg-light:     #faf7f2;
    --suji-bg-white:     #ffffff;
    --suji-text-dark:    #2a2520;
    --suji-text-muted:   #5c534a;
    --suji-border:       #ede5dc;
    --suji-radius-sm:    8px;
    --suji-radius-md:    16px;
    --suji-radius-lg:    24px;
    --suji-font-heading: 'Cormorant Garamond', Georgia, serif;
    --suji-font-body:    'Arsenal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body.suji-home {
    margin: 0;
    padding: 0;
    font-family: var(--suji-font-body);
    font-size: 18px;
    color: var(--suji-text-dark);
    background: var(--suji-bg-white);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

.suji-home-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Tiêu đề chung font Cormorant Garamond, độ đậm 600 */
.suji-home-section-title {
    text-align: center;
    font-size: 42px;
    font-family: var(--suji-font-heading);
    font-weight: 600 !important;
    margin: 0 0 16px;
    color: var(--suji-text-dark);
    letter-spacing: 0.5px;
    line-height: 1.25;
}

.suji-home-section-label {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--suji-red);
    margin: 0 0 10px;
}

/* ============================================================
   2. HEADER CỐ ĐỊNH 2 TẦNG (LOGO GIỮA + THANH MENU ĐỎ)
   ============================================================ */
.suji-site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}
.suji-site-header.is-scrolled {
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.12);
}

/* Tầng 1: Logo & Brand name ở giữa */
.suji-site-header__top {
    background: #ffffff;
    padding: 14px 0;
    border-bottom: 1px solid #f3ece6;
}
.suji-site-header__top-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 46px;
}
.suji-site-header__brand {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: var(--suji-text-dark);
    max-width: 100%;
}
.suji-site-header__logo-img {
    height: 48px;
    max-height: 52px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    display: block;
}
.suji-site-header__brand-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 100%;
}
.suji-site-header__brand-name {
    font-family: var(--suji-font-heading);
    font-size: 24px;
    font-weight: 700 !important;
    letter-spacing: 2px;
    color: var(--suji-text-dark);
    text-transform: uppercase;
    line-height: 1.15;
    text-align: center;
    max-width: 100%;
}
.suji-site-header__brand-tagline {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--suji-gold);
    text-transform: uppercase;
    margin-top: 3px;
    text-align: center;
    max-width: 100%;
    line-height: 1.35;
    white-space: normal;
}

/* Nút Hamburger cho Mobile */
.suji-site-header__burger {
    display: none;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.suji-site-header__burger span {
    display: block;
    height: 2px;
    background: var(--suji-red);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.suji-site-header__burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.suji-site-header__burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.suji-site-header__burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Tầng 2: Thanh menu màu đỏ thương hiệu */
.suji-site-header__bar {
    background: var(--suji-brand-color, #80141b);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.suji-site-header__nav {
    display: block;
}
.suji-site-header__nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 36px;
}
.suji-site-header__nav ul li a {
    display: block;
    padding: 12px 8px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    position: relative;
    transition: color 0.25s ease;
}
.suji-site-header__nav ul li a::after {
    display: none !important;
}
.suji-site-header__nav ul li a:hover {
    color: #ffd166;
}
.suji-site-header__nav ul li a:hover::after {
    display: none !important;
}

/* ============================================================
   3. HERO: BACKGROUND LÀ ẢNH NỀN HERO + MOCKUP MACBOOK CUỘN
   ============================================================ */
.suji-home-hero {
    position: relative;
    background-color: var(--suji-red);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #ffffff;
    padding: 70px 0 90px;
    overflow: hidden;
    text-align: center;
}

/* Lớp phủ overlay để ảnh nền hero mềm mại, chữ đọc rõ ràng */
.suji-home-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
    pointer-events: none;
}

.suji-home-hero__container {
    position: relative;
    z-index: 2;
}

.suji-home-hero__header {
    max-width: 880px;
    margin: 0 auto 40px;
}

.suji-home-hero__title {
    font-family: var(--suji-font-heading);
    font-size: 52px;
    font-weight: 600 !important;
    line-height: 1.25;
    color: #ffffff;
    margin: 0 0 18px;
    letter-spacing: 1px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.suji-home-hero__subtitle {
    font-family: var(--suji-font-body);
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    max-width: 780px;
    margin: 0 auto;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.suji-home-hero__cta-wrap {
    margin-top: 26px;
}
.suji-home-hero__cta {
    display: inline-block;
    padding: 14px 40px;
    background: var(--suji-gold);
    color: #ffffff;
    text-decoration: none;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}
.suji-home-hero__cta:hover {
    background: var(--suji-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    color: #ffffff;
}

/* Khung 2 Điện Thoại Hero cuộn thiệp cưới song song */
.suji-hero-phones {
    --phone-screen-h: 530px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin-top: 36px;
    perspective: 1200px;
}

.suji-hero-phone {
    position: relative;
    flex: 0 0 260px;
    max-width: 260px;
    width: 100%;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.suji-hero-phone--1,
.suji-hero-phone--2 {
    transform: none;
}

.suji-hero-phone:hover {
    transform: translateY(-6px);
    z-index: 10;
}

/* Vỏ khung máy điện thoại */
.suji-hero-phone__frame {
    position: relative;
    background: #18181b;
    border-radius: 44px;
    padding: 10px;
    box-shadow: 
        0 25px 60px -10px rgba(0, 0, 0, 0.6),
        0 0 0 2px rgba(255, 255, 255, 0.12),
        0 0 0 1px rgba(0, 0, 0, 0.8) inset;
    overflow: hidden;
}

/* Dynamic Island */
.suji-hero-phone__island {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 66px;
    height: 17px;
    background: #000000;
    border-radius: 20px;
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 7px;
    pointer-events: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.suji-hero-phone__camera {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #2a3b5c 0%, #0d131f 65%, #000 100%);
    box-shadow: 0 0 1px rgba(255, 255, 255, 0.3) inset;
}

/* Home indicator bar */
.suji-hero-phone__bar {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 78px;
    height: 3.5px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 999px;
    z-index: 15;
    pointer-events: none;
}

/* Màn hình điện thoại chứa ảnh thiệp cuộn */
.suji-hero-phone__screen {
    position: relative;
    width: 100%;
    height: var(--phone-screen-h);
    border-radius: 35px;
    overflow: hidden;
    background: #ffffff;
    cursor: pointer;
}

.suji-hero-phone__img {
    display: block;
    width: 100%;
    height: auto;
    user-select: none;
    pointer-events: none;
}

/* ============================================================
   4. ABOUT SECTION (NỀN TRẮNG, HÌNH ẢNH THANH LỊCH)
   ============================================================ */
.suji-home-about {
    padding: 100px 0;
    background: #ffffff;
}
.suji-home-about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.suji-home-about__grid--noimage {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.suji-home-about__title {
    font-size: 38px;
    font-family: var(--suji-font-heading);
    font-weight: 600 !important;
    line-height: 1.3;
    margin: 0 0 20px;
    color: var(--suji-text-dark);
}
.suji-home-about__text {
    font-family: var(--suji-font-body);
    color: var(--suji-text-muted);
    font-size: 18px;
    line-height: 1.85;
}
.suji-home-about__text p {
    margin: 0 0 16px;
}
.suji-home-about__image img {
    width: 100%;
    height: auto;
    border-radius: var(--suji-radius-md);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.08);
    display: block;
}

/* ============================================================
   5. FEATURES SECTION (5 TÍNH NĂNG NỔI BẬT CỐ ĐỊNH)
   ============================================================ */
.suji-home-features {
    padding: 100px 0;
    background: #ffffff;
    border-top: none;
    border-bottom: 1px solid var(--suji-border);
}
.suji-home-features__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}
.suji-home-feature {
    background: #faf7f4;
    padding: 38px 28px;
    border-radius: var(--suji-radius-md);
    text-align: center;
    border: 1px solid #ebdcd0;
    box-shadow: 0 4px 18px rgba(180, 150, 120, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    flex: 0 1 calc(33.333% - 20px);
    min-width: 300px;
    max-width: 370px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.suji-home-feature:hover {
    background: #ffffff;
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--suji-brand-color, #80141b);
}
.suji-home-feature__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #ebdcd0;
    color: var(--suji-brand-color, #80141b);
    margin-bottom: 22px;
    transition: all 0.3s ease;
}
.suji-home-feature:hover .suji-home-feature__icon {
    background: var(--suji-brand-color, #80141b);
    border-color: var(--suji-brand-color, #80141b);
    color: #ffffff;
    transform: scale(1.1);
}
.suji-home-feature__title {
    font-size: 22px;
    font-family: var(--suji-font-heading);
    font-weight: 600 !important;
    margin: 0 0 14px;
    color: var(--suji-text-dark);
    line-height: 1.35;
}
.suji-home-feature__desc {
    font-family: var(--suji-font-body);
    color: var(--suji-text-muted);
    font-size: 17px;
    line-height: 1.75;
    margin: 0;
}

/* ============================================================
   6. TEMPLATE GALLERY SLIDER & SHOWCASE
   ============================================================ */
.suji-home-gallery {
    padding: 100px 0;
    background: var(--suji-bg-light);
    border-top: 1px solid var(--suji-border);
    border-bottom: 1px solid var(--suji-border);
}

/* Header: Tiêu đề bên trái, nút Prev/Next bên phải */
.suji-home-gallery__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 36px;
}
.suji-home-gallery__titles {
    flex: 1;
}
.suji-home-gallery__titles .suji-home-section-label {
    text-align: left;
    margin-bottom: 8px;
}
.suji-home-gallery__titles .suji-home-section-title {
    text-align: left;
    margin: 0;
}
.suji-home-gallery__nav-btns {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.suji-gallery-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--suji-border);
    background: #ffffff;
    color: var(--suji-text-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.suji-gallery-nav-btn:hover {
    background: var(--suji-gold);
    border-color: var(--suji-gold);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(201, 162, 106, 0.35);
    transform: translateY(-2px);
}
.suji-gallery-nav-btn:active {
    transform: scale(0.95);
}

/* Slider Track: 4 cột visible trên Desktop, trượt 1 cột */
.suji-home-gallery__slider-wrap {
    position: relative;
    width: 100%;
}
.suji-home-gallery__track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 10px 4px 28px 4px;
    margin: 0 -4px;
}
.suji-home-gallery__track:not([data-hydrated="true"]) {
    min-height: 380px;
}
@media (max-width: 992px) {
    .suji-home-gallery__track:not([data-hydrated="true"]) {
        min-height: 290px;
    }
}
@media (max-width: 600px) {
    .suji-home-gallery__track:not([data-hydrated="true"]) {
        min-height: 250px;
    }
}
.suji-home-gallery__track::-webkit-scrollbar {
    display: none;
}
.suji-home-gallery__track .suji-tpl-card {
    flex: 0 0 calc((100% - (4 * 20px)) / 5);
    min-width: calc((100% - (4 * 20px)) / 5);
    max-width: calc((100% - (4 * 20px)) / 5);
    scroll-snap-align: start;
}

/* Template Card chung */
.suji-tpl-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--suji-border);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
}
.suji-tpl-card:hover {
    transform: translateY(-3px);
    border-color: rgba(201, 162, 106, 0.5);
}

/* Khung preview (tỷ lệ 220 x 420) */
.suji-tpl-card__preview {
    --preview-h: 420px;
    display: block;
    position: relative;
    aspect-ratio: 220 / 420;
    width: 100%;
    background: #fbf9f6;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
}

/* Ảnh preview thiệp tĩnh (hiện phần đầu thiệp, không cuộn) */
.suji-tpl-card__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.35s ease;
}
.suji-tpl-card:hover .suji-tpl-card__img {
    transform: scale(1.02);
}

/* Lớp phủ & Nút Xem Demo xuất hiện khi hover */
.suji-tpl-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(18, 14, 12, 0.05) 0%, rgba(18, 14, 12, 0.35) 45%, rgba(18, 14, 12, 0.88) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 14px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
    z-index: 3;
    pointer-events: none;
}
.suji-tpl-card:hover .suji-tpl-card__overlay {
    opacity: 1;
    visibility: visible;
}
.suji-tpl-card__btn-view {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: #ffffff;
    color: var(--suji-text-dark);
    border-radius: 999px;
    font-family: var(--suji-font-body);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
    transform: translateY(8px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: auto;
}
.suji-tpl-card:hover .suji-tpl-card__btn-view {
    transform: translateY(0);
}
.suji-tpl-card__btn-view:hover {
    background: var(--suji-brand-color, #80141b);
    color: #ffffff;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px) scale(1.03);
}

/* Tiêu đề thiệp hiện sát ở dưới, chữ trắng nổi bật khi hover */
.suji-tpl-card__name {
    position: absolute;
    bottom: 16px;
    left: 12px;
    right: 12px;
    font-size: 21px;
    font-family: var(--suji-font-heading);
    font-weight: 600 !important;
    margin: 0;
    line-height: 1.25;
    text-align: center;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
    transform: translateY(8px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}
.suji-tpl-card:hover .suji-tpl-card__name {
    transform: translateY(0);
}

.suji-tpl-card__no-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--suji-gold);
    font-family: var(--suji-font-heading);
    font-size: 18px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* Nút Xem tất cả mẫu thiệp ở trang chủ */
.suji-home-gallery__footer-action {
    margin-top: 36px;
    text-align: center;
}
.suji-home-gallery__view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 36px;
    border-radius: 999px;
    border: 1.5px solid var(--suji-text-dark);
    background: transparent;
    color: var(--suji-text-dark);
    font-family: var(--suji-font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.suji-home-gallery__view-all-btn:hover {
    background: var(--suji-brand-color, #80141b);
    border-color: var(--suji-brand-color, #80141b);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.suji-home-gallery__view-all-btn svg {
    transition: transform 0.25s ease;
}
.suji-home-gallery__view-all-btn:hover svg {
    transform: translateX(4px);
}

/* ============================================================
   TRANG SHOWCASE TOÀN BỘ MẪU THIỆP (/templates/)
   ============================================================ */
.suji-templates-hero {
    padding: 130px 0 55px;
    text-align: center;
    background: linear-gradient(180deg, #faf7f2 0%, #ffffff 100%);
    border-bottom: 1px solid var(--suji-border);
}
.suji-templates-hero__label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--suji-gold);
    margin-bottom: 12px;
}
.suji-templates-hero__title {
    font-family: var(--suji-font-heading);
    font-size: clamp(32px, 5vw, 46px);
    font-weight: 600;
    color: var(--suji-text-dark);
    margin: 0 0 16px;
    line-height: 1.2;
}
.suji-templates-hero__desc {
    max-width: 680px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.7;
    color: var(--suji-text-muted);
}
.suji-templates-archive {
    padding: 60px 0 100px;
    background: #ffffff;
}
.suji-templates-archive__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 36px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--suji-border);
}
.suji-templates-archive__count {
    font-size: 15px;
    color: var(--suji-text-muted);
    font-weight: 500;
}
.suji-templates-archive__count strong {
    color: var(--suji-text-dark);
    font-weight: 700;
}
.suji-templates-archive__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* Phân trang mẫu thiệp */
.suji-pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}
.suji-pagination ul.page-numbers {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}
.suji-pagination ul.page-numbers li {
    margin: 0;
}
.suji-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1.5px solid var(--suji-border);
    background: #ffffff;
    color: var(--suji-text-dark);
    font-family: var(--suji-font-body);
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.suji-pagination .page-numbers:hover {
    border-color: var(--suji-gold);
    color: var(--suji-gold);
    background: #fffbf5;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(201, 162, 106, 0.2);
}
.suji-pagination .page-numbers.current {
    background: var(--suji-red);
    border-color: var(--suji-red);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(181, 18, 27, 0.3);
    pointer-events: none;
}
.suji-pagination .page-numbers.dots {
    border: none;
    background: transparent;
    box-shadow: none;
    color: var(--suji-text-muted);
    min-width: 32px;
    cursor: default;
}
.suji-pagination .prev.page-numbers,
.suji-pagination .next.page-numbers {
    padding: 0 18px;
}

/* ============================================================
   7. CTA SECTION (NỀN SÁNG CAO CẤP)
   ============================================================ */
.suji-home-cta {
    padding: 90px 0;
    background: var(--suji-bg-light);
    border-top: 1px solid var(--suji-border);
    border-bottom: 1px solid var(--suji-border);
    text-align: center;
}
.suji-home-cta__inner {
    max-width: 720px;
    margin: 0 auto;
}
.suji-home-cta__title {
    font-size: 40px;
    font-family: var(--suji-font-heading);
    font-weight: 600 !important;
    color: var(--suji-text-dark);
    margin: 0 0 16px;
    line-height: 1.25;
}
.suji-home-cta__subtitle {
    font-family: var(--suji-font-body);
    font-size: 18px;
    color: var(--suji-text-muted);
    line-height: 1.8;
    margin: 0 0 32px;
}
.suji-home-cta__btn {
    display: inline-block;
    padding: 15px 44px;
    background: var(--suji-brand-color, #80141b);
    color: #ffffff;
    text-decoration: none;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.22);
    transition: all 0.25s ease;
}
.suji-home-cta__btn:hover {
    filter: brightness(1.2);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    color: #ffffff;
}

/* ============================================================
   8. FOOTER (NỀN MÀU THƯƠNG HIỆU, CHỮ MÀU SÁNG THANH LỊCH)
   ============================================================ */
.suji-home-footer {
    background: var(--suji-brand-color, #80141b);
    color: rgba(255, 255, 255, 0.85);
    padding: 85px 0 36px;
    border-top: none;
}
.suji-home-footer__grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    gap: 40px;
    margin-bottom: 50px;
}
.suji-home-footer__col--brand {
    flex: 0 0 auto;
    max-width: 360px;
}
.suji-home-footer__col:nth-child(2) {
    flex: 0 0 auto;
    max-width: 340px;
}
.suji-home-footer__col:nth-child(3) {
    flex: 0 0 auto;
    max-width: 260px;
}
.suji-home-footer__logo-link {
    display: inline-block;
    text-decoration: none;
}
.suji-home-footer__logo {
    max-height: 110px;
    max-width: 260px;
    width: auto;
    height: auto;
    display: block;
    filter: brightness(0) invert(1) drop-shadow(0 4px 14px rgba(0, 0, 0, 0.25));
}
.suji-footer__logo img {
    max-height: 80px;
    width: auto;
    display: inline-block;
    filter: brightness(0) invert(1) drop-shadow(0 4px 14px rgba(0, 0, 0, 0.25));
}
.suji-home-footer__brand {
    font-size: 32px;
    font-family: var(--suji-font-heading);
    font-weight: 600 !important;
    color: #ffffff;
    margin: 0;
    letter-spacing: 2px;
}
.suji-home-footer__brand-desc {
    font-family: var(--suji-font-body);
    font-size: 15.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin: 16px 0 0;
    max-width: 340px;
}
.suji-home-footer__heading {
    color: #ffffff;
    font-size: 21px;
    font-family: var(--suji-font-heading);
    font-weight: 600 !important;
    margin: 0 0 20px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 8px;
}
.suji-home-footer__heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--suji-gold);
}
.suji-home-footer p {
    margin: 12px 0;
    line-height: 1.75;
    font-size: 16.5px;
    color: rgba(255, 255, 255, 0.85);
}
.suji-home-footer a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}
.suji-home-footer a:hover {
    color: var(--suji-gold);
}

/* Contact items with circular icon badge (chuẩn phong cách share buttons) */
.suji-home-footer__contact-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 18px;
}
.suji-home-footer__contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}
.suji-home-footer__contact-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s ease;
    word-break: break-word;
}
.suji-home-footer__contact-item a:hover {
    color: var(--suji-gold, #c5a059);
}
.suji-home-footer__contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    transition: all 0.25s ease;
    flex-shrink: 0;
}
.suji-home-footer__contact-item:hover .suji-home-footer__contact-icon {
    background: rgba(255, 255, 255, 0.25);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.suji-home-footer__contact-text {
    flex: 1;
    word-break: break-word;
}

/* Social icons (kiểu nút tròn chia sẻ thiệp) */
.suji-home-footer__socials {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
}
.suji-home-footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff !important;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.suji-home-footer__social-link:hover {
    background: #ffffff;
    color: var(--suji-brand, #80141b) !important;
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}
.suji-home-footer__social-link svg {
    width: 18px;
    height: 18px;
    display: block;
}

.suji-home-footer__nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.suji-home-footer__nav a {
    font-size: 16.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    display: inline-block;
}
.suji-home-footer__nav a:hover {
    color: var(--suji-gold);
    transform: translateX(4px);
}

.suji-home-footer__copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

/* ============================================================
   9. RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) and (min-width: 993px) {
    .suji-home-gallery__track .suji-tpl-card {
        flex: 0 0 calc((100% - 3 * 20px) / 4);
        min-width: calc((100% - 3 * 20px) / 4);
        max-width: calc((100% - 3 * 20px) / 4);
    }
    .suji-templates-archive__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .suji-home-gallery__track .suji-tpl-card {
        flex: 0 0 calc((100% - 2 * 18px) / 3);
        min-width: calc((100% - 2 * 18px) / 3);
        max-width: calc((100% - 2 * 18px) / 3);
    }
    .suji-home-gallery__track {
        gap: 18px;
    }
    .suji-templates-archive__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
    .suji-home-feature {
        flex: 0 1 calc(50% - 20px);
    }
}

@media (max-width: 900px) {
    body.suji-home {
        font-size: 16px;
    }

    /* Mobile Header: Logo bên trái, Toggle bên phải, Padding 20px */
    .suji-site-header__top {
        padding: 12px 0;
    }
    .suji-site-header__top-inner {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        position: relative;
    }
    .suji-site-header__brand {
        display: inline-flex !important;
        align-items: flex-start !important;
        text-align: left !important;
        margin: 0 !important;
        flex: 0 0 auto;
    }
    .suji-site-header__logo-img {
        height: 38px !important;
        max-height: 42px !important;
        width: auto !important;
        max-width: 180px !important;
        display: block !important;
        margin: 0 !important;
        object-fit: contain !important;
    }
    .suji-site-header__brand-name {
        font-size: 20px !important;
        letter-spacing: 1.5px !important;
        text-align: left !important;
    }
    .suji-site-header__brand-tagline {
        font-size: 9px !important;
        letter-spacing: 1.5px !important;
        text-align: left !important;
    }
    .suji-site-header__burger {
        display: flex !important;
        position: static !important;
        transform: none !important;
        margin-left: auto !important;
        flex: 0 0 auto;
    }

    .suji-site-header__bar {
        display: none;
    }
    .suji-site-header__bar.is-open {
        display: block;
    }
    .haiyen-site-header .suji-site-header__bar,
    .haiyen-site-header .suji-site-header__bar.is-open,
    .haiyen-studio-body .suji-site-header__bar,
    .haiyen-studio-body .suji-site-header__bar.is-open {
        display: none !important;
    }
    .suji-site-header__nav ul {
        flex-direction: column;
        padding: 16px 0;
        gap: 0;
    }
    .suji-site-header__nav ul li a {
        padding: 12px 20px;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .suji-home-hero {
        padding: 50px 0 60px;
    }
    .suji-home-hero__title {
        font-size: 36px;
    }
    .suji-home-hero__subtitle {
        font-size: 16px;
    }
    .suji-hero-phones {
        --phone-screen-h: 440px;
        gap: 22px;
    }
    .suji-hero-phone {
        flex: 0 0 215px;
        max-width: 215px;
    }
    .suji-hero-phone__frame {
        border-radius: 36px;
        padding: 8px;
    }
    .suji-hero-phone__screen {
        border-radius: 28px;
    }

    .suji-home-about__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .suji-home-about__text {
        font-size: 16px;
    }
    .suji-home-feature {
        flex: 0 1 100%;
        max-width: 100%;
    }
    .suji-home-feature__desc {
        font-size: 15px;
    }
    .suji-home-cta__subtitle {
        font-size: 16px;
    }
    .suji-home-footer__grid {
        flex-direction: column;
        gap: 36px;
    }
    .suji-home-footer__col--brand,
    .suji-home-footer__col:nth-child(2),
    .suji-home-footer__col:nth-child(3) {
        max-width: 100%;
        width: 100%;
    }
    .suji-home-footer p,
    .suji-home-footer__nav a {
        font-size: 15px;
    }
    .suji-home-footer__logo {
        max-height: 85px;
    }
}

@media (max-width: 768px) {
    /* Toàn bộ nội dung văn bản 14px và h2 24px trên mobile */
    body, p, li, .suji-home-desc, .suji-home-about__text, .suji-home-feature__desc {
        font-size: 14px !important;
        line-height: 1.65 !important;
    }
    h2, .suji-home-title, .suji-page-templates__title {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }

    /* Hero 2 điện thoại trên mobile: luôn giữ 1 dòng 2 điện thoại song song */
    .suji-hero-phones {
        --phone-screen-h: 310px;
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 12px;
        margin-top: 24px;
        perspective: none;
    }
    .suji-hero-phone {
        flex: 0 0 calc((100% - 12px) / 2) !important;
        max-width: 175px !important;
        width: 100%;
        transform: none !important;
    }
    .suji-hero-phone:hover {
        transform: none !important;
    }
    .suji-hero-phone__frame {
        border-radius: 26px;
        padding: 6px;
        box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.45);
    }
    .suji-hero-phone__screen {
        height: var(--phone-screen-h);
        border-radius: 20px;
    }
    .suji-hero-phone__island {
        top: 9px;
        width: 44px;
        height: 12px;
        padding-right: 5px;
    }
    .suji-hero-phone__camera {
        width: 5px;
        height: 5px;
    }
    .suji-hero-phone__bar {
        bottom: 9px;
        width: 45px;
        height: 3px;
    }

    .suji-home-gallery__track .suji-tpl-card {
        flex: 0 0 calc((100% - 14px) / 2);
        min-width: calc((100% - 14px) / 2);
        max-width: calc((100% - 14px) / 2);
    }
    .suji-home-gallery__track {
        gap: 14px;
        padding: 8px 2px 20px 2px;
    }
    .suji-tpl-card__preview {
        --preview-h: 270px;
    }
    .suji-tpl-card__overlay {
        opacity: 1;
        visibility: visible;
        background: linear-gradient(180deg, transparent 45%, rgba(18, 14, 12, 0.82) 100%);
    }
    .suji-tpl-card__btn-view {
        display: none;
    }
    .suji-tpl-card__name {
        transform: translateY(0);
        font-size: 16px;
        bottom: 10px;
        left: 8px;
        right: 8px;
    }
    .suji-templates-archive__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .suji-home-gallery__header {
        align-items: center;
    }
}

@media (max-width: 600px) {
    .suji-home-hero__title {
        font-size: 28px;
    }
    .suji-home-hero__subtitle {
        font-size: 15px;
    }
    .suji-home-section-title {
        font-size: 28px;
    }
}

/* Chuẩn 2 cột trên mobile nhỏ (chia 2 thiệp 1 hàng) */
@media (max-width: 480px) {
    /* 2 điện thoại trên mobile nhỏ (vẫn giữ 1 dòng 2 cái) */
    .suji-hero-phones {
        --phone-screen-h: 270px;
        gap: 10px;
    }
    .suji-hero-phone {
        flex: 0 0 calc((100% - 10px) / 2) !important;
        max-width: 160px !important;
    }
    .suji-hero-phone__frame {
        border-radius: 22px;
        padding: 5px;
    }
    .suji-hero-phone__screen {
        height: var(--phone-screen-h);
        border-radius: 17px;
    }
    .suji-hero-phone__island {
        top: 8px;
        width: 38px;
        height: 10px;
        padding-right: 4px;
    }
    .suji-hero-phone__camera {
        width: 4px;
        height: 4px;
    }
    .suji-hero-phone__bar {
        bottom: 8px;
        width: 36px;
        height: 2.5px;
    }

    .suji-home-gallery__track .suji-tpl-card {
        flex: 0 0 calc((100% - 10px) / 2);
        min-width: calc((100% - 10px) / 2);
        max-width: calc((100% - 10px) / 2);
    }
    .suji-home-gallery__track {
        gap: 10px;
        padding: 6px 2px 18px 2px;
    }
    .suji-tpl-card__preview {
        --preview-h: 235px;
    }
    .suji-tpl-card__name {
        font-size: 14.5px;
        bottom: 8px;
        left: 6px;
        right: 6px;
    }
    .suji-templates-archive__grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        max-width: 100% !important;
    }
}

@media (max-width: 360px) {
    .suji-hero-phones {
        --phone-screen-h: 240px;
        gap: 8px;
    }
    .suji-hero-phone {
        flex: 0 0 calc((100% - 8px) / 2) !important;
        max-width: 145px !important;
    }
}

/* ============================================================
   10. QUICK PREVIEW MODAL (POPUP XEM THIỆP PC & MOBILE)
   ============================================================ */
.suji-preview-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}
.suji-preview-modal.is-active {
    opacity: 1;
    visibility: visible;
}
.suji-preview-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 14, 12, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
}
.suji-preview-modal__dialog {
    position: relative;
    z-index: 2;
    background: #ffffff;
    border-radius: 28px;
    width: 100%;
    max-width: 860px;
    max-height: 90vh;
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.28);
    overflow: hidden;
    transform: scale(0.92) translateY(18px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}
.suji-preview-modal.is-active .suji-preview-modal__dialog {
    transform: scale(1) translateY(0);
}
.suji-preview-modal__close {
    position: absolute;
    top: 18px;
    right: 20px;
    z-index: 20;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #f3f4f6;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.suji-preview-modal__close:hover {
    background: #e5e7eb;
    color: #111827;
    transform: rotate(90deg);
}
.suji-preview-modal__content {
    display: grid;
    grid-template-columns: 310px 1fr;
    gap: 34px;
    padding: 32px;
    overflow-y: auto;
    max-height: 90vh;
}

/* Khung giả lập điện thoại */
.suji-preview-modal__phone-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}
.suji-preview-modal__phone-frame {
    width: 100%;
    max-width: 310px;
    height: 540px;
    background: #ffffff;
    border-radius: 36px;
    border: 7px solid #1a1a1a;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.suji-preview-modal__dynamic-island {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 72px;
    height: 18px;
    background: #000000;
    border-radius: 999px;
    z-index: 15;
    pointer-events: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.suji-preview-modal__iframe-stage {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: #ffffff;
}
.suji-preview-modal__scaler {
    position: absolute;
    top: 0;
    left: 0;
    width: 440px; /* Chuẩn iPhone 16 Pro Max */
    transform-origin: top left;
    will-change: transform;
}
.suji-preview-modal__iframe {
    width: 440px; /* Chuẩn iPhone 16 Pro Max */
    height: 100%;
    border: none;
    display: block;
    background: #ffffff;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Nút nhỏ nổi bật: Lướt để xem */
.suji-preview-modal__scroll-hint {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 25;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 15px;
    background: rgba(20, 16, 14, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 163, 55, 0.65);
    border-radius: 999px;
    color: #ffffff;
    font-family: var(--suji-font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.38);
    cursor: pointer;
    white-space: nowrap;
    animation: sujiHintBounce 2s ease-in-out infinite;
    transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.25s ease;
    user-select: none;
}
.suji-preview-modal__scroll-hint:hover {
    background: var(--suji-red);
    border-color: var(--suji-red);
    transform: translate(-50%, -2px);
}
.suji-preview-modal__scroll-hint-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--suji-gold);
    color: #1a1a1a;
    transition: background 0.2s ease, color 0.2s ease;
}
.suji-preview-modal__scroll-hint:hover .suji-preview-modal__scroll-hint-icon {
    background: #ffffff;
    color: var(--suji-red);
}
@keyframes sujiHintBounce {
    0%, 100% {
        transform: translate(-50%, 0);
    }
    50% {
        transform: translate(-50%, 4px);
    }
}
.suji-preview-modal__scroll-hint.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Cột thông tin chi tiết */
.suji-preview-modal__info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    min-width: 0;
}
.suji-preview-modal__header {
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 14px;
}
.suji-preview-modal__title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}
.suji-preview-modal__title {
    font-family: var(--suji-font-heading);
    font-size: 27px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.25;
}
.suji-preview-modal__badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    background: linear-gradient(135deg, #d4a337 0%, #b8860b 100%);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 999px;
    line-height: 1;
}
.suji-preview-modal__subtitle {
    color: #6b7280;
    font-size: 13px;
    margin: 0;
}

/* 4 tính năng nổi bật */
.suji-preview-modal__features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.suji-preview-modal__features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.45;
    color: #374151;
}
.suji-feature-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ecfdf5;
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}
.suji-feature-text strong {
    color: #111827;
    font-weight: 600;
}

/* Khung QR code trên PC */
.suji-preview-modal__qr-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: #fbfbfb;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
}
.suji-preview-modal__qr-image {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    background: #ffffff;
    padding: 3px;
    border: 1px solid #f0f0f0;
    flex-shrink: 0;
}
.suji-preview-modal__qr-heading {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 2px;
}
.suji-preview-modal__qr-desc {
    display: block;
    font-size: 12px;
    color: #6b7280;
    line-height: 1.4;
}

/* Nút hành động */
.suji-preview-modal__actions {
    display: flex;
    gap: 12px;
    margin-top: 2px;
}
.suji-preview-modal__btn-demo {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 12px;
    border: 1.5px solid #e11d48;
    background: #ffffff;
    color: #e11d48;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}
.suji-preview-modal__btn-demo:hover {
    background: #e11d48;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.3);
}

/* Modal Responsive trên Mobile: Nhỏ gọn, vừa khít màn hình không cần cuộn */
@media (max-width: 768px) {
    .suji-preview-modal {
        padding: 10px;
        align-items: center; /* Căn giữa màn hình */
    }
    .suji-preview-modal__dialog {
        max-height: 94vh;
        border-radius: 20px;
        width: 100%;
        max-width: 380px;
    }
    .suji-preview-modal__close {
        top: 10px;
        right: 12px;
        width: 28px;
        height: 28px;
    }
    .suji-preview-modal__close svg {
        width: 16px;
        height: 16px;
    }
    .suji-preview-modal__content {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 14px 14px 12px;
        max-height: 94vh;
    }
    .suji-preview-modal__info {
        order: 1;
        gap: 8px;
    }
    .suji-preview-modal__header {
        padding-bottom: 6px;
    }
    .suji-preview-modal__title-row {
        gap: 8px;
        margin-bottom: 2px;
    }
    .suji-preview-modal__title {
        font-size: 18px;
        line-height: 1.2;
    }
    .suji-preview-modal__badge {
        font-size: 9px;
        padding: 2px 7px;
        letter-spacing: 0.5px;
    }
    .suji-preview-modal__subtitle {
        font-size: 11px;
        margin: 0 0 5px;
    }
    .suji-preview-modal__stats {
        gap: 6px;
    }
    .suji-stat-pill {
        font-size: 10px;
        padding: 2px 7px;
        gap: 4px;
    }
    .suji-stat-pill svg {
        width: 10px;
        height: 10px;
    }

    /* 4 Tính năng thu nhỏ font và khoảng cách */
    .suji-preview-modal__features {
        gap: 4px;
    }
    .suji-preview-modal__features li {
        font-size: 11.5px;
        line-height: 1.3;
        gap: 6px;
    }
    .suji-feature-check {
        width: 15px;
        height: 15px;
        margin-top: 1px;
    }
    .suji-feature-check svg {
        width: 9px;
        height: 9px;
    }

    /* Khung điện thoại kéo dài hơn theo yêu cầu */
    .suji-preview-modal__phone-wrap {
        order: 2;
    }
    .suji-preview-modal__phone-frame {
        width: 100%;
        max-width: 300px;
        height: clamp(380px, 56vh, 470px);
        border-width: 6px;
        border-radius: 26px;
    }
    .suji-preview-modal__dynamic-island {
        top: 6px;
        width: 60px;
        height: 15px;
    }

    .suji-preview-modal__qr-card {
        display: none;
    }

    /* Nút xem demo nhỏ gọn */
    .suji-preview-modal__actions {
        order: 3;
        margin-top: 2px;
        padding-top: 4px;
        justify-content: center;
    }
    .suji-preview-modal__btn-demo {
        flex: 0 1 auto;
        padding: 7px 22px;
        font-size: 12.5px;
        border-radius: 999px;
        gap: 6px;
        width: auto;
    }
    .suji-preview-modal__btn-demo svg {
        width: 14px;
        height: 14px;
    }
}