/* =============================================================
 * Paiwingkan Design System v2.1
 * Date: 2026-04-15
 * Batch 2: Coral gradient + Clean Navbar + Footer
 * ============================================================= */

/* ============ 1. FONT IMPORT ============ */
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600;700;800&display=swap');

/* ============ 2. DESIGN TOKENS ============ */
:root {
    /* Brand accents (used sparingly) */
    --pwk-pink: #ee1c52;
    --pwk-pink-dark: #c11744;
    --pwk-pink-light: #ff4c7f;

    /* ⭐ NEW: Coral gradient for buttons */
    --pwk-coral-1: #FF9190;
    --pwk-coral-2: #FDC094;

    /* Neutrals */
    --pwk-bg: #f6f6f6;
    --pwk-bg-cream: #fff2e2;
    --pwk-white: #ffffff;

    /* Text */
    --pwk-navy: #1a1a2e;
    --pwk-text: #2d2d3e;
    --pwk-text-muted: #6b7280;
    --pwk-text-soft: #9ca3af;

    /* Borders */
    --pwk-border: #e5e7eb;
    --pwk-border-soft: #f1f3f5;

    /* Utility */
    --pwk-green: #52b788;
    --pwk-blue: #4cc9f0;
    --pwk-yellow: #ffd93d;

    /* Shadows */
    --pwk-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --pwk-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 10px 30px rgba(0, 0, 0, 0.04);
    --pwk-shadow-lg: 0 4px 8px rgba(0, 0, 0, 0.04), 0 20px 40px rgba(0, 0, 0, 0.08);
    --pwk-shadow-cta: 0 4px 16px rgba(255, 145, 144, 0.35);

    /* Gradients */
    --pwk-gradient-warm: linear-gradient(135deg, #ffffff 0%, #ffffff 50%, #ffebeb 100%);
    --pwk-gradient-brand: linear-gradient(135deg, #FF9190 0%, #FDC094 100%);
    --pwk-gradient-soft: linear-gradient(180deg, #ffffff 0%, #fff2e2 100%);

    /* Radius */
    --pwk-radius-sm: 8px;
    --pwk-radius: 16px;
    --pwk-radius-lg: 24px;
    --pwk-radius-pill: 999px;

    /* Spacing */
    --pwk-gap-xs: 8px;
    --pwk-gap-sm: 16px;
    --pwk-gap: 24px;
    --pwk-gap-lg: 40px;
    --pwk-gap-xl: 64px;

    /* Transitions */
    --pwk-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============ 3. GLOBAL OVERRIDES ============ */
body,
body p,
body h1, body h2, body h3, body h4, body h5, body h6,
body a, body span, body div, body li, body input, body button, body select, body textarea {
    font-family: 'Kanit', 'Prompt', system-ui, -apple-system, sans-serif !important;
}

body.pwk-redesign {
    background-color: #fdf8f8 !important;  /* ⭐ Soft off-white pink */
    color: var(--pwk-text);
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

/* ⭐ Hide legacy navbar/footer when pwk-redesign active
   (in case new templates include old classes side by side) */
body.pwk-redesign .bg-paiwingkan,
body.pwk-redesign .paiwingkan-header,
body.pwk-redesign .nav-paiwingkan {
    display: none !important;
}

/* ============ 4. TYPOGRAPHY ============ */
.pwk-hero-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--pwk-navy);
    margin: 0 0 16px;
}

.pwk-hero-title .accent {
    background: var(--pwk-gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pwk-hero-subtitle {
    font-size: clamp(16px, 2vw, 19px);
    font-weight: 400;
    line-height: 1.6;
    color: var(--pwk-text-muted);
    margin: 0 0 32px;
    max-width: 540px;
}

.pwk-section-title {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--pwk-navy);
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}

.pwk-section-subtitle {
    font-size: 15px;
    font-weight: 400;
    color: var(--pwk-text-muted);
    margin: 0 0 40px;
}

.pwk-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--pwk-navy);
    margin: 0 0 8px;
    line-height: 1.3;
}

.pwk-caption {
    font-size: 13px;
    font-weight: 500;
    color: var(--pwk-text-muted);
}

.pwk-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--pwk-text-muted);
}

