@keyframes shimmer {
  0% {
    background-position: -468px 0;
  }
  100% {
    background-position: 468px 0;
  }
}
.notice.easyel-promo-notice {
  display: none;
}

/* ── Fullscreen mode (hides WP chrome on the starter templates screen) ── */
.easyel-starter-fullscreen {
  #adminmenuback,
  #adminmenumain,
  #adminmenuwrap,
  #wpadminbar,
  #wpfooter,
  #screen-meta,
  #screen-meta-links { display: none !important; }
  #wpcontent { margin-left: 0 !important; padding-left: 0 !important; }
  #wpbody { padding-top: 0 !important; }
  #wpbody-content { padding-bottom: 0 !important; }
  html, body { padding-top: 0 !important; margin-top: 0 !important; }
}
.easyel-starter-fullscreen #wpbody-content > .notice,
.easyel-starter-fullscreen #wpbody-content > .error,
.easyel-starter-fullscreen #wpbody-content > .updated,
.easyel-starter-fullscreen #wpbody-content > .update-nag { display: none !important; }

.wrap.easyel-starter-wrap {
  margin: 0;
  padding: 0;
  background: #f6f7fb;
  min-height: 100vh;

  > h1:first-child { display: none; }
  *, *::before, *::after { box-sizing: border-box; }
}

