/* ════════════════════════════════════════════════════════════════════════
   ECSEL Library — tokens
   ════════════════════════════════════════════════════════════════════════ */
:root {
  --ecl-blue: #1575D5;
  --ecl-blue-light: #EAF2F9;
  --ecl-blue-dark: #3B419F;
  --ecl-green: #39DA6C;
  --ecl-green-light: #E2F8E4;
  --ecl-green-dark: #077C10;
  --ecl-yellow: #FFE563;
  --ecl-yellow-light: #FEF5C8;
  --ecl-yellow-dark: #635200;
  --ecl-orange: #F47915;
  --ecl-orange-light: #FDF1E6;
  --ecl-orange-dark: #B25408;
  --ecl-indigo: #1D1851;
  --ecl-indigo-2: #2D2870;
  --ecl-navy: #202A44;
  --ecl-pink: #FFE6F4;
  --ecl-white: #FFFFFF;
  --ecl-cream: #FFFBF2;
  --ecl-gray: #DFDFDF;
  --ecl-gray-bg: #F6F7FA;
  --ecl-gray-dark: #5A5E6E;
  --ecl-line: #ECEEF3;
  --ecl-elevation-1: 0 1px 3px rgba(15, 23, 42, 0.05);
  --ecl-elevation-2: 0 6px 18px rgba(15, 23, 42, 0.06);
  --ecl-elevation-3: 0 16px 38px rgba(15, 23, 42, 0.10);
  --ecl-radius-card: 16px;
  --ecl-radius-pill: 999px;
  --ecl-radius-chip: 12px;
  --ecl-container: 1280px;
}

.ecsel-library, .ecsel-library * { box-sizing: border-box; }
.ecsel-library {
  background: var(--ecl-white);
  color: var(--ecl-indigo);
  -webkit-font-smoothing: antialiased;
}
.ecsel-library .screen-reader-text {
  position: absolute !important; clip: rect(1px, 1px, 1px, 1px);
  height: 1px; width: 1px; overflow: hidden;
}

/* ─── Defeat Elementor kit's global h1/h2/h3/link colors inside this template ─── */
.ecsel-library h1,
.ecsel-library h2,
.ecsel-library h3,
.ecsel-library h4 { color: var(--ecl-indigo) !important; }
/* …but dark-background sections need white headings */
.ecsel-library .ecsel-collection__title,
.ecsel-library .ecsel-testimonial h2,
.ecsel-library .ecsel-testimonial h3 { color: var(--ecl-white) !important; }
.ecsel-library a:not(.ecsel-btn):not(.ecsel-card__link):not(.ecsel-card__unlock):not(.ecsel-card--carousel):not(.ecsel-age-tile):not(.ecsel-area-tile):not(.ecsel-section__link):not(.ecsel-hero2__browse) {
  color: var(--ecl-indigo);
}
.ecsel-library .ecsel-btn--primary,
.ecsel-library a.ecsel-btn--primary { color: var(--ecl-white) !important; }
.ecsel-library .ecsel-btn--cta,
.ecsel-library a.ecsel-btn--cta { color: var(--ecl-white) !important; }
.ecsel-library .ecsel-card__unlock,
.ecsel-library a.ecsel-card__unlock { color: var(--ecl-white) !important; }

/* ════════════════════════════════════════════════════════════════════════
   Buttons + Search
   ════════════════════════════════════════════════════════════════════════ */
.ecsel-btn {
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 15px;
  padding: 13px 26px; border-radius: var(--ecl-radius-pill); border: none;
  cursor: pointer; transition: filter .15s ease, transform .15s ease, background .15s ease;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap; letter-spacing: 0.005em;
}
.ecsel-btn--primary { background: var(--ecl-orange); color: var(--ecl-white); }
.ecsel-btn--primary:hover { filter: brightness(0.95); }
.ecsel-btn--primary:focus-visible { outline: 3px solid var(--ecl-yellow); outline-offset: 2px; }
.ecsel-btn--ghost  { background: var(--ecl-white); color: var(--ecl-indigo); border: 2px solid var(--ecl-gray); }
.ecsel-btn--ghost:hover { border-color: var(--ecl-indigo); }
.ecsel-btn--cta { background: var(--ecl-indigo); color: var(--ecl-white); font-size: 16px; padding: 15px 32px; }
.ecsel-btn--cta:hover { background: var(--ecl-indigo-2); }