/* ============ 5. NAVBAR (⭐ NEW Clean Design) ============ */
.pwk-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--pwk-border-soft);
    padding: 14px 0;
    transition: all 0.3s ease;
}

.pwk-nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.04);
}

.pwk-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.pwk-nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.pwk-nav-brand img {
    height: 42px;
    width: auto;
}

.pwk-nav-brand-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--pwk-pink);
    letter-spacing: -0.01em;
}

.pwk-nav-menu {
    display: none;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

@media (min-width: 900px) {
    .pwk-nav-menu { display: flex; }
}

.pwk-nav-link {
    display: inline-flex;
    align-items: center;
    padding: 9px 18px;
    border-radius: var(--pwk-radius-pill);
    font-size: 14px;
    font-weight: 500;
    color: var(--pwk-navy);
    text-decoration: none;
    transition: var(--pwk-transition);
}

.pwk-nav-link:hover {
    background: var(--pwk-bg);
    color: var(--pwk-pink);
    text-decoration: none;
}

.pwk-nav-link.active {
    color: var(--pwk-pink);
    font-weight: 600;
    background: rgba(238, 28, 82, 0.06);
}

.pwk-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.pwk-nav-icon-btn {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: var(--pwk-radius-pill);
    background: var(--pwk-bg);
    color: var(--pwk-navy);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--pwk-transition);
}

.pwk-nav-icon-btn:hover {
    background: var(--pwk-bg-cream);
    color: var(--pwk-pink);
    text-decoration: none;
}

.pwk-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: var(--pwk-gradient-brand);
    color: white !important;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--pwk-radius-pill);
    text-decoration: none;
    transition: var(--pwk-transition);
    box-shadow: var(--pwk-shadow-cta);
    border: none;
    cursor: pointer;
}

.pwk-nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 145, 144, 0.4);
    text-decoration: none;
    color: white !important;
}

.pwk-nav-toggle {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: var(--pwk-radius-pill);
    background: var(--pwk-bg);
    border: none;
    color: var(--pwk-navy);
    cursor: pointer;
    font-size: 18px;
}

@media (min-width: 900px) {
    .pwk-nav-toggle { display: none; }
}

/* Mobile drawer */
.pwk-nav-mobile {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    padding: 20px;
    z-index: 99;
    border-top: 1px solid var(--pwk-border-soft);
}

.pwk-nav-mobile.open {
    display: block;
}

.pwk-nav-mobile ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pwk-nav-mobile li {
    margin-bottom: 8px;
}

.pwk-nav-mobile .pwk-nav-link {
    display: block;
    width: 100%;
    padding: 12px 16px;
}

/* ============ 6. HERO SECTION ============ */
.pwk-hero {
    position: relative;
    padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 80px);
    background: var(--pwk-gradient-warm);
    overflow: hidden;
}

.pwk-hero::before {
    content: "";
    position: absolute;
    top: -200px;
    right: -150px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 145, 144, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.pwk-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

@media (min-width: 992px) {
    .pwk-hero-inner {
        grid-template-columns: 1.2fr 1fr;
        gap: 48px;
    }
}

.pwk-hero-content { text-align: center; }

@media (min-width: 992px) {
    .pwk-hero-content { text-align: left; }
}

.pwk-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 145, 144, 0.12);
    color: #e85a59;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--pwk-radius-pill);
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.pwk-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

@media (min-width: 992px) {
    .pwk-hero-actions { justify-content: flex-start; }
}

.pwk-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(26, 26, 46, 0.08);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 992px) {
    .pwk-hero-stats { margin-left: 0; margin-right: 0; }
}

.pwk-hero-stat { text-align: center; }

@media (min-width: 992px) {
    .pwk-hero-stat { text-align: left; }
}

.pwk-hero-stat-num {
    font-size: 24px;
    font-weight: 700;
    color: var(--pwk-navy);
    line-height: 1;
}

.pwk-hero-stat-label {
    font-size: 12px;
    color: var(--pwk-text-muted);
    margin-top: 4px;
}

.pwk-hero-visual {
    position: relative;
    text-align: center;
}

.pwk-hero-visual img {
    max-width: 100%;
    height: auto;
    max-height: 460px;
    filter: drop-shadow(0 20px 40px rgba(26, 26, 46, 0.12));
    animation: pwk-float 4s ease-in-out infinite;
}