/* ── Sticky top bar ── */
.easyel-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 28px;
  background: #fff;
  border-bottom: 1px solid #e6e8ef;
  position: sticky;
  top: 0;
  z-index: 100;
  flex-wrap: wrap;
}
.easyel-topbar-left { display: flex; align-items: center; min-width: 0; }
.easyel-topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.easyel-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #1f2233;
  transition: opacity .15s ease;
}
.easyel-brand:hover { opacity: .85; color: #1f2233; }
.easyel-brand:focus { outline: none; }
.easyel-brand:focus-visible { outline: 2px solid #7455ff; outline-offset: 3px; border-radius: 10px; }
.easyel-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #eee9ff;
}
.easyel-brand-mark svg { width: 22px; height: 22px; }
.easyel-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.easyel-brand-text strong { font-size: 15px; font-weight: 700; letter-spacing: -.1px; }
.easyel-brand-text span { font-size: 12px; color: #6b7085; font-weight: 500; }

.easyel-exit-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid #e6e8ef;
  background: #f6f7fb;
  color: #6b7085;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .15s ease, color .15s ease, background .15s ease, transform .15s ease;
  white-space: nowrap;
}
.easyel-exit-btn:hover {
  border-color: #7455ff;
  color: #7455ff;
  background: #eee9ff;
  transform: translateX(-2px);
}
.easyel-exit-btn:focus { outline: none; color: #7455ff; }
.easyel-exit-btn:focus-visible { outline: 2px solid #7455ff; outline-offset: 2px; }
.easyel-exit-btn .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
  line-height: 1;
  transition: transform .15s ease;
}
.easyel-exit-btn:hover .dashicons { transform: translateX(-2px); }

/* ── Hero ── */
.easyel-hero {
  text-align: center;
  padding: 56px 24px 36px;
  background:
    radial-gradient(60% 70% at 50% 0%, rgba(116, 85, 255, .10) 0%, rgba(116, 85, 255, 0) 60%),
    linear-gradient(180deg, #fbfaff 0%, #f6f7fb 100%);
  border-bottom: 1px solid #e6e8ef;
  position: relative;
  overflow: hidden;
}
.easyel-hero-eyebrow {
  display: inline-block;
  padding: 5px 12px;
  background: #eee9ff;
  color: #5c3fe0;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 16px;
}
.easyel-hero-title {
  margin: 0 0 10px;
  font-size: 38px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.6px;
  color: #1f2233;
  background: linear-gradient(135deg, #1f2233 0%, #7455ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.easyel-hero-subtitle {
  margin: 0 auto 28px;
  max-width: 640px;
  font-size: 15px;
  line-height: 1.6;
  color: #6b7085;
  font-weight: 400;
}
.easyel-hero-search {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border: 1.5px solid #e6e8ef;
  border-radius: 14px;
  height: 58px;
  padding: 0 22px 0 56px;
  box-shadow:
    0 2px 6px rgba(16, 24, 40, .04),
    0 12px 28px rgba(116, 85, 255, .10);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.easyel-hero-search:hover {
  transform: translateY(-1px);
  box-shadow:
    0 4px 12px rgba(16, 24, 40, .06),
    0 18px 40px rgba(116, 85, 255, .14);
}
.easyel-hero-search:focus-within {
  border-color: #7455ff;
  box-shadow:
    0 0 0 4px rgba(116, 85, 255, .14),
    0 18px 40px rgba(116, 85, 255, .18);
}
.easyel-hero-search .dashicons {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #7455ff;
  font-size: 22px;
  width: 22px;
  height: 22px;
  pointer-events: none;
}
.easyel-hero-search input[type="search"] {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  height: 100%;
  font-size: 16px;
  font-weight: 500;
  color: #1f2233;
  letter-spacing: -.1px;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}
.easyel-hero-search input[type="search"]::placeholder {
  color: #98a2b3;
  font-weight: 400;
}

/* ── Main content padding (inside the fullscreen wrapper) ── */
.easyel-starter-wrap .easyel-grid-wrapper {
  padding: 32px 28px 48px;
  margin: 0;
}

/* Responsive topbar / hero */
@media (max-width: 900px) {
  .easyel-topbar { padding: 12px 18px; }
  .easyel-topbar-right { gap: 6px; }
  .easyel-hero { padding: 40px 18px 28px; }
  .easyel-hero-title { font-size: 30px; }
  .easyel-hero-subtitle { font-size: 14px; margin-bottom: 22px; }
  .easyel-hero-search { height: 52px; padding: 0 16px 0 48px; }
  .easyel-hero-search .dashicons { left: 16px; font-size: 20px; width: 20px; height: 20px; }
  .easyel-hero-search input[type="search"] { font-size: 15px; }
  .easyel-starter-wrap .easyel-grid-wrapper { padding: 20px 18px 32px; }
}
@media (max-width: 600px) {
  .easyel-exit-btn span:not(.dashicons) { display: none; }
  .easyel-exit-btn { padding: 0 10px; }
  .easyel-brand-text { display: none; }
  .easyel-hero-title { font-size: 26px; }
}

/* ── Mega-menu category bar ── */
$easyel-primary:        #7455ff;
$easyel-primary-dark:   #5c3fe0;
$easyel-primary-soft:   #eee9ff;
$easyel-text:           #1f2233;
$easyel-muted:          #6b7085;
$easyel-border:         #e6e8ef;
$easyel-bg:             #f6f7fb;
$easyel-danger:         #dc3545;
$easyel-shadow-lg:      0 18px 48px rgba(16, 24, 40, .14);

.easyel-mega {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid $easyel-border;
  border-radius: 12px;
  margin-bottom: 20px;
  position: relative;
}
.easyel-mega-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.easyel-mega-item {
  position: relative;
  margin: 0;
}
.easyel-mega-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  color: $easyel-text;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  line-height: 1.2;
  letter-spacing: .1px;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
  user-select: none;
  position: relative;
}
.easyel-mega-trigger:focus { outline: none; }
.easyel-mega-trigger:focus-visible {
  outline: 2px solid $easyel-primary;
  outline-offset: 2px;
}
.easyel-mega-item:hover > .easyel-mega-trigger,
.easyel-mega-item.is-open > .easyel-mega-trigger {
  background: $easyel-primary-soft;
  color: $easyel-primary;
}
.easyel-mega-arrow {
  width: 11px;
  height: 6px;
  display: block;
  color: currentColor;
  opacity: .75;
  transition: transform .2s ease, opacity .2s ease;
  flex-shrink: 0;
  transform-origin: 50% 50%;
  position: relative;
  top: 1px;
}
.easyel-mega-item:hover .easyel-mega-arrow,
.easyel-mega-item.is-open .easyel-mega-arrow {
  transform: rotate(180deg);
  opacity: 1;
}
.easyel-mega-trigger-active {
  display: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: $easyel-primary;
  margin-left: 2px;
}
.easyel-mega-item.has-selected .easyel-mega-trigger-active { display: inline-block; }
.easyel-mega-item.has-selected > .easyel-mega-trigger {
  color: $easyel-primary;
  background: $easyel-primary-soft;
}

/* Hover panel */
.easyel-mega-panel {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 10px;
  min-width: 360px;
  max-width: 560px;
  width: max-content;
  background: #fff;
  border: 1px solid $easyel-border;
  border-radius: 14px;
  box-shadow: $easyel-shadow-lg;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 95;
}
.easyel-mega-panel::before {
  content: "";
  position: absolute;
  top: -10px; left: 0; right: 0; height: 10px;
}
.easyel-mega-item.has-children:hover > .easyel-mega-panel,
.easyel-mega-item.is-open > .easyel-mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.easyel-mega-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 4px 12px;
  border-bottom: 1px solid $easyel-border;
  margin-bottom: 10px;
}
.easyel-mega-panel-title {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: $easyel-muted;
}
.easyel-mega-deselect-all {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin-top: 10px;
  padding: 20px 6px 2px;
  border: 0;
  border-top: 1px solid $easyel-border;
  border-radius: 0;
  background: transparent;
  font-size: 11.5px;
  font-weight: 700;
  color: $easyel-primary;
  text-transform: uppercase;
  letter-spacing: .6px;
  cursor: pointer;
  line-height: 1;
  text-align: left;
  transition: color .15s ease;
  font-family: inherit;
}
.easyel-mega-deselect-all:hover {
  color: $easyel-primary-dark;
  background: transparent;
}
.easyel-mega-deselect-all:focus { outline: none; }
.easyel-mega-deselect-all:focus-visible {
  outline: 2px solid $easyel-primary;
  outline-offset: 2px;
}
.easyel-mega-deselect-all[hidden] { display: none; }
.easyel-mega-children {
  list-style: none;
  margin: 0;
  padding: 2px;
  max-height: 420px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1px;
}
.easyel-mega-children .easyel-cat-name { font-size: 14px; }
.easyel-mega-children::-webkit-scrollbar { width: 8px; }
.easyel-mega-children::-webkit-scrollbar-thumb {
  background: $easyel-border;
  border-radius: 4px;
}

/* Clickable child row */
.easyel-mega-child {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 4px 6px;
  border-radius: 6px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 13.5px;
  line-height: 1.35;
  color: $easyel-text;
  text-align: left;
  transition: color .12s ease;
  user-select: none;
  font: inherit;
}
.easyel-mega-child:hover {
  background: transparent;
  color: $easyel-primary;
}
.easyel-mega-child:focus { outline: none; }
.easyel-mega-child:focus-visible {
  outline: 2px solid $easyel-primary;
  outline-offset: 2px;
}
.easyel-cat-item.is-active {
  background: transparent;
  color: $easyel-primary;
}
.easyel-cat-item.is-active:hover {
  background: transparent;
  color: $easyel-primary;
}
.easyel-mega-children li + li { margin-top: 0; }

/* CSS-only checkbox */
.easyel-cat-check {
  display: inline-block;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border: 1.5px solid rgba(32, 32, 32, .45);
  border-radius: 4px;
  background-color: #fff;
  background-image: url("data:image/svg+xml;charset=UTF-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 9' fill='white'><rect x='0' y='4.3' transform='matrix%28-0.707 -0.7072 0.7072 -0.707 0.5891 10.4702%29' width='4.3' height='1.6'/><rect x='2.2' y='2.9' transform='matrix%28-0.7071 0.7071 -0.7071 -0.7071 12.1877 2.9833%29' width='6.1' height='1.7'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0;
  box-shadow: 0 0 0.04em rgba(0, 0, 0, .08),
              0 0.06em 0.16em -0.03em rgba(0, 0, 0, .12) inset;
  transition: border-color .15s ease, background-color .15s ease, background-size .2s ease, box-shadow .15s ease;
  will-change: background-size, background-color, border-color;
}
.easyel-cat-check .dashicons { display: none; }
.easyel-mega-child:hover .easyel-cat-check { border-color: $easyel-primary; }
.easyel-cat-item.is-active .easyel-cat-check {
  background-color: $easyel-primary;
  border-color: $easyel-primary;
  background-size: 68%;
  box-shadow: none;
}
.easyel-cat-item.is-active:hover .easyel-cat-check { border-color: $easyel-primary; }
.easyel-mega-child .easyel-cat-name,
.easyel-mega-leaf .easyel-mega-trigger-label {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

/* Leaf chip (parent without children) */
.easyel-mega-leaf {
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
}
.easyel-mega-item.is-leaf > .easyel-mega-leaf.is-active {
  background: $easyel-primary;
  color: #fff;
  border-color: $easyel-primary;
}

/* Reset button (right side of bar) */
.easyel-mega-reset {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid $easyel-border;
  border-radius: 8px;
  padding: 8px 13px;
  font-size: 13px;
  font-weight: 600;
  color: $easyel-muted;
  cursor: pointer;
  transition: all .15s ease;
  flex-shrink: 0;
}
.easyel-mega-reset:hover {
  border-color: $easyel-danger;
  background: #fde2e4;
  color: $easyel-danger;
}
.easyel-mega-reset .dashicons {
  font-size: 13px; width: 13px; height: 13px; line-height: 1;
}
.easyel-mega-reset[hidden] { display: none; }
.easyel-mega-reset-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  border-radius: 10px;
  background: $easyel-danger;
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
}

/* Edge: when JS detects the panel would overflow the right edge, flip to right-align.
   Static :nth-last-child rules misfire on wrapped rows (the last DOM item can end
   up on the left of a new line and a forced right: 0 would push the panel off-screen). */
.easyel-mega-item.is-right-aligned .easyel-mega-panel {
  left: auto;
  right: 0;
}

@media (max-width: 900px) {
  .easyel-mega { flex-direction: column; align-items: stretch; }
  .easyel-mega-list { overflow-x: auto; flex-wrap: nowrap; }
  .easyel-mega-item { flex: 0 0 auto; }
  .easyel-mega-panel {
    left: 0;
    right: auto;
    min-width: 280px;
    max-width: 92vw;
    padding: 14px;
  }
  .easyel-mega-children {
    grid-template-columns: 1fr;
    max-height: 340px;
  }
}
.easyel-grid-wrapper .easyel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.easyel-grid-wrapper .easyel-grid.loading:after {
  content: "";
  display: block;
  grid-column: 1/-1;
  margin: 24px auto;
  width: 36px;
  height: 36px;
  border: 3px solid #e0dbff;
  border-top-color: #7455ff;
  border-radius: 50%;
  animation: easyel-rotate 0.75s linear infinite;
}
.easyel-grid-wrapper .easyel-item {
  border: 1px solid #eaeaea;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  opacity: 1;
  transform: scale(1);
  transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
  height: auto !important;
}
.easyel-grid-wrapper .easyel-item.hide {
  opacity: 0;
  transform: scale(0.85) translateY(15px);
  pointer-events: none;
}
.easyel-grid-wrapper .easyel-item .easyel-card {
  display: block;
  color: #222;
  text-decoration: none;
}
.easyel-grid-wrapper .easyel-item .easyel-card .easyel-thumb {
  position: relative;
    aspect-ratio: 5 / 5;
    overflow: hidden;
    background: var(--estar-bg);
}
.easyel-grid-wrapper .easyel-item .easyel-card .easyel-thumbnail {
  width: 100%;
  display: block;
  border-bottom: 1px solid #eee;
}
.easyel-grid-wrapper .easyel-item .easyel-card .easyel-overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease-in-out;
  background-color: rgba(0, 0, 0, 0.84);
  gap: 10px;
}
.easyel-grid-wrapper .easyel-item .easyel-card .easyel-overlay .easyel-preview-icon {
  width: 30px;
}
.easyel-grid-wrapper .easyel-item .easyel-card .easyel-action-btns a {
  text-decoration: none;
  cursor: pointer;
  background: #7455ff;
  border-color: #7455ff;
  color: #fff;
  padding: 6px 20px;
  border-radius: 4px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.easyel-grid-wrapper .easyel-item .easyel-card .easyel-action-btns a:hover {
  background: #e8f0ff;
  border-color: #e8f0ff;
  color: #7455ff;
}
.easyel-grid-wrapper .easyel-item .easyel-card .easyel-badge {
  position: absolute;
  top: -27px;
  right: -45px;
  background: green;
  color: #fff;
  padding: 35px 4px 10px 10px;
  rotate: 45deg;
  width: 100px;
  height: 58px;
  text-align: center;
  font-size: 14px;
  text-transform: uppercase;
}
.easyel-grid-wrapper .easyel-item .easyel-card .easyel-badge.easyel-badge-pro {
  background: #cd1278;
  color: #fff;
}
.easyel-grid-wrapper .easyel-item .easyel-card .easyel-meta {
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  background: #fff;
}
.easyel-grid-wrapper .easyel-item .easyel-card .easyel-title {
  font-size: 13px;
  font-weight: 600;
  color: #2c2c2c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
  transition: color 0.2s ease;
}
.easyel-grid-wrapper .easyel-item:hover .easyel-title {
  color: #7455ff;
}
.easyel-grid-wrapper .easyel-item .easyel-card .easyel-groups {
  font-size: 11px;
  color: #888;
  background: #f3f0ff;
  padding: 2px 8px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}
.easyel-grid-wrapper .easyel-item:hover {
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}
.easyel-grid-wrapper .easyel-item:hover .easyel-overlay {
  opacity: 1;
}
.easyel-grid-wrapper .easyel-item.easyel-preloader {
  background: #f8f8f8;
  animation: pulse 1.5s infinite;
  position: relative;
  transition: none !important;
}
.easyel-grid-wrapper .easyel-item.easyel-preloader .easyel-card {
  display: block;
}
.easyel-grid-wrapper .easyel-item.easyel-preloader .easyel-card .easyel-thumb {
  position: relative;
}
.easyel-grid-wrapper .easyel-item.easyel-preloader .easyel-card .easyel-thumb .easyel-thumb-skeleton {
  width: 100%;
  height: 120px;
  background: #e0e0e0;
  border-radius: 6px;
}
.easyel-grid-wrapper .easyel-item.easyel-preloader .easyel-card .easyel-thumb .easyel-badge-skeleton {
  display: inline-block;
  width: 40px;
  height: 20px;
  background: #ddd;
  border-radius: 12px;
  position: absolute;
  top: 8px;
  left: 8px;
}
.easyel-grid-wrapper .easyel-item.easyel-preloader .easyel-card .easyel-thumb .easyel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.easyel-grid-wrapper .easyel-item.easyel-preloader .easyel-card .easyel-thumb .easyel-overlay .easyel-preview-icon-skeleton {
  width: 24px;
  height: 24px;
  background: #ccc;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.easyel-grid-wrapper .easyel-item.easyel-preloader .easyel-card .easyel-meta {
  margin-top: 8px;
}
.easyel-grid-wrapper .easyel-item.easyel-preloader .easyel-card .easyel-meta .easyel-title-skeleton,
.easyel-grid-wrapper .easyel-item.easyel-preloader .easyel-card .easyel-meta .easyel-groups-skeleton {
  height: 16px;
  background: #ddd;
  margin: 8px 0;
  border-radius: 4px;
}
.easyel-grid-wrapper .easyel-item {
  /* Pulse animation */
}
@keyframes pulse {
  0% {
    background-color: #eee;
  }
  50% {
    background-color: #ddd;
  }
  100% {
    background-color: #eee;
  }
}
.easyel-grid-wrapper .easyel-load-target {
  height: 50px;
  display: block;
}
@media (max-width: 1200px) {
  .easyel-grid-wrapper .easyel-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .easyel-grid-wrapper .easyel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .easyel-grid-wrapper .easyel-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

.easyel-importer-step {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.easyel-importer-step.easyel-importer-modal-step-3 .easyel-importer-step-card {
  display: flex;
  flex-direction: column;
}

.easyel-importer-step-card {
  width: 100%;
  background: #fff;
  border-radius: 5px;
  padding: 40px 45px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  text-align: left;
}
.easyel-importer-step-card input {
  margin: 0;
}
.easyel-importer-step-card .easyel-importer-step-title {
  margin-top: 0px;
}

.easyel-importer-step-subtext {
  margin-bottom: 25px;
  color: #7d7d7d;
  font-size: 14px;
}

.easyel-importer-step-group-box {
  border: 1px solid #ebf0ff;
  padding: 20px;
  border-radius: 4px;
  margin-bottom: 20px;
  background: #f6f8fe;
}

.easyel-importer-required-plugins-list {
  max-height: 300px;
  overflow: auto;
}

.easyel-importer-step-group-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}
.easyel-importer-step-group-head h3 {
  margin: 0;
  font-size: 16px;
}
.easyel-importer-step-group-head span {
  font-size: 13px;
  color: #9d9d9d;
}

.easyel-importer-step-item-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.easyel-importer-step-item-list li {
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}
.easyel-importer-step-item-list li .easyel-importer-step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7455ff;
}
.easyel-importer-step-item-list li .easyel-importer-step-status {
  margin-left: auto;
  padding: 3px 8px;
  font-size: 12px;
  border-radius: 5px;
}
.easyel-importer-step-item-list li .easyel-importer-step-status.active {
  background: #d6f6dd;
  color: #1a9c3f;
}
.easyel-importer-step-item-list li .easyel-importer-step-status.inactive {
  background: #fde2e2;
  color: #c0392b;
}
.easyel-importer-step-item-list li .easyel-plugin-activate-btn,
.easyel-importer-step-item-list li .easyel-theme-activate-btn {
  margin-left: 8px;
  background: #7455ff;
  color: #fff;
  border: 1px solid #7455ff;
  padding: 3px 12px;
  font-size: 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.4;
}
.easyel-importer-step-item-list li .easyel-plugin-activate-btn:hover,
.easyel-importer-step-item-list li .easyel-theme-activate-btn:hover {
  background: transparent;
  color: #7455ff;
}
.easyel-importer-step-item-list li .easyel-plugin-activate-btn:disabled,
.easyel-importer-step-item-list li .easyel-plugin-activate-btn.is-loading,
.easyel-importer-step-item-list li .easyel-theme-activate-btn:disabled,
.easyel-importer-step-item-list li .easyel-theme-activate-btn.is-loading {
  opacity: 0.7;
  cursor: not-allowed;
  background: #7455ff;
  color: #fff;
}

.easyel-importer-step-checkbox-warning {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d16464;
  margin-bottom: 25px;
  font-size: 14px;
}

.easyel-importer-step-actions {
  display: flex;
  justify-content: space-between;
}

.easyel-importer-step-btn-primary {
  background: #7455ff;
  color: #fff;
  padding: 10px 22px;
  border-radius: 4px;
  border: 1px solid #7455ff;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
  text-decoration: none;
}
.easyel-importer-step-btn-primary:hover {
  background: transparent;
  border: 1px solid #7455ff;
  color: #7455ff;
}
.easyel-importer-step-btn-primary:disabled {
  background: #7455ff;
  color: #fff;
  opacity: 0.5;
}

.easyel-importer-step-btn-secondary {
  background: transparent;
  padding: 10px 22px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #7455ff;
  color: #7455ff;
  transition: all 0.25s ease;
  text-align: center;
  text-decoration: none;
}
.easyel-importer-step-btn-secondary:hover {
  background: #7455ff;
  border: 1px solid #7455ff;
  color: #fff;
}
.easyel-importer-step-btn-secondary:disabled {
  background: transparent;
  color: #fff;
  opacity: 0.5;
}

.easyel-importer-step-btn-text {
  background: none;
  border: none;
  margin-top: 15px;
  font-size: 14px;
  color: #666;
  cursor: pointer;
}

.easyel-importer-step-btn-big {
  width: 100%;
  padding: 13px 0;
  font-size: 16px;
}

.easyel-importer-success-img {
  width: 150px;
  margin: 25px 0;
}

.easyel-importer-step-progress-bar {
  width: 100%;
  height: 8px;
  background: #eee;
  border-radius: 50px;
  overflow: hidden;
}

.easyel-importer-step-progress-fill {
  height: 100%;
  background: #1a9c3f;
  transition: width 0.3s ease;
}

.easyel-importer-step-progress-text {
  margin-top: 12px;
  color: #1a9c3f;
  font-size: 14px;
}

#easyel-importer-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  z-index: 100000;
  display: none;
}

#easyel-importer-modal .easyel-importer-modal-body {
  display: block;
  margin: auto;
  width: 630px;
  z-index: 9999;
  position: relative;
  border-radius: 5px 5px 5px 5px;
}

#easyel-importer-modal .easyel-importer-modal-closer {
  position: absolute;
  right: -10px;
  top: -10px;
  height: 35px;
  width: 35px;
  border-radius: 50%;
  background: red;
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 2;
}

#easyel-importer-modal .easyel-importer-modal-overlay {
  position: fixed;
  z-index: 8888;
  width: 100%;
  height: 100%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.5882352941);
}

