/* ==========================================================================
   ITL Sessions Catalog  —  widget-sessions-catalog.php
   BEM namespace: .itlsc-*
   Design: "Agenda Professionnel" — refined dark-accent event catalog
   v2.0 — Mobile-first filter drawer + improved card layout
   ========================================================================== */

/* ── Design tokens ──────────────────────────────────────────────────────── */
.itlsc-wrap {
  --sc-navy:        #0b1630;
  --sc-navy-2:      #0f1f45;
  --sc-gold:        #e8b422;
  --sc-gold-lt:     rgba(232,180,34,.10);
  --sc-gold-border: rgba(232,180,34,.28);
  --sc-green:       #0ea371;
  --sc-green-lt:    rgba(14,163,113,.10);
  --sc-red:         #e53e3e;
  --sc-red-lt:      rgba(229,62,62,.10);
  --sc-border:      #e6eaf3;
  --sc-border-2:    #d2d8e8;
  --sc-surface:     #f7f9fc;
  --sc-surface-2:   #eef1f8;
  --sc-muted:       #697590;
  --sc-radius-sm:   6px;
  --sc-radius:      12px;
  --sc-radius-lg:   16px;
  --sc-shadow-xs:   0 1px 4px rgba(11,22,48,.06);
  --sc-shadow:      0 2px 12px rgba(11,22,48,.08);
  --sc-shadow-md:   0 8px 28px rgba(11,22,48,.13);
  --sc-shadow-lg:   0 16px 48px rgba(11,22,48,.18);
  font-family: inherit;
  color: #1a2540;
}

/* ══════════════════════════════════════════════════════════════════════════
   SECTION HEADER
══════════════════════════════════════════════════════════════════════════ */
.itlsc-header {
  text-align: center;
  padding: 60px 0 40px;
  max-width: 760px;
  margin: 0 auto;
}
.itlsc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sc-gold);
  margin: 0 0 16px;
  padding: 4px 14px 4px 10px;
  background: var(--sc-gold-lt);
  border: 1px solid var(--sc-gold-border);
  border-radius: 100px;
}
.itlsc-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sc-gold);
  flex-shrink: 0;
  animation: itlsc-pulse 2s ease-in-out infinite;
}
@keyframes itlsc-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.7); }
}
.itlsc-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--sc-navy);
  line-height: 1.08;
  letter-spacing: -.03em;
  margin: 0 0 16px;
}
.itlsc-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--sc-gold), #f5a623);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.itlsc-subtitle {
  font-size: 15px;
  color: var(--sc-muted);
  line-height: 1.7;
  margin: 0;
  max-width: 560px;
  margin-inline: auto;
}

/* ══════════════════════════════════════════════════════════════════════════
   BODY LAYOUT — sidebar + main
══════════════════════════════════════════════════════════════════════════ */
.itlsc-body {
  display: grid;
  grid-template-columns: 260px 1fr;  
  gap: 28px;
  align-items: start;
  padding-bottom: 60px;
}
.itlsc-main { min-width: 0; }

/* ══════════════════════════════════════════════════════════════════════════
   SIDEBAR FILTERS — card-based vertical layout
══════════════════════════════════════════════════════════════════════════ */
.itlsc-filters {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  position: sticky;
  top: 90px;
}

/* Individual filter card */
.itlsc-filter-card {
  background: #fff;
  border: 1px solid var(--sc-border);
  border-radius: var(--sc-radius-lg);
  padding: 18px 20px;
  box-shadow: var(--sc-shadow-xs);
}

/* Section label */
.itlsc-filter-label {
  display: block;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sc-navy);
  margin-bottom: 14px;
}

/* Search */
.itlsc-search-wrap { position: relative; }
.itlsc-search-icon {
  position: absolute;
  left: 13px; top: 50%;
  transform: translateY(-50%);
  color: var(--sc-muted);
  pointer-events: none;
}
.itlsc-search {
  width: 100%;
  border: 1.5px solid var(--sc-border);
  border-radius: var(--sc-radius);
  padding: 10px 14px 10px 36px;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--sc-navy);
  background: var(--sc-surface);
  box-sizing: border-box;
  transition: border-color .15s, box-shadow .15s;
}
.itlsc-search:focus {
  outline: none;
  background: #fff;
  border-color: var(--sc-gold);
  box-shadow: 0 0 0 3px var(--sc-gold-lt);
}