.ecsel-search {
  display: flex; gap: 10px; max-width: 580px; position: relative;
  background: var(--ecl-white); border-radius: var(--ecl-radius-pill);
  box-shadow: var(--ecl-elevation-2);
  border: 1px solid var(--ecl-line);
}
.ecsel-search input[type="search"] {
  flex: 1; padding: 13px 16px 13px 48px; border: none; border-radius: var(--ecl-radius-pill);
  font-family: 'Open Sans', sans-serif; font-size: 15px; color: var(--ecl-indigo);
  background: transparent; outline: none; min-width: 0;
}
.ecsel-search input[type="search"]::placeholder { color: #9498A6; }
.ecsel-search--big input[type="search"] { padding: 17px 18px 17px 54px; font-size: 16px; }
.ecsel-search:focus-within { box-shadow: 0 0 0 4px rgba(255,229,99,0.55), var(--ecl-elevation-2); }
.ecsel-search__icon {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  pointer-events: none; display: flex;
}
.ecsel-search .ecsel-btn { margin: 4px; }

/* ════════════════════════════════════════════════════════════════════════
   HERO — split layout, white bg, NO overlay, ~440px
   ════════════════════════════════════════════════════════════════════════ */
.ecsel-hero2 {
  background: var(--ecl-white);
  padding: 64px 24px 56px;
  border-bottom: 1px solid var(--ecl-line);
  position: relative; overflow: hidden;
}
.ecsel-hero2::before {
  content: ''; position: absolute; top: -20%; right: -10%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(255,229,99,0.18) 0%, transparent 68%);
  border-radius: 50%; pointer-events: none;
}
.ecsel-hero2__inner {
  max-width: var(--ecl-container); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
  position: relative; z-index: 1;
}
.ecsel-hero2__content { max-width: 580px; }
.ecsel-hero2__badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--ecl-yellow-light); color: var(--ecl-yellow-dark);
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--ecl-radius-pill);
  margin-bottom: 18px;
}
.ecsel-hero2__title {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 48px;
  line-height: 1.06; margin: 0; color: var(--ecl-indigo) !important; letter-spacing: -0.025em;
}
.ecsel-hero2__subtitle {
  font-family: 'Open Sans', sans-serif; font-size: 17px; line-height: 1.55;
  color: var(--ecl-gray-dark); margin: 16px 0 26px; max-width: 540px;
}
.ecsel-hero2__browse {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 18px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 15px;
  color: var(--ecl-indigo) !important; text-decoration: none;
}
.ecsel-hero2__browse:hover { color: var(--ecl-orange) !important; }
.ecsel-hero2__browse svg { transition: transform .2s ease; }
.ecsel-hero2__browse:hover svg { transform: translateX(3px); }

.ecsel-hero2__media {
  position: relative; aspect-ratio: 4 / 5; max-height: 440px; width: 100%;
  display: flex; align-items: center; justify-content: center;
}
.ecsel-hero2__media-shape {
  position: absolute; border-radius: 50%; z-index: 0;
}
.ecsel-hero2__media-shape--yellow {
  background: var(--ecl-yellow); width: 72%; height: 72%;
  top: 6%; right: -4%;
}
.ecsel-hero2__media-shape--green {
  background: var(--ecl-green-light); width: 38%; height: 38%;
  bottom: 6%; left: 6%;
}
.ecsel-hero2__photo {
  position: relative; z-index: 1;
  width: 78%; max-width: 380px; height: auto;
  border-radius: 24px; box-shadow: var(--ecl-elevation-3); object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .ecsel-hero2 { padding: 40px 20px 32px; }
  .ecsel-hero2__inner { grid-template-columns: 1fr; gap: 28px; }
  .ecsel-hero2__title { font-size: 34px; }
  .ecsel-hero2__media { aspect-ratio: 16 / 11; max-height: 280px; }
  .ecsel-hero2__photo { max-width: 280px; }
}

/* ════════════════════════════════════════════════════════════════════════
   STATS bar
   ════════════════════════════════════════════════════════════════════════ */