@keyframes pwk-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.pwk-hero-visual-bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: -1;
}

.pwk-hero-visual-bg::before {
    content: "";
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 145, 144, 0.18) 0%, transparent 70%);
}

/* ============ 7. BUTTONS (⭐ Updated Coral Gradient) ============ */
.pwk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--pwk-radius-pill);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--pwk-transition);
    white-space: nowrap;
    line-height: 1;
}

.pwk-btn-primary {
    background: var(--pwk-gradient-brand);
    color: white !important;
    box-shadow: var(--pwk-shadow-cta);
}

.pwk-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 145, 144, 0.4);
    color: white !important;
    text-decoration: none;
}

.pwk-btn-secondary {
    background: var(--pwk-white);
    color: var(--pwk-navy);
    border: 1px solid var(--pwk-border);
}

.pwk-btn-secondary:hover {
    background: var(--pwk-bg);
    border-color: var(--pwk-navy);
    color: var(--pwk-navy);
    text-decoration: none;
}

.pwk-btn-ghost {
    background: transparent;
    color: var(--pwk-text);
}

.pwk-btn-ghost:hover {
    background: var(--pwk-bg);
    color: var(--pwk-navy);
    text-decoration: none;
}

.pwk-btn-lg { padding: 16px 32px; font-size: 16px; }
.pwk-btn-sm { padding: 9px 18px; font-size: 13px; }

/* ============ 8. CARDS ============ */
.pwk-card {
    background: var(--pwk-white);
    border-radius: var(--pwk-radius-lg);
    padding: 24px;
    box-shadow: var(--pwk-shadow);
    transition: var(--pwk-transition);
    border: 1px solid var(--pwk-border-soft);
}

.pwk-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--pwk-shadow-lg);
}

.pwk-card-compact { padding: 16px; }
.pwk-card-spacious { padding: 32px; }

/* ============ 9. SECTIONS ============ */
.pwk-section {
    padding: clamp(48px, 8vw, 96px) 0;
}

.pwk-section-sm {
    padding: 48px 0;
    background-color: #fdf8f8;  /* ⭐ Off-white pink */
}
.pwk-section-lg { padding: 120px 0; }

.pwk-section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.pwk-section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}

.pwk-section-header.left {
    text-align: left;
    margin-left: 0;
}

.pwk-section-bg-cream { background: var(--pwk-bg-cream); }
.pwk-section-bg-white { background: #fdf8f8; }  /* ⭐ Soft pink (was pure white) */
.pwk-section-bg-gray { background: var(--pwk-bg); }

/* ============ 10. FOOTER (⭐ NEW Clean Design) ============ */
.pwk-footer {
    background: #fdf8f8;  /* ⭐ Off-white pink */
    border-top: 1px solid var(--pwk-border-soft);
    padding: 64px 0 0;
    margin-top: 80px;
}

.pwk-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Footer Top — Responsive Grid
   Mobile (default):    Brand full-width + 2 columns of links
   Tablet (640+):        Brand full-width + 3 columns
   Desktop (900+):       4 columns (Brand 1.5fr, others 1fr) */
.pwk-footer-top {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
    padding-bottom: 48px;
}

.pwk-footer-brand {
    grid-column: 1 / -1;  /* span full width on mobile 2-col */
}

@media (min-width: 640px) {
    .pwk-footer-top {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px 32px;
    }
    .pwk-footer-brand {
        grid-column: 1 / -1;  /* still full width */
    }
}

@media (min-width: 900px) {
    .pwk-footer-top {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 48px;
    }
    .pwk-footer-brand {
        grid-column: auto;  /* reset to single column */
    }
}

/* ⭐ Brand header: logo (left) + text (right) horizontal layout */
.pwk-footer-brand-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.pwk-footer-brand-logo {
    flex-shrink: 0;
    width: 80px;
    height: auto;
    display: block;
}

.pwk-footer-brand-text {
    flex: 1;
    color: var(--pwk-text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
    max-width: 480px;
}

/* Mobile: keep horizontal but smaller logo */
@media (max-width: 640px) {
    .pwk-footer-brand-logo {
        width: 64px;
    }
    .pwk-footer-brand-text {
        font-size: 13px;
    }
}

.pwk-footer-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pwk-footer-social a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: var(--pwk-radius-pill);
    background: #ffffff;
    color: var(--pwk-navy);
    align-items: center;
    justify-content: center;
    transition: var(--pwk-transition);
    text-decoration: none;
    border: 1px solid var(--pwk-border-soft);
}

.pwk-footer-social a svg {
    width: 18px;
    height: 18px;
    display: block;
}

.pwk-footer-social a:hover {
    background: var(--pwk-gradient-brand);
    color: white;
    transform: translateY(-2px);
    border-color: transparent;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(255, 145, 144, 0.3);
}

.pwk-footer-col h4 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--pwk-navy);
    margin: 0 0 16px;
}