/* Filter rows (= filter cards with label+group) */
.itlsc-filter-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 16px;
  border: none;
}

/* Option group — stacked list */
.itlsc-filter-group {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

/* Each option = radio-style row */
.itlsc-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 8px 6px;
  border-radius: 8px;
  border: none;
  background: transparent !important;
  color: var(--tcp-gray-700) !important;
  font-size: 14px;
  font-weight: 400;
  font-family: inherit;
  cursor: pointer;
  transition: background .12s;
  min-height: 0;
  line-height: 1.4;
  white-space: normal;
  box-shadow: none;
}
.itlsc-pill:hover {
  background: var(--sc-surface);
  border-color: transparent;
  color: var(--sc-navy);
  box-shadow: none;
}

/* Radio circle */
.itlsc-pill::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #c9d0de;
  background: #fff;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.itlsc-pill.active {
  background: transparent;
  border-color: transparent;
  color: var(--sc-navy);
  font-weight: 600;
  box-shadow: none;
}
.itlsc-pill.active::before {
  border-color: var(--sc-gold);
  background: var(--sc-gold);
  box-shadow: inset 0 0 0 3px #fff;
}

/* Pill text and count */
.itlsc-pill__text { flex: 1; }
.itlsc-pill__count {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 12px;
  color: var(--sc-muted);
  font-weight: 400;
}
/* ══════════════════════════════════════════════════════════════════════════
   MOBILE FILTER TRIGGER (hidden on desktop)
══════════════════════════════════════════════════════════════════════════ */
.itlsc-filter-trigger {
  display: none;
}
.itlsc-filter-trigger__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--sc-gold);
  color: #060d1f;
  font-size: 10px;
  font-weight: 900;
  border-radius: 100px;
  line-height: 1;
  transition: transform .2s, opacity .2s;
}
.itlsc-filter-trigger__badge[data-count="0"] {
  opacity: 0;
  transform: scale(0);
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════════════════
   FILTER DRAWER (mobile bottom sheet)
══════════════════════════════════════════════════════════════════════════ */
.itlsc-filter-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11,22,48,.5);
  z-index: 1000;
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity .25s;
}
.itlsc-filter-overlay.is-open { opacity: 1; }

.itlsc-filter-drawer {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  border-radius: 20px 20px 0 0;
  z-index: 1001;
  box-shadow: 0 -8px 40px rgba(11,22,48,.2);
  transform: translateY(100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  max-height: 88vh;
  flex-direction: column;
  overflow: hidden;
}
.itlsc-filter-drawer.is-open { transform: translateY(0); }

.itlsc-drawer-handle {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  padding: 12px 0 8px;
  cursor: grab;
}
.itlsc-drawer-handle::after {
  content: '';
  width: 40px; height: 4px;
  background: var(--sc-border-2);
  border-radius: 100px;
}

.itlsc-drawer-header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 14px;
  border-bottom: 1px solid var(--sc-border);
}
.itlsc-drawer-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--sc-navy);
  letter-spacing: -.02em;
}
.itlsc-drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--sc-surface);
  border: 1.5px solid var(--sc-border);
  color: var(--sc-muted);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  transition: all .14s;
  font-family: inherit;
}
.itlsc-drawer-close:hover {
  background: var(--sc-surface-2);
  color: var(--sc-navy);
}

.itlsc-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.itlsc-drawer-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.itlsc-drawer-section__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sc-muted);
}
.itlsc-drawer-section .itlsc-filter-group {
  flex-wrap: wrap;
  gap: 8px;
  flex: none;
}
.itlsc-drawer-section .itlsc-pill {
  font-size: 13px;
  padding: 8px 16px;
  min-height: 40px;
}

.itlsc-drawer-footer {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid var(--sc-border);
  background: var(--sc-surface);
}
.itlsc-drawer-apply {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 48px;
  background: var(--sc-navy);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  border: none;
  border-radius: var(--sc-radius);
  cursor: pointer;
  font-family: inherit;
  letter-spacing: -.01em;
  transition: background .15s, box-shadow .15s;
  box-shadow: 0 3px 12px rgba(11,22,48,.25);
}
.itlsc-drawer-apply:hover {
  background: var(--sc-navy-2);
}
.itlsc-drawer-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 16px;
  background: none;
  border: 1.5px solid var(--sc-border);
  border-radius: var(--sc-radius);
  color: var(--sc-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: all .14s;
}
.itlsc-drawer-reset:hover {
  border-color: var(--sc-border-2);
  color: var(--sc-navy);
  background: #fff;
}