.ecsel-stats { background: var(--ecl-cream); border-bottom: 1px solid var(--ecl-line); }
.ecsel-stats__inner {
  max-width: var(--ecl-container); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 28px 24px; gap: 24px;
}
.ecsel-stats__item {
  text-align: center; display: flex; flex-direction: column; gap: 4px;
  border-right: 1px solid var(--ecl-line); padding-right: 24px;
}
.ecsel-stats__item:last-child { border-right: none; padding-right: 0; }
.ecsel-stats__num {
  font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 36px;
  color: var(--ecl-indigo); line-height: 1; letter-spacing: -0.02em;
}
.ecsel-stats__lbl {
  font-family: 'Open Sans', sans-serif; font-size: 13px;
  color: var(--ecl-gray-dark); font-weight: 600; line-height: 1.3;
}
@media (max-width: 760px) {
  .ecsel-stats__inner { grid-template-columns: repeat(2, 1fr); padding: 20px; gap: 18px; }
  .ecsel-stats__item { border-right: none; padding-right: 0; }
  .ecsel-stats__num { font-size: 28px; }
}

/* ════════════════════════════════════════════════════════════════════════
   PRESS strip
   ════════════════════════════════════════════════════════════════════════ */
.ecsel-press { background: var(--ecl-white); border-bottom: 1px solid var(--ecl-line); }
.ecsel-press__inner {
  max-width: var(--ecl-container); margin: 0 auto;
  padding: 28px 24px; display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
}
.ecsel-press__label {
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ecl-gray-dark);
  white-space: nowrap;
}
.ecsel-press__logos { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; flex: 1; }
.ecsel-press__logos img {
  max-height: 28px; width: auto;
  filter: grayscale(1) brightness(0.55) contrast(1.1); opacity: 0.85;
  transition: opacity .2s ease, filter .2s ease;
}
.ecsel-press__logos img:hover { filter: grayscale(0); opacity: 1; }
@media (max-width: 700px) {
  .ecsel-press__inner { gap: 18px; padding: 20px; flex-direction: column; align-items: flex-start; }
  .ecsel-press__logos { gap: 24px; }
  .ecsel-press__logos img { max-height: 22px; }
}

/* ════════════════════════════════════════════════════════════════════════
   Section frame
   ════════════════════════════════════════════════════════════════════════ */
.ecsel-section { padding: 72px 24px; }
.ecsel-section--age   { background: var(--ecl-white); }
.ecsel-section--loved { background: var(--ecl-gray-bg); }
.ecsel-section--area  { background: var(--ecl-white); }
.ecsel-section--free  { background: var(--ecl-cream); }
.ecsel-section--how   { background: var(--ecl-white); border-top: 1px solid var(--ecl-line); }
.ecsel-section__inner { max-width: var(--ecl-container); margin: 0 auto; }
.ecsel-section__title {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 32px; line-height: 1.18;
  color: var(--ecl-indigo); margin: 0 0 6px; letter-spacing: -0.015em;
}
.ecsel-section__title--center { text-align: center; margin-bottom: 12px; }
.ecsel-section__subtitle {
  font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.5;
  color: var(--ecl-gray-dark); margin: 0 0 32px; max-width: 560px;
}
.ecsel-section__subtitle--center { text-align: center; margin: 0 auto 40px; }
.ecsel-section__header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 32px; gap: 24px; flex-wrap: wrap;
}
.ecsel-section__header .ecsel-section__subtitle { margin: 6px 0 0; }
.ecsel-section__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14px;
  color: var(--ecl-indigo); text-decoration: none; white-space: nowrap;
  padding-bottom: 1px; border-bottom: 2px solid transparent;
  transition: border-color .15s ease, color .15s ease;
}
.ecsel-section__link svg { transition: transform .2s ease; }
.ecsel-section__link:hover { color: var(--ecl-orange); border-bottom-color: var(--ecl-orange); }
.ecsel-section__link:hover svg { transform: translateX(3px); }

@media (max-width: 700px) {
  .ecsel-section { padding: 56px 20px; }
  .ecsel-section__title { font-size: 26px; }
}

/* ════════════════════════════════════════════════════════════════════════
   Age tiles — TPT style (photo on top, content below)
   ════════════════════════════════════════════════════════════════════════ */
.ecsel-age-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
@media (max-width: 880px) { .ecsel-age-grid { grid-template-columns: 1fr; } }