.pwk-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pwk-footer-col a {
    color: var(--pwk-text-muted);
    font-size: 14px;
    text-decoration: none;
    transition: var(--pwk-transition);
}

.pwk-footer-col a:hover {
    color: var(--pwk-pink);
    text-decoration: none;
}

/* ⭐ Footer column intro text */
.pwk-footer-col-text {
    color: var(--pwk-text-muted);
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 14px;
}

/* ⭐ Facebook Messenger CTA button */
.pwk-fb-chat-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    background: linear-gradient(135deg, #0866FF 0%, #0084FF 100%);
    color: white !important;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--pwk-radius-pill);
    text-decoration: none;
    transition: var(--pwk-transition);
    border: none;
    box-shadow: 0 2px 8px rgba(8, 102, 255, 0.25);
}

.pwk-fb-chat-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(8, 102, 255, 0.4);
    color: white !important;
    text-decoration: none;
}

.pwk-fb-chat-btn svg {
    flex-shrink: 0;
}

/* ⭐ FB Page Widget Row — Full width on mobile */
.pwk-footer-fb-row {
    text-align: center;
    padding: 32px 0;
    border-top: 1px solid var(--pwk-border-soft);
    border-bottom: 1px solid var(--pwk-border-soft);
}

.pwk-footer-fb-row h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--pwk-navy);
    margin: 0 0 16px;
    letter-spacing: 0.02em;
}

/* Desktop: centered, max 500px width */
.pwk-footer-fb-row .fb-page {
    display: inline-block;
    width: 100%;
    max-width: 500px;
    border-radius: var(--pwk-radius);
    overflow: hidden;
}

.pwk-footer-fb-row .fb-page > span,
.pwk-footer-fb-row iframe {
    border-radius: var(--pwk-radius) !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* Mobile: full edge-to-edge width */
@media (max-width: 767px) {
    .pwk-footer-fb-row {
        margin-left: -24px;
        margin-right: -24px;
        padding: 24px 0;
    }
    .pwk-footer-fb-row h4 {
        padding: 0 16px;
    }
    .pwk-footer-fb-row .fb-page {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 0;
    }
    .pwk-footer-fb-row .fb-page > span,
    .pwk-footer-fb-row iframe {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 0 !important;
    }
}

.pwk-footer-bottom {
    padding: 20px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--pwk-text-soft);
}

.pwk-footer-bottom-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.pwk-footer-bottom-links a {
    color: var(--pwk-text-muted);
    text-decoration: none;
    transition: var(--pwk-transition);
}

.pwk-footer-bottom-links a:hover {
    color: var(--pwk-pink);
    text-decoration: none;
}

/* Optional FB widget in footer */
.pwk-footer-fb-widget {
    border-radius: var(--pwk-radius-lg);
    overflow: hidden;
    max-width: 100%;
}