/* ══════════════════════════════════════════════════════════════════════════
   TOPBAR
══════════════════════════════════════════════════════════════════════════ */
.itlsc-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.itlsc-count {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 13px;
  color: var(--sc-muted);
  margin: 0;
}
.itlsc-count__num {
  font-size: 22px;
  font-weight: 900;
  color: var(--sc-navy);
  letter-spacing: -.03em;
  line-height: 1;
}
.itlsc-reset {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--sc-muted);
  background: none;
  border: 1.5px solid var(--sc-border);
  cursor: pointer;
  font-family: inherit;
  padding: 5px 12px;
  border-radius: 100px;
  transition: all .14s;
  margin-bottom: 16px;
}
.itlsc-reset:hover {
  color: var(--sc-navy);
  border-color: var(--sc-border-2);
  background: var(--sc-surface);
}

/* ══════════════════════════════════════════════════════════════════════════
   GRID
══════════════════════════════════════════════════════════════════════════ */
.itlsc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
  position: relative;
}
.itlsc-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 24px;
  border: 2px dashed var(--sc-border);
  border-radius: var(--sc-radius-lg);
  background: var(--sc-surface);
}
.itlsc-empty__icon  { display: block; font-size: 52px; margin-bottom: 16px; line-height: 1; filter: grayscale(.3); }
.itlsc-empty__title { font-size: 17px; font-weight: 700; color: var(--sc-navy); margin: 0 0 7px; }
.itlsc-empty__sub   { font-size: 13.5px; margin: 0; line-height: 1.65; color: var(--sc-muted); }

.itlsc-loading {
  position: absolute;
  inset: 0;
  background: rgba(247,249,252,.85);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--sc-radius-lg);
  z-index: 10;
}
.itlsc-spinner {
  width: 32px; height: 32px;
  border: 3px solid var(--sc-border);
  border-top-color: var(--sc-gold);
  border-radius: 50%;
  animation: itlsc-spin .65s linear infinite;
}
@keyframes itlsc-spin { to { transform: rotate(360deg); } }

/* ══════════════════════════════════════════════════════════════════════════
   SESSION CARD
══════════════════════════════════════════════════════════════════════════ */
.itlsc-card {
  background: #fff;
  border: 1px solid var(--sc-border);
  border-radius: var(--sc-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sc-shadow);
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s, border-color .2s;
  cursor: pointer;
}
.itlsc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sc-shadow-lg);
  border-color: rgba(11,22,48,.12);
}
.itlsc-card__head {
  position: relative;
  padding: 18px 18px 16px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sc-navy), var(--sc-navy-2));
  min-height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}