.ecsel-age-tile {
  background: var(--ecl-white); border-radius: var(--ecl-radius-card);
  overflow: hidden; text-decoration: none; color: var(--ecl-indigo);
  border: 1px solid var(--ecl-line);
  box-shadow: var(--ecl-elevation-1);
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ecsel-age-tile:hover { transform: translateY(-4px); box-shadow: var(--ecl-elevation-3); }
.ecsel-age-tile__photo {
  aspect-ratio: 4 / 3; background-size: cover; background-position: center;
  background-color: var(--ecl-blue-light);
}
.ecsel-age-tile__body {
  padding: 22px 24px;
  display: flex; flex-direction: column; gap: 4px;
}
.ecsel-age-tile__sub {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ecl-orange-dark);
}
.ecsel-age-tile__name {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 26px; line-height: 1.1;
  color: var(--ecl-indigo); margin: 4px 0 6px;
}
.ecsel-age-tile__count {
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14px;
  color: var(--ecl-indigo); transition: color .15s ease;
}
.ecsel-age-tile:hover .ecsel-age-tile__count { color: var(--ecl-orange); }

/* ════════════════════════════════════════════════════════════════════════
   FEATURED COLLECTION banner
   ════════════════════════════════════════════════════════════════════════ */
.ecsel-collection {
  background: linear-gradient(135deg, #1D1851 0%, #2D2870 55%, #3B419F 100%);
  color: var(--ecl-white);
  padding: 64px 24px; position: relative; overflow: hidden;
}
.ecsel-collection::before {
  content: ''; position: absolute; top: -30%; right: -8%;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(255,229,99,0.20) 0%, transparent 68%);
  border-radius: 50%;
}
.ecsel-collection__inner {
  max-width: var(--ecl-container); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
  position: relative; z-index: 1;
}
.ecsel-collection__copy { max-width: 540px; }
.ecsel-collection__eyebrow {
  display: inline-block; background: rgba(255,229,99,0.18);
  color: var(--ecl-yellow); padding: 6px 14px; border-radius: var(--ecl-radius-pill);
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 18px;
}
.ecsel-collection__title {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 38px; line-height: 1.12;
  color: var(--ecl-white); letter-spacing: -0.02em; margin: 0 0 14px;
}
.ecsel-collection__body {
  font-family: 'Open Sans', sans-serif; font-size: 17px; line-height: 1.55;
  color: rgba(255,255,255,0.85); margin: 0 0 26px;
}
.ecsel-collection__media {
  aspect-ratio: 4 / 5; max-height: 420px;
  border-radius: 22px; overflow: hidden;
  box-shadow: var(--ecl-elevation-3); transform: rotate(2deg);
}
.ecsel-collection__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 900px) {
  .ecsel-collection { padding: 48px 20px; }
  .ecsel-collection__inner { grid-template-columns: 1fr; gap: 32px; }
  .ecsel-collection__title { font-size: 28px; }
  .ecsel-collection__media { transform: none; max-height: 280px; }
}

/* ════════════════════════════════════════════════════════════════════════
   CAROUSEL (most loved, free downloads)
   ════════════════════════════════════════════════════════════════════════ */
.ecsel-carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: 280px;
  gap: 22px; overflow-x: auto; padding: 6px 0 18px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.ecsel-carousel::-webkit-scrollbar { height: 8px; }
.ecsel-carousel::-webkit-scrollbar-thumb { background: var(--ecl-gray); border-radius: 4px; }

.ecsel-card--carousel {
  scroll-snap-align: start;
  text-decoration: none; color: inherit;
  background: var(--ecl-white); border-radius: var(--ecl-radius-card);
  overflow: hidden; box-shadow: var(--ecl-elevation-2);
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
  position: relative;
  border: 1px solid var(--ecl-line);
}
.ecsel-card--carousel:hover { transform: translateY(-3px); box-shadow: var(--ecl-elevation-3); }
.ecsel-card--carousel.ecsel-card--locked { cursor: default; }

/* ════════════════════════════════════════════════════════════════════════
   AREA TILES — colored pastel backgrounds, chunky, modern, animated arrow
   ════════════════════════════════════════════════════════════════════════ */
.ecsel-section--area { background: var(--ecl-gray-bg); }