/* ============ 11. BADGES ============ */
.pwk-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: var(--pwk-radius-pill);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.pwk-badge-coral {
    background: var(--pwk-gradient-brand);
    color: white;
}
.pwk-badge-pink { background: var(--pwk-pink); color: white; }
.pwk-badge-yellow { background: var(--pwk-yellow); color: #5d4108; }
.pwk-badge-blue { background: var(--pwk-blue); color: #0a4d6c; }
.pwk-badge-green { background: var(--pwk-green); color: white; }
.pwk-badge-cream { background: var(--pwk-bg-cream); color: #7a5a2e; }
.pwk-badge-gray { background: var(--pwk-border); color: var(--pwk-text-muted); }

/* ============ 12. CHIPS / TAGS ============ */
.pwk-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--pwk-bg);
    color: var(--pwk-text);
    font-size: 12px;
    font-weight: 500;
    border-radius: var(--pwk-radius-pill);
    border: 1px solid var(--pwk-border-soft);
    transition: var(--pwk-transition);
    text-decoration: none;
}

.pwk-chip:hover {
    background: var(--pwk-bg-cream);
    border-color: var(--pwk-coral-1);
    color: #e85a59;
    text-decoration: none;
}

.pwk-chip-active {
    background: var(--pwk-gradient-brand);
    color: white !important;
    border-color: transparent;
}

/* ============ 13. MASCOT UTILITIES ============ */
.pwk-mascot {
    display: inline-block;
    max-width: 100%;
    height: auto;
}

.pwk-mascot-hero { max-height: 460px; }
.pwk-mascot-md { max-height: 200px; }
.pwk-mascot-sm { max-height: 80px; }
.pwk-mascot-xs { max-height: 48px; }

/* ============ 14. UTILITIES ============ */
.pwk-text-center { text-align: center; }
.pwk-text-left { text-align: left; }
.pwk-text-muted { color: var(--pwk-text-muted); }
.pwk-text-pink { color: var(--pwk-pink); }
.pwk-text-navy { color: var(--pwk-navy); }

.pwk-mb-0 { margin-bottom: 0; }
.pwk-mb-sm { margin-bottom: 16px; }
.pwk-mb { margin-bottom: 24px; }
.pwk-mb-lg { margin-bottom: 40px; }

.pwk-mt-0 { margin-top: 0; }
.pwk-mt-sm { margin-top: 16px; }
.pwk-mt { margin-top: 24px; }
.pwk-mt-lg { margin-top: 40px; }

.pwk-flex { display: flex; }
.pwk-flex-center { display: flex; align-items: center; justify-content: center; }
.pwk-flex-between { display: flex; align-items: center; justify-content: space-between; }
.pwk-gap-sm { gap: 8px; }
.pwk-gap { gap: 16px; }
.pwk-gap-lg { gap: 24px; }

.pwk-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pwk-grid-3 { display: grid; grid-template-columns: 1fr; gap: 16px; }
.pwk-grid-4 { display: grid; grid-template-columns: 1fr; gap: 16px; }

@media (min-width: 640px) {
    .pwk-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .pwk-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (min-width: 992px) {
    .pwk-grid-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .pwk-grid-4 { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

/* ============ 15. ANIMATIONS ============ */
@keyframes pwk-fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.pwk-animate-fade-up {
    animation: pwk-fade-up 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes pwk-pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(255, 145, 144, 0.5); }
    70% { box-shadow: 0 0 0 12px rgba(255, 145, 144, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 145, 144, 0); }
}

.pwk-pulse { animation: pwk-pulse-ring 2s infinite; }

/* ============ 16. LEGACY COMPAT ============ */
.pwk-redesign .cbp-item { border-radius: var(--pwk-radius-lg) !important; }
.pwk-redesign .stay {
    font-family: 'Kanit', sans-serif;
    border-radius: var(--pwk-radius-pill);
    padding: 12px 28px;
    font-weight: 600;
}

/* Override existing pink CTAs to coral gradient */
.pwk-redesign .btn-search,
.pwk-redesign .bg-paiwingkan {
    background: var(--pwk-gradient-brand) !important;
}

/* ⭐ BG color overrides — unify to #fdf8f8 */
.pwk-redesign .cbp-l-filters-work {
    background-color: #fdf8f8 !important;
    padding: 16px;
    border-radius: var(--pwk-radius-lg);
}

/* Events grid container (Bootstrap bg-white override) */
.pwk-redesign #works .bg-white,
.pwk-redesign #works > .container,
.pwk-redesign #works .container.relative {
    background-color: #fdf8f8 !important;
}

.pwk-redesign #works {
    background-color: #fdf8f8;
}

/* Search panel container — keep white card on pink bg */
.pwk-redesign .search-panel {
    background: #ffffff;  /* keep white card */
}

/* ============ 17. RESPONSIVE FIXES ============ */
@media (max-width: 767px) {
    .pwk-hero { padding: 48px 0 32px; }
    .pwk-hero-visual { order: -1; }
    .pwk-hero-visual img { max-height: 320px; }
}

/* ============================================================
   HERO EFFECTS — Sparkles + Dust + Clouds + Motion Lines
   Append to: /public/assets/css/paiwingkan-design.css

   ⚠️ หมายเหตุ: ถ้า deploy "motion lines" ไปแล้วก่อนหน้า
                ให้ skip section "MOTION LINES" ด้านล่าง
                (กัน duplicate)
   ============================================================ */


/* ============================================================
   1. WRAPPER & MASCOT (base setup)
   ============================================================ */
body.pwk-redesign .pwk-mascot-wrap {
    position: relative;
    display: block;          /* เปลี่ยนจาก inline-block */
    width: 100%;
    max-width: 480px;        /* ⭐ เพิ่มจาก 360 → 480 */
    margin: 0 auto;
}

body.pwk-redesign .pwk-mascot-wrap .pwk-mascot-float,
body.pwk-redesign .pwk-mascot-wrap img {
    position: relative;
    z-index: 3;
    width: 100%;
    height: auto;
    animation: pwk-mascot-float 3s ease-in-out infinite;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.1));
}