.itlsc-card__head::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(232,180,34,.12) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(255,255,255,.04) 0%, transparent 40%);
  pointer-events: none;
}
.itlsc-card__thumb-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .2;
  display: block;
}
.itlsc-card__head-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.itlsc-session-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 800;
  color: #060d1f;
  background: var(--sc-gold);
  padding: 4px 11px 4px 8px;
  border-radius: 100px;
  letter-spacing: .02em;
  box-shadow: 0 2px 6px rgba(232,180,34,.4);
}
.itlsc-session-count-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: #060d1f;
  border-radius: 50%;
  opacity: .4;
  flex-shrink: 0;
}
.itlsc-type-badge {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(4px);
  padding: 3px 9px;
  border-radius: 100px;
}
.itlsc-card__head-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.itlsc-card__domain-chip {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.itlsc-card__next-date {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
}
.itlsc-card__next-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
}
.itlsc-card__next-val {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.01em;
}
.itlsc-card__body {
  padding: 16px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.itlsc-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--sc-navy);
  letter-spacing: -.01em;
}
.itlsc-card__title a { color: inherit; text-decoration: none; transition: color .15s; }
.itlsc-card__title a:hover { color: var(--sc-gold); }
.itlsc-card__desc {
  font-size: 12.5px;
  color: var(--sc-muted);
  line-height: 1.65;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ══════════════════════════════════════════════════════════════════════════
   SESSIONS LIST
══════════════════════════════════════════════════════════════════════════ */
.itlsc-sessions-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.itlsc-session-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 11px;
  border-radius: var(--sc-radius-sm);
  background: var(--sc-surface);
  border: 1px solid transparent;
  transition: background .14s, border-color .14s;
  cursor: default;
}
.itlsc-session-row:hover {
  background: var(--sc-surface-2);
  border-color: var(--sc-border);
}
.itlsc-session-row--urgent {
  background: rgba(232,180,34,.07);
  border-color: rgba(232,180,34,.2);
}
.itlsc-session-row--urgent:hover { background: rgba(232,180,34,.12); }
.itlsc-session-cal {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 32px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--sc-border);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--sc-shadow-xs);
}
.itlsc-session-cal__month {
  width: 100%;
  text-align: center;
  font-size: 7.5px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--sc-navy);
  color: #fff;
  padding: 2px 0;
  line-height: 1;
}
.itlsc-session-row--urgent .itlsc-session-cal__month {
  background: var(--sc-gold);
  color: #060d1f;
}
.itlsc-session-cal__day {
  font-size: 14px;
  font-weight: 900;
  color: var(--sc-navy);
  line-height: 1;
  padding: 3px 0 2px;
  letter-spacing: -.02em;
}
.itlsc-session-row__info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.itlsc-session-row__mode {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--sc-navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.itlsc-session-row__end {
  font-size: 10.5px;
  color: var(--sc-muted);
  white-space: nowrap;
}
.itlsc-seats {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 100px;
  white-space: nowrap;
  color: var(--sc-green);
  background: var(--sc-green-lt);
  border: 1px solid rgba(14,163,113,.2);
}
.itlsc-seats--critical {
  color: var(--sc-red);
  background: var(--sc-red-lt);
  border-color: rgba(229,62,62,.2);
  animation: itlsc-seats-flash 2.5s ease-in-out infinite;
}
@keyframes itlsc-seats-flash {
  0%, 100% { opacity: 1; }
  50%       { opacity: .65; }
}
.itlsc-urgent-tag {
  flex-shrink: 0;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #92400e;
  background: rgba(232,180,34,.18);
  border: 1px solid rgba(232,180,34,.35);
  padding: 3px 8px;
  border-radius: 100px;
  white-space: nowrap;
}
.itlsc-sessions-more {
  font-size: 11px;
  color: var(--sc-muted);
  font-style: italic;
  padding: 5px 11px 2px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.itlsc-sessions-more::before {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--sc-border);
}

/* ══════════════════════════════════════════════════════════════════════════
   META STRIP
══════════════════════════════════════════════════════════════════════════ */
.itlsc-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0 0;
  border-top: 1px solid var(--sc-border);
  margin-top: auto;
}
.itlsc-meta-left { display: flex; align-items: center; gap: 10px; }
.itlsc-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  color: var(--sc-muted);
}
.itlsc-meta-item svg { opacity: .6; flex-shrink: 0; }
.itlsc-meta-price { display: flex; flex-direction: column; align-items: flex-end; gap: 0; }
.itlsc-price__label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sc-muted);
  line-height: 1;
}
.itlsc-price__val {
  font-size: 15px;
  font-weight: 900;
  color: var(--sc-navy);
  letter-spacing: -.02em;
  line-height: 1.1;
}
.itlsc-price__val s {
  font-size: 11px;
  font-weight: 400;
  color: #9aa3bb;
  margin-right: 2px;
  text-decoration: line-through;
}
.itlsc-price__val--quote {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--sc-muted);
  font-style: italic;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.itlsc-card__footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 12px 18px 16px;
  border-top: 1px solid var(--sc-border);
  background: var(--sc-surface);
}
.itlsc-card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--sc-muted);
  text-decoration: none;
  transition: color .15s;
  padding: 2px 0;
}
.itlsc-card__link:hover { color: var(--sc-navy); }
.itlsc-card__apply {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 800;
  padding: 9px 18px;
  border-radius: var(--sc-radius-sm);
  background: var(--sc-gold);
  color: #060d1f;
  text-decoration: none;
  white-space: nowrap;
  transition: box-shadow .15s, transform .12s, background .12s;
  box-shadow: 0 2px 8px rgba(232,180,34,.35);
  letter-spacing: -.01em;
}
.itlsc-card__apply:hover {
  background: #f0bc28;
  box-shadow: 0 4px 16px rgba(232,180,34,.5);
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════════════════════════════════════
   PAGINATION
══════════════════════════════════════════════════════════════════════════ */
.itlsc-pagination { margin-top: 36px; }
.itlsc-pag-nav { display: flex; justify-content: center; }
.itlsc-pag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  list-style: none;
  margin: 0; padding: 0;
  align-items: center;
}
.itlsc-pag-list a,
.itlsc-pag-list .current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--sc-radius-sm);
  border: 1.5px solid var(--sc-border);
  color: var(--sc-navy);
  text-decoration: none;
  background: #fff;
  transition: all .14s;
  box-shadow: var(--sc-shadow-xs);
}
.itlsc-pag-list a:hover {
  background: var(--sc-surface);
  border-color: var(--sc-border-2);
  box-shadow: var(--sc-shadow);
}
.itlsc-pag-list .current {
  background: var(--sc-navy);
  border-color: var(--sc-navy);
  color: #fff;
  box-shadow: 0 3px 10px rgba(11,22,48,.25);
}