.ecsel-area-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
@media (max-width: 900px) { .ecsel-area-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ecsel-area-grid { grid-template-columns: 1fr; } }

.ecsel-area-tile {
  background: var(--tile-bg, var(--ecl-blue-light));
  border: 2px solid transparent;
  border-radius: 20px;
  padding: 24px 22px;
  text-decoration: none; color: var(--ecl-indigo);
  display: flex; align-items: center; gap: 18px;
  position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ecsel-area-tile::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.35) 0%, transparent 60%);
  pointer-events: none;
}
.ecsel-area-tile:hover {
  transform: translateY(-5px);
  border-color: var(--ecl-indigo);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
}
.ecsel-area-tile:focus-visible {
  outline: 3px solid var(--ecl-indigo); outline-offset: 2px;
}

.ecsel-area-tile__icon {
  width: 64px; height: 64px; flex-shrink: 0;
  background: rgba(255,255,255,0.85);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  position: relative; z-index: 1;
}
.ecsel-area-tile__icon img { width: 40px; height: 40px; display: block; }

.ecsel-area-tile__body {
  display: flex; flex-direction: column; flex: 1; gap: 3px;
  position: relative; z-index: 1; min-width: 0;
}
.ecsel-area-tile__name {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 20px;
  line-height: 1.15; color: var(--ecl-indigo);
}
.ecsel-area-tile__count {
  font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 600;
  color: rgba(29, 24, 81, 0.7); white-space: nowrap;
}

.ecsel-area-tile__arrow {
  position: absolute; top: 22px; right: 22px;
  color: var(--ecl-indigo); opacity: 0.45;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 1;
}
.ecsel-area-tile:hover .ecsel-area-tile__arrow {
  opacity: 1; transform: translateX(4px);
}