#easyel-importer-modal .easyel-importer-modal-content {
  border-radius: 5px 5px 5px 5px;
}

#easyel-importer-modal .easyel-importer-modal-content img {
  max-width: 100%;
}

/* SCSS (Sass) for the Preloader Skeleton with Animation */
#preloader-skeleton {
  width: 100%;
  max-width: 1200px;
  margin: 20px auto;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  opacity: 0.6;
}
#preloader-skeleton .skeleton-block, #preloader-skeleton .skeleton-layout-container .skeleton-main-content .skeleton-grid-row .skeleton-stack-right .small-right, #preloader-skeleton .skeleton-layout-container .skeleton-main-content .skeleton-grid-row .large-left, #preloader-skeleton .skeleton-layout-container .skeleton-main-content .large-top, #preloader-skeleton .skeleton-layout-container .skeleton-sidebar .skeleton-list-item, #preloader-skeleton .skeleton-header .skeleton-profile, #preloader-skeleton .skeleton-header .skeleton-logo {
  background-color: #e0e0e0;
  border-radius: 4px;
  background-image: linear-gradient(to right, #e0e0e0 0%, #ffffff 20%, #e0e0e0 40%);
  background-size: 468px 100%;
  background-repeat: no-repeat;
  animation: shimmer 1.5s infinite linear;
}
#preloader-skeleton .skeleton-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  padding: 0 20px;
  background-color: #f0f0f0;
  border-bottom: 1px solid #e0e0e0;
}
#preloader-skeleton .skeleton-header .skeleton-logo {
  width: 150px;
  height: 30px;
}
#preloader-skeleton .skeleton-header .skeleton-profile {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
#preloader-skeleton .skeleton-layout-container {
  display: flex;
}
#preloader-skeleton .skeleton-layout-container .skeleton-sidebar {
  width: 200px;
  padding: 15px 10px;
  background-color: #f0f0f0;
  border-right: 1px solid #e0e0e0;
}
#preloader-skeleton .skeleton-layout-container .skeleton-sidebar .skeleton-list-item {
  width: 100%;
  height: 25px;
  margin-bottom: 15px;
}
#preloader-skeleton .skeleton-layout-container .skeleton-sidebar .skeleton-list-item.medium {
  width: 70%;
}
#preloader-skeleton .skeleton-layout-container .skeleton-main-content {
  flex-grow: 1;
  padding: 20px;
}
#preloader-skeleton .skeleton-layout-container .skeleton-main-content .large-top {
  width: 100%;
  height: 100px;
  margin-bottom: 20px;
}
#preloader-skeleton .skeleton-layout-container .skeleton-main-content .skeleton-grid-row {
  display: flex;
  gap: 20px;
  height: 60px;
}
#preloader-skeleton .skeleton-layout-container .skeleton-main-content .skeleton-grid-row .large-left {
  flex-basis: 65%;
  height: 100%;
}
#preloader-skeleton .skeleton-layout-container .skeleton-main-content .skeleton-grid-row .skeleton-stack-right {
  flex-basis: 35%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}