/* ══════════════════════════════════════════════════════════════════════════
   STAGGER ANIMATION
══════════════════════════════════════════════════════════════════════════ */
@keyframes itlsc-card-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.itlsc-card { animation: itlsc-card-in .3s ease both; }

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — 960px tablet  →  collapse sidebar above grid
══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .itlsc-body {
    grid-template-columns: 1fr;
  }
  .itlsc-filters {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }
  .itlsc-filter-card {
    flex: 1;
    min-width: 180px;
  }
  .itlsc-filter-label { margin-bottom: 10px; }
  .itlsc-pill { font-size: 13px; padding: 6px 4px; }
}

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — 860px tablet
══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 860px) {
  .itlsc-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
}

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — 640px mobile  →  bottom-sheet drawer
══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .itlsc-header { padding: 36px 16px 24px; }
  .itlsc-title  { font-size: clamp(22px, 6.5vw, 28px); }
  .itlsc-body   { display: block; padding-bottom: 32px; }

  /* Hide desktop filters, show trigger row */
  .itlsc-filters { display: none !important; }

  .itlsc-filter-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
  }
  .itlsc-filter-trigger__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 16px;
    background: #fff;
    border: 1.5px solid var(--sc-border);
    border-radius: var(--sc-radius);
    color: var(--sc-navy);
    font-size: 13.5px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    box-shadow: var(--sc-shadow-xs);
    transition: all .14s;
    flex-shrink: 0;
  }
  .itlsc-filter-trigger__btn:hover {
    border-color: var(--sc-border-2);
    box-shadow: var(--sc-shadow);
  }
  .itlsc-filter-trigger__btn svg { opacity: .6; }

  /* Inline search */
  .itlsc-filter-trigger .itlsc-search-wrap { flex: 1; }
  .itlsc-filter-trigger .itlsc-search {
    font-size: 16px;
    height: 44px;
    padding: 0 14px 0 38px;
  }

  /* Activate overlay + drawer */
  .itlsc-filter-overlay,
  .itlsc-filter-drawer { display: block; }
  .itlsc-filter-drawer { display: flex; }

  /* Topbar */
  .itlsc-topbar { padding: 0 0 12px; }
  .itlsc-count__num { font-size: 18px; }

  /* Grid */
  .itlsc-grid { grid-template-columns: 1fr; gap: 12px; }

  /* Cards */
  .itlsc-card__head { min-height: 76px; padding: 12px 14px 10px; }
  .itlsc-card__body { padding: 12px 14px 10px; gap: 8px; }
  .itlsc-card__title { font-size: 14px; }
  .itlsc-session-row { padding: 7px 9px; gap: 8px; }
  .itlsc-session-cal { width: 28px; }
  .itlsc-session-cal__day { font-size: 12px; }
  .itlsc-card__footer { padding: 10px 14px 12px; }
  .itlsc-card__apply { padding: 9px 14px; min-height: 40px; }

  /* Pagination */
  .itlsc-pag-list a,
  .itlsc-pag-list .current { min-width: 40px; height: 40px; }
}

/* 420px tiny phone */
@media (max-width: 420px) {
  .itlsc-card__footer { grid-template-columns: 1fr; gap: 8px; }
  .itlsc-card__apply  { justify-content: center; }
  .itlsc-card__link   { justify-content: center; }
  .itlsc-meta-price { align-items: flex-start; }
  .itlsc-card__meta { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* Safe area for notched phones */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .itlsc-filter-drawer { padding-bottom: env(safe-area-inset-bottom); }
}