/* Per-area pastel tints */
.ecsel-area-tile--art           { --tile-bg: #FFE6F4; }
.ecsel-area-tile--math          { --tile-bg: #DCEBFB; }
.ecsel-area-tile--science       { --tile-bg: #D8F5DC; }
.ecsel-area-tile--engineering   { --tile-bg: #FFE5CC; }
.ecsel-area-tile--literacy      { --tile-bg: #E3D9FF; }
.ecsel-area-tile--movement      { --tile-bg: #FFF1A8; }
.ecsel-area-tile--music         { --tile-bg: #FFE0A8; }
.ecsel-area-tile--technology    { --tile-bg: #CDF5E0; }
.ecsel-area-tile--dramatic-play { --tile-bg: #FFD6E0; }

/* ════════════════════════════════════════════════════════════════════════
   TESTIMONIAL
   ════════════════════════════════════════════════════════════════════════ */
.ecsel-testimonial {
  background: var(--ecl-indigo);
  background-image:
    radial-gradient(at 18% 28%, rgba(57, 218, 108, 0.16) 0%, transparent 45%),
    radial-gradient(at 82% 70%, rgba(255, 229, 99, 0.16) 0%, transparent 45%);
  color: var(--ecl-white);
  padding: 80px 24px;
}
.ecsel-testimonial__inner {
  max-width: 820px; margin: 0 auto; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.ecsel-testimonial__quote { opacity: 0.9; }
.ecsel-testimonial__quote-text {
  font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 26px;
  line-height: 1.4; color: var(--ecl-white); margin: 0; max-width: 720px;
  letter-spacing: -0.005em;
}
.ecsel-testimonial__attr {
  display: flex; align-items: center; gap: 14px; margin-top: 12px;
}
.ecsel-testimonial__avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--ecl-yellow);
  color: var(--ecl-indigo);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 18px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.ecsel-testimonial__meta {
  text-align: left; display: flex; flex-direction: column; line-height: 1.3;
}
.ecsel-testimonial__meta strong {
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 16px; color: var(--ecl-white);
}
.ecsel-testimonial__meta span {
  font-family: 'Open Sans', sans-serif; font-size: 13px; color: rgba(255,255,255,0.7);
}
@media (max-width: 700px) {
  .ecsel-testimonial { padding: 56px 20px; }
  .ecsel-testimonial__quote-text { font-size: 19px; }
}

/* ════════════════════════════════════════════════════════════════════════
   HOW IT WORKS
   ════════════════════════════════════════════════════════════════════════ */
.ecsel-how {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 900px) { .ecsel-how { grid-template-columns: 1fr; } }
.ecsel-how__step {
  background: var(--ecl-white); border: 1px solid var(--ecl-line);
  border-radius: var(--ecl-radius-card); padding: 32px;
  text-align: left;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ecsel-how__step:hover { transform: translateY(-2px); box-shadow: var(--ecl-elevation-2); }
.ecsel-how__icon {
  width: 60px; height: 60px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.ecsel-how__icon--1 { background: var(--ecl-blue-light); }
.ecsel-how__icon--2 { background: var(--ecl-green-light); }
.ecsel-how__icon--3 { background: var(--ecl-orange-light); }
.ecsel-how__num {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 11px;
  color: var(--ecl-gray-dark); text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 6px;
}
.ecsel-how__title {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 22px;
  color: var(--ecl-indigo); margin: 0 0 12px; line-height: 1.2;
}
.ecsel-how__body {
  font-family: 'Open Sans', sans-serif; font-size: 15px; line-height: 1.6;
  color: var(--ecl-gray-dark); margin: 0;
}

/* ════════════════════════════════════════════════════════════════════════
   NEWSLETTER
   ════════════════════════════════════════════════════════════════════════ */
.ecsel-newsletter {
  background: var(--ecl-yellow);
  padding: 56px 24px;
  position: relative; overflow: hidden;
}
.ecsel-newsletter::before {
  content: ''; position: absolute; bottom: -45%; left: -8%;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(244, 121, 21, 0.20) 0%, transparent 68%);
  border-radius: 50%;
}
.ecsel-newsletter__inner {
  max-width: var(--ecl-container); margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center;
  position: relative; z-index: 1;
}
.ecsel-newsletter__title {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 30px; line-height: 1.15;
  color: var(--ecl-indigo); margin: 0 0 8px; letter-spacing: -0.015em;
}
.ecsel-newsletter__body {
  font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.5;
  color: var(--ecl-indigo); opacity: 0.78; margin: 0;
}
.ecsel-newsletter__form {
  display: flex; gap: 10px; align-items: center;
  background: var(--ecl-white); padding: 6px; border-radius: var(--ecl-radius-pill);
  box-shadow: var(--ecl-elevation-2);
}
.ecsel-newsletter__form input[type="email"] {
  flex: 1; min-width: 0; padding: 13px 18px; border: none; outline: none;
  background: transparent; font-family: 'Open Sans', sans-serif; font-size: 15px;
  color: var(--ecl-indigo); border-radius: var(--ecl-radius-pill);
}
.ecsel-newsletter__form input[type="email"]::placeholder { color: #9498A6; }
@media (max-width: 900px) {
  .ecsel-newsletter { padding: 44px 20px; }
  .ecsel-newsletter__inner { grid-template-columns: 1fr; gap: 20px; }
  .ecsel-newsletter__title { font-size: 24px; }
}

/* ════════════════════════════════════════════════════════════════════════
   BOTTOM CTA
   ════════════════════════════════════════════════════════════════════════ */
.ecsel-cta {
  background: var(--ecl-white);
  padding: 80px 24px;
  border-top: 1px solid var(--ecl-line);
}
.ecsel-cta__inner {
  max-width: 760px; margin: 0 auto; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.ecsel-cta__eyebrow {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ecl-orange);
}
.ecsel-cta__title {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 38px;
  color: var(--ecl-indigo); margin: 0; line-height: 1.15; letter-spacing: -0.02em;
}
.ecsel-cta__body {
  font-family: 'Open Sans', sans-serif; font-size: 17px; line-height: 1.5;
  color: var(--ecl-gray-dark); margin: 0 0 12px;
}
@media (max-width: 700px) {
  .ecsel-cta { padding: 56px 20px; }
  .ecsel-cta__title { font-size: 28px; }
}

/* ════════════════════════════════════════════════════════════════════════
   LISTING MODE
   ════════════════════════════════════════════════════════════════════════ */
.ecsel-hero-listing {
  background: var(--ecl-white);
  padding: 36px 24px 32px;
  border-bottom: 1px solid var(--ecl-line);
}
.ecsel-hero-listing__inner { max-width: var(--ecl-container); margin: 0 auto; }
.ecsel-hero-listing__crumb {
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 13px;
  margin: 0 0 8px;
}
.ecsel-hero-listing__crumb a {
  color: var(--ecl-gray-dark); text-decoration: none;
}
.ecsel-hero-listing__crumb a:hover { color: var(--ecl-indigo); }
.ecsel-hero-listing__title {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 32px;
  color: var(--ecl-indigo); margin: 0 0 18px; letter-spacing: -0.015em;
}

.ecsel-grid-wrap {
  display: grid; grid-template-columns: 280px 1fr; gap: 32px;
  max-width: var(--ecl-container); margin: 32px auto; padding: 0 24px;
}
@media (max-width: 960px) { .ecsel-grid-wrap { grid-template-columns: 1fr; gap: 24px; } }

.ecsel-sidebar {
  background: var(--ecl-white); border: 1px solid var(--ecl-line);
  border-radius: var(--ecl-radius-card); padding: 20px;
  box-shadow: var(--ecl-elevation-1); align-self: start;
}
@media (min-width: 961px) { .ecsel-sidebar { position: sticky; top: 24px; } }

.ecsel-filters__free { padding: 4px 0 14px; border-bottom: 1px solid var(--ecl-line); margin-bottom: 8px; }
.ecsel-filters__free label {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14px; color: var(--ecl-indigo);
  cursor: pointer;
}
.ecsel-filters__free input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--ecl-green); }
.ecsel-filters__group { padding: 6px 0; border-top: 1px solid var(--ecl-line); }
.ecsel-filters__group > summary {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 14px;
  color: var(--ecl-indigo); cursor: pointer; padding: 10px 0;
  list-style: none; user-select: none;
  display: flex; justify-content: space-between; align-items: center;
}
.ecsel-filters__group > summary::-webkit-details-marker { display: none; }
.ecsel-filters__group > summary::after { content: '⌃'; transition: transform .2s; color: var(--ecl-gray-dark); }
.ecsel-filters__group[open] > summary::after { transform: rotate(180deg); }

.ecsel-filters label {
  display: flex; align-items: center; gap: 8px; padding: 5px 0;
  font-family: 'Open Sans', sans-serif; font-size: 14px; color: var(--ecl-indigo);
  cursor: pointer; line-height: 1.4;
}
.ecsel-filters input[type="checkbox"] { accent-color: var(--ecl-indigo); }
.ecsel-count { color: var(--ecl-gray-dark); font-size: 12px; }
.ecsel-filters__reset {
  margin-top: 16px; background: none; border: none; color: var(--ecl-indigo);
  font-family: 'Poppins', sans-serif; font-size: 14px; cursor: pointer;
  padding: 6px 0; font-weight: 600;
}
.ecsel-filters__reset:hover { text-decoration: underline; }

.ecsel-results__bar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px; gap: 12px; flex-wrap: wrap; min-height: 32px;
}
.ecsel-results__chips { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; }
.ecsel-active-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; background: var(--ecl-white); color: var(--ecl-indigo);
  border: 1.5px solid var(--ecl-indigo);
  border-radius: var(--ecl-radius-pill); font-size: 13px;
  font-family: 'Poppins', sans-serif; font-weight: 600;
}
.ecsel-active-chip button {
  background: none; border: none; color: var(--ecl-indigo); cursor: pointer;
  font-size: 16px; line-height: 1; padding: 0; font-weight: 700;
}
.ecsel-results__count {
  color: var(--ecl-gray-dark); font-size: 14px;
  font-family: 'Open Sans', sans-serif; font-weight: 600;
}

.ecsel-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  list-style: none; padding: 0; margin: 0;
}
@media (max-width: 1100px) { .ecsel-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .ecsel-grid { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════════════════════════
   CARD (default / locked / skeleton / carousel)
   ════════════════════════════════════════════════════════════════════════ */
.ecsel-card {
  background: var(--ecl-white); border-radius: var(--ecl-radius-card);
  overflow: hidden; box-shadow: var(--ecl-elevation-2);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column; position: relative;
  border: 1px solid var(--ecl-line);
}
.ecsel-card:hover { transform: translateY(-4px); box-shadow: var(--ecl-elevation-3); }
.ecsel-card__link { color: inherit; text-decoration: none; display: flex; flex-direction: column; flex: 1; }
.ecsel-card__img-wrap {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: var(--ecl-blue-light);
}
.ecsel-card__img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .35s ease;
}
.ecsel-card:hover .ecsel-card__img { transform: scale(1.05); }

.ecsel-card__age, .ecsel-card__free {
  position: absolute; top: 12px; padding: 4px 10px;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 11px;
  border-radius: var(--ecl-radius-chip); text-transform: uppercase; letter-spacing: 0.05em;
  z-index: 2;
}
.ecsel-card__age  { left: 12px;  background: var(--ecl-white); color: var(--ecl-indigo); }
.ecsel-card__free { right: 12px; background: var(--ecl-green); color: var(--ecl-navy); }

.ecsel-card__lock {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.62); backdrop-filter: blur(2px);
  z-index: 1;
}

.ecsel-card__body { padding: 18px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.ecsel-card__title {
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 17px; line-height: 1.3;
  color: var(--ecl-indigo); margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ecsel-card__excerpt {
  font-family: 'Open Sans', sans-serif; font-size: 14px; line-height: 1.5;
  color: var(--ecl-gray-dark); margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ecsel-card__chips { display: flex; gap: 6px; flex-wrap: wrap; }
.ecsel-card__chips:empty { display: none; }
.ecsel-chip {
  padding: 3px 9px; border-radius: var(--ecl-radius-chip); font-size: 11px;
  font-family: 'Open Sans', sans-serif; font-weight: 600; white-space: nowrap;
}
.ecsel-chip--area { background: var(--ecl-blue-light); color: var(--ecl-indigo); }
.ecsel-chip--std  { background: var(--ecl-yellow-light); color: var(--ecl-yellow-dark); }
.ecsel-chip--more { background: #F0F1F5; color: var(--ecl-gray-dark); }

.ecsel-card--locked .ecsel-card__link { pointer-events: none; }
.ecsel-card__unlock {
  display: block; text-align: center;
  background: var(--ecl-navy); color: var(--ecl-white);
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 14px;
  padding: 13px; text-decoration: none; border-top: 1px solid rgba(0,0,0,0.08);
  letter-spacing: 0.005em;
  transition: background .15s ease;
}
.ecsel-card__unlock:hover { background: var(--ecl-indigo); }
.ecsel-card__unlock:focus-visible { outline: 3px solid var(--ecl-yellow); outline-offset: -3px; }

/* Skeleton */
.ecsel-card--skeleton .ecsel-card__img-skeleton {
  aspect-ratio: 16 / 10;
  background: linear-gradient(90deg, #F0F1F5, #E5E7EB, #F0F1F5);
  background-size: 200% 100%; animation: ecsel-pulse 1.4s ease-in-out infinite;
}
.ecsel-card--skeleton .ecsel-card__line-skeleton {
  height: 14px; margin: 14px 18px; border-radius: 6px;
  background: linear-gradient(90deg, #F0F1F5, #E5E7EB, #F0F1F5);
  background-size: 200% 100%; animation: ecsel-pulse 1.4s ease-in-out infinite;
}
.ecsel-card--skeleton .ecsel-card__line-skeleton--title { width: 70%; }
.ecsel-card--skeleton .ecsel-card__line-skeleton--body  { width: 90%; height: 10px; margin-top: 6px; margin-bottom: 18px; }
@keyframes ecsel-pulse { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

@media (prefers-reduced-motion: reduce) {
  .ecsel-card--skeleton .ecsel-card__img-skeleton,
  .ecsel-card--skeleton .ecsel-card__line-skeleton { animation: none; }
  .ecsel-card:hover { transform: none; }
  .ecsel-card:hover .ecsel-card__img { transform: none; }
}

/* Load more */
.ecsel-loadmore-wrap { display: flex; justify-content: center; padding: 32px 0 8px; }

/* Empty state */
.ecsel-empty {
  grid-column: 1 / -1;
  text-align: center; padding: 64px 24px; background: var(--ecl-white);
  border-radius: var(--ecl-radius-card); box-shadow: var(--ecl-elevation-1);
  border: 1px solid var(--ecl-line);
}
.ecsel-empty h3 {
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 22px;
  color: var(--ecl-indigo); margin: 16px 0 8px;
}
.ecsel-empty p { color: var(--ecl-gray-dark); margin: 0 0 20px; }
