/* ===== SELF LOVE Festival ===== */
@font-face { font-family: "SL Kanit"; src: url("../fonts/selflove/Kanit-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "SL Noto Thai"; src: url("../fonts/selflove/NotoSansThai-Variable.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "SL Montserrat"; src: url("../fonts/selflove/Montserrat-Variable.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

:root {
    --sl-teal: #1b9fb5;
    --sl-teal-dark: #127f93;
    --sl-teal-light: #7fdbe8;
    --sl-orange: #e8792b;
    --sl-text: #1e1e1e;
    --sl-muted: #9a9a9a;
    --sl-line: #d9d9d9;
    --sl-white: #ffffff;
    --sl-max: 480px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: #0b6fd6; }
body.sl-body {
    background: #0b6fd6;
    font-family: "SL Noto Thai", "SL Kanit", sans-serif;
    color: var(--sl-text);
    -webkit-font-smoothing: antialiased;
}

.sl-page {
    position: relative;
    width: 100%;
    max-width: var(--sl-max);
    min-height: 100vh;
    min-height: 100svh;
    margin: 0 auto;
    overflow: hidden;
    background-color: #1aa7d8;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

/* ===== Landing ===== */
.sl-home {
    background-image: url("../img/selflove/bg-home.jpg");
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 16px calc(9vh + env(safe-area-inset-bottom));
}
.sl-home__logo { width: 82%; max-width: 380px; height: auto; display: block; }
.sl-home__spacer { flex: 1 1 auto; min-height: 44vh; }
.sl-home__menu { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }

.sl-btn-glass {
    display: block;
    width: 74%;
    max-width: 320px;
    padding: 11px 16px;
    font-family: "SL Kanit", sans-serif;
    font-size: 20px;
    line-height: 1.3;
    color: var(--sl-white);
    text-align: center;
    text-decoration: none;
    background: rgba(27, 159, 181, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 4px;
    box-shadow: 0 4px 14px rgba(0, 60, 80, 0.25);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    transition: background .15s ease, transform .1s ease;
}
.sl-btn-glass:hover, .sl-btn-glass:focus { color: var(--sl-white); background: rgba(18, 127, 147, 0.78); text-decoration: none; }
.sl-btn-glass:active { transform: scale(.98); }

/* ===== Register ===== */
.sl-register {
    background-image: url("../img/selflove/bg-register.jpg");
    padding: 14px 16px calc(40px + env(safe-area-inset-bottom));
}
.sl-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sl-header__logo { display: block; width: 100%; max-width: 190px; height: auto; }
.sl-header > a { width: 48%; }
.sl-header__date { width: 40%; max-width: 180px; height: auto; }

.sl-card {
    position: relative;
    margin: 58px 0 0;
    padding: 46px 20px 28px;
    background: var(--sl-white);
    border-radius: 28px;
    box-shadow: 0 10px 30px rgba(0, 40, 120, 0.18);
}
.sl-card__title {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    padding: 6px 26px 7px;
    font-family: "SL Montserrat", sans-serif;
    font-weight: 800;
    font-size: 30px;
    line-height: 1;
    letter-spacing: 6px;
    color: var(--sl-white);
    white-space: nowrap;
    background: linear-gradient(180deg, #23b3c8 0%, var(--sl-teal-dark) 100%);
    border: 3px solid var(--sl-teal-light);
    border-radius: 6px;
}
.sl-card__guide { display: block; width: 100%; max-width: 320px; height: auto; margin: 0 auto; }

.sl-code-form { margin: 28px auto 0; max-width: 340px; }
.sl-code {
    display: flex;
    align-items: center;
    border: 1px solid var(--sl-line);
    border-radius: 8px;
    background: var(--sl-white);
    overflow: hidden;
}
.sl-code:focus-within { border-color: var(--sl-teal); box-shadow: 0 0 0 3px rgba(27, 159, 181, .15); }
.sl-code__input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 13px 14px;
    font-family: "SL Kanit", sans-serif;
    font-size: 16px; /* >=16px กัน iOS zoom */
    color: var(--sl-text);
    text-align: center;
    text-transform: uppercase;
    border: 0;
    outline: none;
    background: transparent;
}
.sl-code__input::placeholder { color: var(--sl-muted); text-transform: none; }
.sl-code__btn {
    flex: 0 0 auto;
    padding: 13px 14px;
    font-family: "SL Montserrat", sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--sl-muted);
    background: transparent;
    border: 0;
    border-left: 1px solid var(--sl-line);
    cursor: pointer;
}
.sl-code__btn:not(:disabled) { color: var(--sl-teal-dark); }
.sl-code__btn:disabled { cursor: default; }
.sl-code__error { min-height: 20px; margin: 8px 0 0; font-size: 14px; color: #d64545; text-align: center; }

/* =========================================================
   Booking flow (Day / Zone / Workshop) + footer
   ========================================================= */
.sl-flow { background-image: url("../img/selflove/bg-register.jpg"); padding: 14px 16px calc(100px + env(safe-area-inset-bottom)); }
.sl-card__date {
    margin: 0 0 4px;
    font-family: "SL Montserrat", sans-serif;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 1px;
    text-align: center;
    color: #0f5f73;
}
.sl-card__sub { margin: 0 0 18px; font-size: 14px; color: #5e6b70; text-align: center; }

/* ---- buttons ---- */
.sl-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 46px; padding: 10px 26px;
    font-family: "SL Kanit", sans-serif; font-size: 17px; line-height: 1.2;
    border-radius: 999px; border: 0; cursor: pointer; text-decoration: none;
    transition: transform .1s ease, box-shadow .15s ease, background .15s ease, opacity .15s ease;
    -webkit-tap-highlight-color: transparent;
}
.sl-btn:active { transform: scale(.97); }
.sl-btn:disabled { opacity: .45; cursor: default; transform: none; box-shadow: none; }
.sl-btn--primary {
    color: #fff;
    background: linear-gradient(180deg, #27b9cf 0%, var(--sl-teal-dark) 100%);
    box-shadow: 0 6px 16px rgba(18, 127, 147, .35), inset 0 1px 0 rgba(255,255,255,.35);
    font-family: "SL Montserrat", "SL Kanit", sans-serif; font-weight: 800; letter-spacing: 1px;
}
.sl-btn--primary:hover { color: #fff; box-shadow: 0 8px 20px rgba(18, 127, 147, .45), inset 0 1px 0 rgba(255,255,255,.35); }
.sl-btn--ghost { color: var(--sl-teal-dark); background: #e8f6f9; }
.sl-btn--block { width: 100%; }
.sl-btn-icon {
    width: 46px; height: 46px; flex: 0 0 46px;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--sl-teal-dark); background: #e8f6f9; border: 0; border-radius: 50%;
    text-decoration: none; cursor: pointer;
}
.sl-btn-icon svg { width: 22px; height: 22px; }
.sl-actions { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 22px; }
.sl-actions .sl-btn { flex: 0 1 220px; }

/* ---- ticket chip ---- */
.sl-pass {
    display: flex; align-items: center; gap: 12px;
    margin: 0 0 18px; padding: 12px 14px;
    background: #f1fafc; border: 1px dashed #9fd9e4; border-radius: 14px;
}
.sl-pass__icon { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 10px; background: var(--sl-teal); color: #fff; display: flex; align-items: center; justify-content: center; }
.sl-pass__icon svg { width: 22px; height: 22px; }
.sl-pass__name { font-family: "SL Kanit", sans-serif; font-size: 16px; color: var(--sl-text); }
.sl-pass__type { font-size: 13px; color: #5e6b70; }

/* ---- day tiles ---- */
.sl-days { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 14px; }
.sl-day {
    position: relative; display: flex; flex-direction: column; align-items: center;
    padding: 16px 10px 14px; border-radius: 18px; text-decoration: none; color: #fff;
    background: linear-gradient(160deg, #2cc3d6 0%, #1582c9 100%);
    box-shadow: 0 10px 22px rgba(21, 130, 201, .30);
    overflow: hidden; transition: transform .12s ease, box-shadow .15s ease;
}
.sl-day::after { content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%; background: rgba(255,255,255,.14); }
.sl-day:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 26px rgba(21, 130, 201, .38); }
.sl-day:active { transform: scale(.98); }
.sl-day__dow { font-family: "SL Montserrat", sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 3px; opacity: .9; }
.sl-day__num { font-family: "SL Montserrat", sans-serif; font-weight: 800; font-size: 54px; line-height: 1; margin: 4px 0 2px; }
.sl-day__month { font-family: "SL Montserrat", sans-serif; font-weight: 700; font-size: 15px; letter-spacing: 2px; }
.sl-day__badge {
    margin-top: 10px; padding: 3px 12px; font-size: 12px; white-space: nowrap; border-radius: 999px;
    background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.45);
}
.sl-day__badge.is-has { background: #fff; color: var(--sl-teal-dark); border-color: #fff; }
.sl-day__cta { margin-top: 10px; font-family: "SL Kanit", sans-serif; font-size: 14px; display: inline-flex; align-items: center; gap: 4px; }

/* ---- my reservations ---- */
.sl-section-title {
    display: flex; align-items: center; gap: 8px;
    margin: 26px 0 12px; font-family: "SL Kanit", sans-serif; font-size: 18px; color: #0f5f73;
}
.sl-section-title::before { content: ""; width: 5px; height: 20px; border-radius: 3px; background: var(--sl-orange); }
.sl-myday { margin: 0 0 14px; }
.sl-myday__head { font-family: "SL Montserrat", sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 1px; color: var(--sl-teal-dark); margin: 0 0 8px; }
.sl-myitem {
    display: flex; gap: 12px; align-items: center;
    padding: 10px 12px; margin-bottom: 8px;
    background: #fff; border: 1px solid #e3eef1; border-radius: 12px;
}
.sl-myitem__time { flex: 0 0 auto; min-width: 64px; font-family: "SL Montserrat", sans-serif; font-weight: 700; font-size: 13px; color: var(--sl-teal); line-height: 1.25; text-align: center; }
.sl-myitem__body { flex: 1 1 auto; min-width: 0; }
.sl-myitem__title { font-family: "SL Montserrat", "SL Noto Thai", sans-serif; font-weight: 600; font-size: 14px; line-height: 1.35; color: var(--sl-text); }
.sl-myitem__zone { font-size: 12px; color: #6b777b; }
.sl-myitem__ok { flex: 0 0 auto; color: #2eae5f; }
.sl-myitem__ok svg { width: 22px; height: 22px; }
.sl-empty { padding: 18px 12px; text-align: center; font-size: 14px; color: #7a8589; background: #f6f9fa; border-radius: 12px; }
.sl-note { margin: 16px 0 0; font-size: 12px; color: #8a9599; text-align: center; }

/* ---- zone ---- */
.sl-zone-label {
    width: 58%; margin: 6px auto 16px; padding: 10px 0;
    font-family: "SL Montserrat", sans-serif; font-weight: 700; font-size: 18px; letter-spacing: 2px;
    text-align: center; color: #fff; background: #2d7fa8; border-radius: 4px;
}
.sl-zones { display: flex; flex-direction: column; gap: 12px; }
.sl-zone {
    position: relative; display: flex; align-items: center; justify-content: center;
    min-height: 50px; padding: 10px 44px;
    font-family: "SL Kanit", sans-serif; font-size: 17px; color: #1b2a33;
    background: #cfe2fb; border: 2px solid transparent; border-radius: 999px;
    cursor: pointer; transition: background .15s ease, color .15s ease, box-shadow .15s ease;
    -webkit-tap-highlight-color: transparent;
}
.sl-zone input { position: absolute; opacity: 0; pointer-events: none; }
.sl-zone__count { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 11px; padding: 2px 8px; border-radius: 999px; background: #fff; color: var(--sl-teal-dark); }
.sl-zone.is-selected { color: #fff; background: linear-gradient(180deg, #27b9cf 0%, var(--sl-teal-dark) 100%); box-shadow: 0 6px 14px rgba(18,127,147,.3); }
.sl-zone.is-selected .sl-zone__count { background: rgba(255,255,255,.25); color: #fff; }

/* ---- workshop list ---- */
.sl-zone-pill {
    margin: 4px 0 18px; padding: 12px 16px; text-align: center;
    font-family: "SL Kanit", sans-serif; font-size: 20px; color: #fff;
    background: linear-gradient(180deg, #27b9cf 0%, var(--sl-teal-dark) 100%);
    border-radius: 999px; box-shadow: 0 6px 16px rgba(18,127,147,.3);
}
.sl-rule { margin: -6px 0 14px; font-size: 12px; color: #6b777b; text-align: center; }
.sl-ws-list { display: flex; flex-direction: column; gap: 12px; }
.sl-ws {
    display: flex; gap: 12px; padding: 10px; border-radius: 14px;
    background: #fff; border: 1px solid #e3eef1; box-shadow: 0 3px 10px rgba(0,60,80,.05);
}
.sl-ws.is-mine { border-color: #7fd3a0; background: #f2fbf5; }
.sl-ws.is-off .sl-ws__img { filter: grayscale(.7); opacity: .7; }
.sl-ws__img { width: 92px; height: 92px; flex: 0 0 92px; border-radius: 10px; object-fit: cover; background: #e9f1f3; }
.sl-ws__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.sl-ws__time { font-family: "SL Montserrat", sans-serif; font-weight: 700; font-size: 16px; line-height: 1.2; color: #1a9fd0; }
.sl-ws__title { margin-top: 1px; font-family: "SL Montserrat", "SL Noto Thai", sans-serif; font-weight: 700; font-size: 14px; line-height: 1.3; color: #1b2a33; }
.sl-ws__sub { font-family: "SL Montserrat", "SL Noto Thai", sans-serif; font-weight: 500; font-size: 14px; line-height: 1.35; color: #33444c; }
.sl-ws__foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sl-ws__seat { font-size: 12px; color: #6b777b; }
.sl-ws__seat.is-low { color: var(--sl-orange); }
.sl-ws__seat.is-full { color: #d64545; }
.sl-chip {
    display: inline-flex; align-items: center; gap: 4px;
    min-height: 32px; padding: 5px 16px;
    font-family: "SL Kanit", sans-serif; font-size: 14px;
    border: 0; border-radius: 999px; cursor: pointer; white-space: nowrap;
    transition: transform .1s ease, background .15s ease;
}
.sl-chip:active { transform: scale(.96); }
.sl-chip--choose { color: #fff; background: linear-gradient(180deg, #8ee05e 0%, #4fbf3a 100%); box-shadow: 0 4px 10px rgba(79,191,58,.35); }
.sl-chip--mine { color: #2e8b57; background: #d9f4e2; cursor: default; }
.sl-chip--off { color: #7a8589; background: #eceff0; cursor: default; }
.sl-chip svg { width: 14px; height: 14px; }
.sl-ws__reason { font-size: 11px; color: #a0a9ad; margin-top: 4px; text-align: right; }

/* ---- skeleton ---- */
.sl-skel { height: 50px; border-radius: 999px; background: linear-gradient(90deg, #eef3f5 25%, #f7fafb 50%, #eef3f5 75%); background-size: 200% 100%; animation: sl-skel 1.2s infinite; }
.sl-skel--card { height: 104px; border-radius: 14px; }
@keyframes sl-skel { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ---- modal ---- */
.sl-modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(8, 40, 60, 0); transition: background .18s ease; }
.sl-modal.is-open { background: rgba(8, 40, 60, .55); }
.sl-modal__box { width: 100%; max-width: 360px; padding: 22px 20px 18px; background: #fff; border-radius: 20px; transform: translateY(12px) scale(.98); opacity: 0; transition: transform .18s ease, opacity .18s ease; }
.sl-modal.is-open .sl-modal__box { transform: none; opacity: 1; }
.sl-modal__title { margin: 0 0 10px; font-family: "SL Kanit", sans-serif; font-weight: 400; font-size: 20px; color: #0f5f73; text-align: center; }
.sl-modal__body { font-size: 15px; color: #33444c; text-align: center; }
.sl-modal__body b { color: var(--sl-text); }
.sl-modal__warn { margin-top: 12px; padding: 8px 10px; font-size: 13px; color: #b5561a; background: #fff3ea; border-radius: 10px; }
.sl-modal__actions { display: flex; gap: 10px; margin-top: 18px; }
.sl-modal__actions .sl-btn { flex: 1 1 0; min-height: 44px; font-size: 16px; padding: 8px 12px; }

/* ---- footer menu ---- */
.sl-footer {
    position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 1000;
    width: 100%; max-width: var(--sl-max);
    display: flex; justify-content: space-around;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.92);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 -6px 20px rgba(0, 40, 80, .10);
    border-radius: 20px 20px 0 0;
}
.sl-footer__item {
    flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 4px 0; font-family: "SL Kanit", sans-serif; font-size: 12px; color: #7c8a90; text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}
.sl-footer__item svg { width: 24px; height: 24px; }
.sl-footer__item:hover { color: var(--sl-teal-dark); text-decoration: none; }
.sl-footer__item.is-active { color: var(--sl-teal-dark); }
.sl-footer__item.is-active .sl-footer__ico { background: #e3f5f8; }
.sl-footer__ico { display: flex; align-items: center; justify-content: center; width: 44px; height: 30px; border-radius: 999px; transition: background .15s ease; }

/* ---- loading : หัวใจ SELF LOVE หมุน (แทน loading.gif) ---- */
.sl-loader { display: inline-flex; flex-direction: column; align-items: center; gap: 12px; perspective: 400px; }
.sl-loader__icon {
    width: 72px; height: 72px;
    animation: sl-spin-y 1.2s cubic-bezier(.45, 0, .55, 1) infinite;
    filter: drop-shadow(0 6px 10px rgba(253, 130, 4, .35));
    will-change: transform;
}
.sl-loader__shadow { width: 46px; height: 8px; margin-top: -4px; border-radius: 50%; background: rgba(8, 60, 90, .18); animation: sl-shadow 1.2s ease-in-out infinite; }
.sl-loader__text { font-family: "SL Kanit", sans-serif; font-size: 15px; color: #0f5f73; letter-spacing: .5px; }
.sl-loader--inline { display: flex; margin: 40px auto; }
@keyframes sl-spin-y {
    0%   { transform: rotateY(0deg) scale(1); }
    50%  { transform: rotateY(180deg) scale(1.08); }
    100% { transform: rotateY(360deg) scale(1); }
}
@keyframes sl-shadow { 0%, 100% { transform: scaleX(1); opacity: .9; } 50% { transform: scaleX(.6); opacity: .5; } }
@media (prefers-reduced-motion: reduce) {
    .sl-loader__icon { animation: sl-pulse 1.4s ease-in-out infinite; }
    @keyframes sl-pulse { 50% { transform: scale(1.08); } }
}

/* ---- Ticket (QR) ---- */
.sl-qr-card {
    margin: 4px auto 0; max-width: 300px; padding: 16px 16px 14px;
    text-align: center; background: #f6f5f0; border: 1px solid #b9bcbd; border-radius: 16px;
}
.sl-qr-card__label { font-family: "SL Montserrat", sans-serif; font-weight: 800; font-size: 15px; letter-spacing: 1px; color: #1b2a33; margin-bottom: 10px; }
.sl-qr-card__qr { display: flex; justify-content: center; }
.sl-qr-card__qr img, .sl-qr-card__qr canvas { width: 200px !important; height: 200px !important; padding: 8px; background: #fff; border-radius: 8px; }
.sl-qr-card__name { margin-top: 12px; font-family: "SL Montserrat", "SL Noto Thai", sans-serif; font-weight: 700; font-size: 14px; line-height: 1.35; color: #1b2a33; }
.sl-qr-card__meta { margin-top: 2px; font-size: 12px; color: #5e6b70; }
.sl-actions--tight { margin-top: 16px; }
.sl-btn--sm { min-height: 40px; padding: 8px 22px; font-size: 14px; }
.sl-actions .sl-btn--sm { flex: 0 0 auto; }
.sl-ticket .sl-code-form { margin-top: 18px; }
.sl-code__input--email { text-transform: none; text-align: left; }

/* ---- Confirmation ---- */
.sl-confirm { text-align: center; padding-top: 52px; }
.sl-confirm__icon { width: 150px; margin: 0 auto; }
.sl-confirm__icon svg { display: block; width: 100%; height: auto; }
.sl-confirm__check { stroke-dasharray: 40; stroke-dashoffset: 40; animation: sl-draw .5s .3s ease-out forwards; }
@keyframes sl-draw { to { stroke-dashoffset: 0; } }
.sl-confirm__title { margin: 14px 0 4px; font-family: "SL Montserrat", sans-serif; font-weight: 800; font-size: 20px; letter-spacing: .5px; color: #1a9fb5; }
.sl-confirm__desc { margin: 0; font-size: 14px; color: #5e6b70; word-break: break-all; }
.sl-confirm .sl-card__title { font-size: 25px; letter-spacing: 4px; padding: 6px 18px 7px; }

/* ---- Schedule (ตารางกิจกรรม) ---- */
.sl-schedule { padding: 46px 14px 20px; }
.sl-tabs { display: flex; gap: 6px; padding: 4px; margin: 0 0 14px; background: #eaf6f9; border-radius: 999px; }
.sl-tab {
    flex: 1 1 0; min-height: 40px; padding: 6px 10px;
    font-family: "SL Montserrat", sans-serif; font-weight: 700; font-size: 14px; letter-spacing: .5px;
    color: var(--sl-teal-dark); background: transparent; border: 0; border-radius: 999px; cursor: pointer;
    transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
.sl-tab.is-active { color: #fff; background: linear-gradient(180deg, #27b9cf 0%, var(--sl-teal-dark) 100%); box-shadow: 0 4px 12px rgba(18,127,147,.3); }
.sl-schedule__img { display: none; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 18px rgba(0, 40, 80, .15); }
.sl-schedule__img.is-active { display: block; }
.sl-schedule__img img { display: block; width: 100%; height: auto; }
.sl-myitem__time { min-width: 96px; white-space: nowrap; text-align: left; }
.sl-flow--nofooter { padding-bottom: calc(40px + env(safe-area-inset-bottom)); }

/* workshop ที่จองแล้ว : กดเพื่อดู QR */
.sl-myitem--link { text-decoration: none; color: inherit; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease, transform .1s ease; -webkit-tap-highlight-color: transparent; }
.sl-myitem--link:hover { color: inherit; text-decoration: none; border-color: #9fd9e4; box-shadow: 0 4px 12px rgba(0, 60, 80, .08); }
.sl-myitem--link:active { transform: scale(.99); }
.sl-myitem__qr { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 8px; border-radius: 10px; color: #fff; background: linear-gradient(180deg, #27b9cf 0%, var(--sl-teal-dark) 100%); }
.sl-myitem__qr svg { width: 20px; height: 20px; }
.sl-myitem__qr span { font-family: "SL Montserrat", sans-serif; font-weight: 700; font-size: 10px; letter-spacing: .5px; line-height: 1; }
.sl-save-img { display: block; width: 100%; max-width: 280px; height: auto; margin: 0 auto 4px; border: 1px solid #e3eef1; border-radius: 10px; -webkit-touch-callout: default; }