#preloader-skeleton .skeleton-layout-container .skeleton-main-content .skeleton-grid-row .skeleton-stack-right .small-right {
  flex-grow: 1;
  height: 50%;
}

.easyel-grid-wrapper .easyel-item .easyel-card .easyel-action-btns a.easyel-invalid-license {
  background: #dc3545;
  border-color: #dc3545;
  color: #fff;
  opacity: 0.7;
}

.easyel-card .easyel-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  min-height: 100%;
  display: block;
  transform: translateY(0);
  transition: transform 5s cubic-bezier(.22, .8, .36, 1);
  will-change: transform;
}

/* ── Preview button as <button> – same style as existing <a> ── */
.easyel-grid-wrapper .easyel-item .easyel-card .easyel-action-btns button.easyel-preview-btn {
  text-decoration: none;
  cursor: pointer;
  background: #7455ff;
  border: 1px solid #7455ff;
  color: #fff;
  padding: 6px 20px;
  border-radius: 4px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 13px;
}
.easyel-grid-wrapper .easyel-item .easyel-card .easyel-action-btns button.easyel-preview-btn:hover {
  background: #e8f0ff;
  border-color: #e8f0ff;
  color: #7455ff;
}

/* ── Icon buttons (heart & sync) ── */
.easyel-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  background: #f6f7fb;
  border: 1px solid #e6e8ef;
  border-radius: 8px;
  cursor: pointer;
  color: #6b7085;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
  flex-shrink: 0;
}
.easyel-icon-btn .dashicons {
  font-size: 18px;
  width: 18px;
  height: 18px;
  transition: color .15s ease;
}
.easyel-icon-btn:hover {
  border-color: #7455ff;
  color: #7455ff;
  background: #eee9ff;
}
.easyel-icon-btn:focus { outline: none; }
.easyel-icon-btn:focus-visible { outline: 2px solid #7455ff; outline-offset: 2px; }
#easyel-favorites-toggle.active {
  border-color: #e74c3c;
  background: #fff1f1;
  color: #e74c3c;
}
#easyel-favorites-toggle.active .dashicons { color: #e74c3c; }
#easyel-sync-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}
#easyel-sync-btn .dashicons.easyel-spin,
.easyel-icon-btn .dashicons.easyel-spin { animation: easyel-rotate .9s linear infinite; }