@keyframes pwk-mascot-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}

/* ปรับให้ hero รองรับ floating clouds (overflow + position) */
body.pwk-redesign .pwk-hero {
    position: relative;
    overflow: hidden;
}


/* ============================================================
   2. ✨ SPARKLES (รอบมาสคอต)
   ============================================================ */
body.pwk-redesign .pwk-sparkle {
    position: absolute;
    color: var(--pwk-coral-2);
    font-family: Arial, sans-serif;
    font-weight: bold;
    transform-origin: center;
    animation: pwk-sparkle 1.6s ease-in-out infinite;
    z-index: 4;
    pointer-events: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    line-height: 1;
}

body.pwk-redesign .pwk-sparkle.s1 {
    top: 5%;  right: -20px;
    font-size: 32px;
    color: var(--pwk-coral-1);
    animation-delay: 0s;
}
body.pwk-redesign .pwk-sparkle.s2 {
    top: 30%; right: -50px;
    font-size: 22px;
    animation-delay: 0.4s;
}
body.pwk-redesign .pwk-sparkle.s3 {
    bottom: 20%; left: -30px;
    font-size: 26px;
    color: #FFD66B;
    animation-delay: 0.8s;
}
body.pwk-redesign .pwk-sparkle.s4 {
    top: 15%; left: -45px;
    font-size: 18px;
    animation-delay: 1.2s;
}
body.pwk-redesign .pwk-sparkle.s5 {
    bottom: 35%; right: -10px;
    font-size: 20px;
    color: var(--pwk-coral-1);
    animation-delay: 0.2s;
}

@keyframes pwk-sparkle {
    0%, 100% { transform: scale(0)   rotate(0deg);   opacity: 0; }
    20%      { transform: scale(0.5) rotate(45deg);  opacity: 0.5; }
    50%      { transform: scale(1.2) rotate(180deg); opacity: 1; }
    80%      { transform: scale(0.6) rotate(300deg); opacity: 0.6; }
}


/* ============================================================
   3. 💨 DUST PUFFS (ใต้เท้า)
   ============================================================ */
body.pwk-redesign .pwk-dust {
    position: absolute;
    bottom: -10px;
    width: 18px;
    height: 18px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow:
        -8px -3px 0 -2px rgba(255, 255, 255, 0.8),
        12px -4px 0 -3px rgba(255, 255, 255, 0.7),
        -14px 4px 0 -4px rgba(255, 255, 255, 0.6);
    animation: pwk-dust 1s ease-out infinite;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
}

body.pwk-redesign .pwk-dust.d1 { left: 30%; animation-delay: 0s; }
body.pwk-redesign .pwk-dust.d2 { left: 50%; animation-delay: 0.3s; }
body.pwk-redesign .pwk-dust.d3 { left: 65%; animation-delay: 0.6s; }

@keyframes pwk-dust {
    0%   { transform: scale(0) translateY(10px);  opacity: 0; }
    30%  { transform: scale(1) translateY(0);     opacity: 0.9; }
    100% { transform: scale(1.5) translateY(-15px); opacity: 0; }
}


/* ============================================================
   4. ☁️ FLOATING CLOUDS (ใน hero background)
   ============================================================ */
body.pwk-redesign .pwk-cloud {
    position: absolute;
    width: 80px;
    height: 32px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 32px;
    box-shadow:
        20px -10px 0 -2px rgba(255, 255, 255, 0.85),
        -20px -8px 0 -3px rgba(255, 255, 255, 0.85),
        36px 0 0 -8px rgba(255, 255, 255, 0.85),
        -32px 0 0 -6px rgba(255, 255, 255, 0.85);
    animation: pwk-cloud-drift 18s linear infinite;
    z-index: 1;
    pointer-events: none;
}

body.pwk-redesign .pwk-cloud.c1 {
    top: 15%; left: -100px;
    animation-delay: 0s;
}
body.pwk-redesign .pwk-cloud.c2 {
    top: 50%; left: -100px;
    animation-delay: -6s;
    transform: scale(0.7);
    opacity: 0.6;
}
body.pwk-redesign .pwk-cloud.c3 {
    top: 75%; left: -100px;
    animation-delay: -12s;
    transform: scale(0.85);
}

@keyframes pwk-cloud-drift {
    from { transform: translateX(0)   scale(var(--cloud-scale, 1)); }
    to   { transform: translateX(calc(100vw + 200px)) scale(var(--cloud-scale, 1)); }
}


/* ============================================================
   5. 💨 MOTION LINES (เส้นความเร็ว)
   ⚠️ Skip block นี้ ถ้า deploy ไปแล้วก่อนหน้า
   ============================================================ */
body.pwk-redesign .pwk-motion-line {
    position: absolute;
    background: var(--pwk-coral-1);
    border-radius: 4px;
    top: 50%;
    right: 75%;
    z-index: 2;
    opacity: 0;
    pointer-events: none;
    animation: pwk-motion 1s ease-out infinite;
}

body.pwk-redesign .pwk-motion-line:nth-of-type(1) {
    top: 35%;
    width: 32px;
    height: 3px;
    animation-delay: 0s;
}
body.pwk-redesign .pwk-motion-line:nth-of-type(2) {
    top: 50%;
    width: 56px;
    height: 4px;
    animation-delay: 0.2s;
}
body.pwk-redesign .pwk-motion-line:nth-of-type(3) {
    top: 62%;
    width: 28px;
    height: 3px;
    background: var(--pwk-coral-2);
    animation-delay: 0.4s;
}
body.pwk-redesign .pwk-motion-line:nth-of-type(4) {
    top: 70%;
    width: 40px;
    height: 3px;
    opacity: 0.7;
    animation-delay: 0.6s;
}

@keyframes pwk-motion {
    0%   { transform: translateX(60px); opacity: 0; }
    20%  { opacity: 0.8; }
    100% { transform: translateX(-150px); opacity: 0; }
}


/* ============================================================
   6. ACCESSIBILITY — Reduce motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    body.pwk-redesign .pwk-sparkle,
    body.pwk-redesign .pwk-dust,
    body.pwk-redesign .pwk-cloud,
    body.pwk-redesign .pwk-motion-line,
    body.pwk-redesign .pwk-mascot-float,
    body.pwk-redesign .pwk-mascot-wrap img {
        animation: none;
    }
    body.pwk-redesign .pwk-sparkle,
    body.pwk-redesign .pwk-dust,
    body.pwk-redesign .pwk-motion-line {
        opacity: 0.3;
    }
}


/* ============================================================
   7. MOBILE ADJUSTMENTS
   ============================================================ */
@media (max-width: 640px) {
    body.pwk-redesign .pwk-sparkle.s2,
    body.pwk-redesign .pwk-sparkle.s4 {
        display: none; /* ลด sparkle ใน mobile */
    }
    body.pwk-redesign .pwk-sparkle.s1 { font-size: 24px; }
    body.pwk-redesign .pwk-sparkle.s3 { font-size: 20px; }
    body.pwk-redesign .pwk-cloud { width: 60px; height: 24px; }
    body.pwk-redesign .pwk-dust { width: 14px; height: 14px; }
}