/* ── All / Free / Pro select ── */
.easyel-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.easyel-select-wrap select {
  height: 38px;
  padding: 0 34px 0 14px;
  background: #f6f7fb;
  border: 1px solid #e6e8ef;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #1f2233;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
  min-width: 120px;
}
.easyel-select-wrap select:hover { background: #eee9ff; border-color: #7455ff; color: #7455ff; }
.easyel-select-wrap select:focus {
  border-color: #7455ff;
  box-shadow: 0 0 0 3px rgba(116, 85, 255, .14);
}
.easyel-select-wrap .dashicons {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  width: 16px;
  height: 16px;
  color: #6b7085;
  pointer-events: none;
}

/* spin animation */
@keyframes easyel-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.easyel-spin {
  animation: easyel-rotate 0.8s linear infinite;
  display: inline-block;
}

/* ── Favourite heart button on card ── */
.easyel-fav-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.04);
}
.easyel-fav-btn .dashicons {
  font-size: 18px;
  width: 18px;
  height: 18px;
  color: #7455ff;
  transition: all 0.2s ease;
}
.easyel-fav-btn:hover {
  background: #fff;
  transform: scale(1.12);
  box-shadow: 0 4px 14px rgba(116, 85, 255, 0.32), 0 0 0 1px rgba(116, 85, 255, 0.12);
}
.easyel-fav-btn:hover .dashicons {
  color: #5d40e0;
  transform: scale(1.1);
}
.easyel-fav-btn.active {
  background: linear-gradient(135deg, #8b6dff 0%, #5d40e0 100%);
  box-shadow: 0 4px 14px rgba(116, 85, 255, 0.45), 0 0 0 1px rgba(116, 85, 255, 0.2);
}
.easyel-fav-btn.active .dashicons {
  color: #fff;
}
.easyel-fav-btn.active:hover {
  background: linear-gradient(135deg, #8b6dff 0%, #5d40e0 100%);
  transform: scale(1.12);
}
.easyel-fav-btn.active:hover .dashicons {
  color: #fff;
}

/* ── Preview iframe modal ── */
#easyel-preview-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999999;
  display: none;
  flex-direction: column;
  background: #f0f2f5;
}
.easyel-preview-modal-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 20px;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
  height: 58px;
}
.easyel-preview-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 6px 14px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #444;
  transition: all 0.2s;
  white-space: nowrap;
}
.easyel-preview-back-btn:hover {
  border-color: #7455ff;
  color: #7455ff;
}
.easyel-preview-template-title {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  flex: 1;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.easyel-preview-device-controls {
  display: flex;
  gap: 2px;
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  padding: 3px;
  background: #f7f7f7;
}
.easyel-device-btn {
  background: none;
  border: none;
  border-radius: 4px;
  padding: 5px 11px;
  cursor: pointer;
  color: #888;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.easyel-device-btn .dashicons {
  font-size: 17px;
  width: 17px;
  height: 17px;
}
.easyel-device-btn:hover {
  color: #7455ff;
}
.easyel-device-btn.active {
  background: #7455ff;
  color: #fff;
}
.easyel-preview-import-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #7455ff;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 8px 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s;
  white-space: nowrap;
}
.easyel-preview-import-cta:hover {
  background: #5d40e0;
  color: #fff;
}
.easyel-preview-modal-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 20px;
}
.easyel-preview-iframe-container {
  position: relative;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.14);
  border-radius: 6px;
  overflow: hidden;
  transition: width 0.3s ease;
  height: 100%;
  width: 100%;
}
.easyel-preview-iframe-container[data-device="desktop"] {
  width: 100%;
}
.easyel-preview-iframe-container[data-device="tablet"] {
  width: 768px;
  max-width: 100%;
}
.easyel-preview-iframe-container[data-device="mobile"] {
  width: 390px;
  max-width: 100%;
}
#easyel-preview-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.easyel-preview-loader {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #555;
  font-size: 14px;
  font-weight: 500;
}
.easyel-preview-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e0dbff;
  border-top-color: #7455ff;
  border-radius: 50%;
  animation: easyel-rotate 0.75s linear infinite;
}

/* ── Pro Lock Modal ── */
#easyel-pro-lock-modal {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: none;
  align-items: center;
  justify-content: center;
}
#easyel-pro-lock-modal .easyel-pro-lock-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}
#easyel-pro-lock-modal .easyel-pro-lock-body {
  position: relative;
  width: 92%;
  max-width: 520px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  padding: 40px 36px 36px;
  z-index: 1;
}
#easyel-pro-lock-modal .easyel-pro-lock-closer {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  color: #888;
  cursor: pointer;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
#easyel-pro-lock-modal .easyel-pro-lock-closer:hover {
  background: #f1f1f1;
  color: #333;
}
#easyel-pro-lock-modal .easyel-pro-lock-closer .dashicons {
  font-size: 18px;
  width: 18px;
  height: 18px;
}
#easyel-pro-lock-modal .easyel-pro-lock-content {
  text-align: center;
}
#easyel-pro-lock-modal .easyel-pro-lock-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  width: 38px;
  height: 38px;
  color: #cd1278;
  margin-bottom: 14px;
}
#easyel-pro-lock-modal .easyel-pro-lock-title {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 700;
  color: #1f1f1f;
  line-height: 1.3;
}
#easyel-pro-lock-modal .easyel-pro-lock-text {
  margin: 0 auto 24px;
  max-width: 380px;
  color: #777;
  font-size: 14px;
  line-height: 1.6;
}
#easyel-pro-lock-modal .easyel-pro-lock-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #cd1278;
  color: #fff;
  text-decoration: none;
  padding: 11px 28px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(205, 18, 120, 0.3);
}
#easyel-pro-lock-modal .easyel-pro-lock-cta:hover {
  background: #b00f68;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(205, 18, 120, 0.4);
}
#easyel-pro-lock-modal .easyel-pro-lock-cta .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
}