/**
 * Expert Flagship 1.0 — Design System
 * Modern, professional marketplace. Mobile-first. Minimal & fast.
 */

:root {
  --ef-navy: #0b1120;
  --ef-navy-2: #151f36;
  --ef-accent: #6366f1;
  --ef-accent-2: #8b5cf6;
  --ef-gold: #f59e0b;
  --ef-text: #1e293b;
  --ef-muted: #64748b;
  --ef-line: #e2e8f0;
  --ef-bg: #ffffff;
  --ef-bg-soft: #f8fafc;
  --ef-radius: 0.875rem;
  --ef-radius-lg: 1.25rem;
  --ef-shadow: 0 2px 16px rgba(11, 17, 32, 0.06);
  --ef-shadow-lg: 0 8px 40px rgba(11, 17, 32, 0.12);
  --ef-font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ef-font);
  color: var(--ef-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--ef-accent); }

/* Layout */
.ef-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.ef-content { padding: 3rem 0; }
.ef-main { min-height: 60vh; }

/* Typography */
h1, h2, h3, h4 { font-family: var(--ef-font); line-height: 1.2; letter-spacing: -0.025em; font-weight: 800; }
body, button, input, select, textarea { font-family: var(--ef-font); }
.ef-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ef-accent);
  margin-bottom: 0.75rem;
}
.ef-prose { max-width: 720px; }
.ef-prose p { margin-bottom: 1.25rem; }

/* Header */
.ef-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ef-line);
}
.ef-header__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 72px;
}
.ef-logo__text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ef-navy);
  letter-spacing: -0.02em;
}
.ef-nav ul {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ef-nav a {
  color: var(--ef-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}
.ef-nav a:hover { color: var(--ef-accent); }
.ef-header__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.ef-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.ef-mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ef-navy);
  border-radius: 2px;
}

/* Buttons */
.ef-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--ef-radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.ef-btn--primary {
  background: linear-gradient(135deg, var(--ef-accent), var(--ef-accent-2));
  color: #fff;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}
.ef-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45); }
.ef-btn--outline {
  background: transparent;
  color: var(--ef-navy);
  border: 1.5px solid var(--ef-line);
}
.ef-btn--outline:hover { border-color: var(--ef-navy); }
.ef-btn--sm { padding: 0.55rem 1.25rem; font-size: 0.875rem; }
.ef-btn-group { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* Hero */
.ef-hero {
  background: linear-gradient(135deg, var(--ef-navy) 0%, var(--ef-navy-2) 100%);
  color: #fff;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.ef-hero::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25), transparent 70%);
  pointer-events: none;
}
.ef-hero h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); color: #fff; margin: 0 0 1rem; }
.ef-hero p { font-size: 1.2rem; color: #cbd5e1; max-width: 600px; }

/* Product cards */
.ef-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.ef-card {
  background: #fff;
  border: 1px solid var(--ef-line);
  border-radius: var(--ef-radius-lg);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.ef-card:hover { transform: translateY(-4px); box-shadow: var(--ef-shadow-lg); }
.ef-card__img { aspect-ratio: 16/10; overflow: hidden; background: var(--ef-bg-soft); }
.ef-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.ef-card:hover .ef-card__img img { transform: scale(1.04); }
.ef-card__body { padding: 1.25rem; }
.ef-card__cat {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ef-accent);
}
.ef-card__title { font-size: 1.05rem; margin: 0.5rem 0; }
.ef-card__title a { color: var(--ef-navy); text-decoration: none; }
.ef-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--ef-line);
}
.ef-price { font-weight: 800; font-size: 1.15rem; color: var(--ef-navy); }
.ef-price--old { text-decoration: line-through; color: var(--ef-muted); font-weight: 400; font-size: 0.9rem; }

/* Footer */
.ef-footer {
  background: var(--ef-navy);
  color: #94a3b8;
  padding: 3.5rem 0 1.5rem;
  margin-top: 4rem;
}
.ef-footer__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.ef-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  font-size: 0.875rem;
}
.ef-footer a { color: #cbd5e1; text-decoration: none; }
.ef-footer a:hover { color: #fff; }

/* 404 */
.ef-404__inner { text-align: center; max-width: 560px; margin: 0 auto; padding: 2rem 0; }
.ef-404__inner h1 { font-size: clamp(2rem, 5vw, 3rem); }

/* Article */
.ef-article { max-width: 780px; }
.ef-article__header { margin-bottom: 2rem; }
.ef-article__meta { color: var(--ef-muted); font-size: 0.9rem; }
.ef-article__image { margin: 2rem 0; border-radius: var(--ef-radius-lg); overflow: hidden; }

/* Search */
.ef-search { display: flex; gap: 0.5rem; max-width: 480px; margin: 1.5rem auto 0; }
.ef-search input {
  flex: 1;
  padding: 0.8rem 1.2rem;
  border: 1.5px solid var(--ef-line);
  border-radius: var(--ef-radius);
  font-size: 1rem;
}
.ef-search button {
  padding: 0.8rem 1.75rem;
  background: var(--ef-navy);
  color: #fff;
  border: none;
  border-radius: var(--ef-radius);
  cursor: pointer;
  font-weight: 600;
}

/* Accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ef-navy);
  color: #fff;
  padding: 0.75rem 1.5rem;
  z-index: 999;
}
.skip-link:focus { left: 0; }

/* Responsive */
@media (max-width: 900px) {
  .ef-nav { display: none; }
  .ef-mobile-toggle { display: flex; }
  .ef-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  .ef-hero { padding: 3rem 0; }
  .ef-content { padding: 2rem 0; }
  .ef-grid { grid-template-columns: 1fr; }
}

/* Page headers */
.ef-page-head { margin-bottom: 2.5rem; }
.ef-page-head h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 0.75rem; }
.ef-page-head p { color: var(--ef-muted); font-size: 1.1rem; max-width: 640px; }

/* Blog cards */
.ef-card__excerpt { color: var(--ef-muted); font-size: 0.95rem; margin: 0.75rem 0; }
.ef-link { color: var(--ef-accent); font-weight: 600; text-decoration: none; font-size: 0.95rem; }
.ef-link:hover { text-decoration: underline; }

/* Pagination */
.ef-pagination { margin-top: 3rem; text-align: center; }
.ef-pagination .page-numbers {
  display: inline-block; padding: 0.6rem 1.1rem; margin: 0 0.25rem;
  border: 1px solid var(--ef-line); border-radius: 0.5rem;
  text-decoration: none; color: var(--ef-text); font-weight: 500;
}
.ef-pagination .current { background: var(--ef-navy); color: #fff; border-color: var(--ef-navy); }

/* Search */
.ef-search-results { display: flex; flex-direction: column; gap: 1.5rem; }
.ef-search-item { padding: 1.5rem; border: 1px solid var(--ef-line); border-radius: var(--ef-radius); }
.ef-search-item h3 { margin: 0 0 0.5rem; }
.ef-search-item h3 a { color: var(--ef-navy); text-decoration: none; }
.ef-search-item p { color: var(--ef-muted); margin: 0 0 0.75rem; }

/* Testimonials */
.ef-testimonials {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; padding: 2rem 0;
}
.ef-testimonial {
  background: #fff; border: 1px solid var(--ef-line);
  border-radius: var(--ef-radius-lg); padding: 1.75rem;
  box-shadow: var(--ef-shadow);
}
.ef-testimonial__stars { color: var(--ef-gold); font-size: 1.1rem; margin-bottom: 0.75rem; }
.ef-testimonial blockquote { margin: 0 0 1.25rem; font-style: italic; color: var(--ef-text); }
.ef-testimonial__author strong { display: block; color: var(--ef-navy); }
.ef-testimonial__author span { font-size: 0.875rem; color: var(--ef-muted); }

/* Category showcase */
.ef-cats { padding: 2rem 0; }
.ef-cats__title { text-align: center; margin-bottom: 2rem; font-size: 1.75rem; }
.ef-cats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; }
.ef-cat-card {
  display: flex; flex-direction: column; gap: 0.25rem;
  padding: 1.75rem 1.5rem; text-align: center;
  background: var(--ef-bg-soft); border: 1px solid var(--ef-line);
  border-radius: var(--ef-radius-lg); text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.ef-cat-card:hover { transform: translateY(-3px); box-shadow: var(--ef-shadow-lg); }
.ef-cat-card__name { font-weight: 700; color: var(--ef-navy); font-size: 1.05rem; }
.ef-cat-card__count { font-size: 0.875rem; color: var(--ef-muted); }

/* CTA */
.ef-cta {
  background: linear-gradient(135deg, var(--ef-accent), var(--ef-accent-2));
  color: #fff; text-align: center;
  padding: 4rem 2rem; border-radius: var(--ef-radius-lg); margin: 2rem 0;
}
.ef-cta h2 { color: #fff; font-size: clamp(1.75rem, 4vw, 2.5rem); margin: 0 0 1rem; }
.ef-cta p { color: rgba(255,255,255,0.9); font-size: 1.1rem; margin: 0 0 2rem; }
.ef-cta .ef-btn--primary { background: #fff; color: var(--ef-accent); box-shadow: none; }

/* Stats */
.ef-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem; padding: 2.5rem 0; text-align: center;
}
.ef-stat__number {
  display: block; font-size: 2.5rem; font-weight: 800;
  color: var(--ef-navy); letter-spacing: -0.02em;
}
.ef-stat__label { color: var(--ef-muted); font-size: 0.95rem; }

/* Product single */
.ef-product { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.ef-product__gallery img { border-radius: var(--ef-radius-lg); width: 100%; }
.ef-product__info h1 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin: 0.5rem 0 1rem; }
.ef-product__price { font-size: 1.75rem; font-weight: 800; margin-bottom: 1.5rem; }
.ef-product__buy { margin-bottom: 2rem; }
@media (max-width: 900px) { .ef-product { grid-template-columns: 1fr; } }

/* Comments */
.ef-comments { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--ef-line); }
.ef-comments__title { font-size: 1.375rem; margin-bottom: 1.75rem; }
.ef-comment-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.ef-comment { margin-bottom: 1.5rem; }
.ef-comment__inner { display: flex; gap: 1rem; }
.ef-comment__avatar img { border-radius: 50%; }
.ef-comment__body { flex: 1; }
.ef-comment__meta { margin-bottom: 0.5rem; font-size: 0.9rem; }
.ef-comment__author { font-weight: 700; color: var(--ef-navy); }
.ef-comment__meta time { color: var(--ef-muted); margin-left: 0.75rem; }
.ef-comment__text { margin-bottom: 0.5rem; }
.ef-comment__reply a { font-size: 0.875rem; color: var(--ef-accent); font-weight: 600; text-decoration: none; }
.ef-comment .children { list-style: none; margin: 1.25rem 0 0 3rem; padding: 0; }
/* Comment form */
.comment-respond { margin-top: 2rem; }
.comment-respond h3 { font-size: 1.25rem; margin-bottom: 1.25rem; }
.comment-form p { margin-bottom: 1rem; }
.comment-form label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%; padding: 0.75rem 1rem;
  border: 1.5px solid var(--ef-line); border-radius: var(--ef-radius);
  font-family: inherit; font-size: 1rem;
}
.comment-form input:focus, .comment-form textarea:focus {
  outline: none; border-color: var(--ef-accent);
}
.comment-form-cookies-consent { display: flex; gap: 0.5rem; align-items: center; font-size: 0.9rem; }
.comment-form-cookies-consent input { width: auto; }

/* Breadcrumbs */
.ef-breadcrumbs { font-size: 0.875rem; color: var(--ef-muted); margin-bottom: 1.5rem; }
.ef-breadcrumbs a { color: var(--ef-accent); text-decoration: none; }
.ef-breadcrumbs .sep { margin: 0 0.5rem; }

/* Related products */
.ef-related { margin-top: 4rem; }
.ef-related h2 { font-size: 1.5rem; margin-bottom: 1.5rem; }

/* EDD checkout & cart */
#edd_checkout_form_wrap input[type="text"],
#edd_checkout_form_wrap input[type="email"],
#edd_checkout_form_wrap select,
#edd_checkout_form_wrap textarea {
  width: 100%; padding: 0.75rem 1rem;
  border: 1.5px solid var(--ef-line); border-radius: var(--ef-radius);
  font-size: 1rem; margin-bottom: 0.25rem;
}
#edd_checkout_form_wrap fieldset { border: 1px solid var(--ef-line); border-radius: var(--ef-radius); padding: 1.5rem; margin-bottom: 1.5rem; }
#edd_checkout_form_wrap legend { font-weight: 700; padding: 0 0.5rem; }
.edd-submit, #edd-purchase-button {
  background: linear-gradient(135deg, var(--ef-accent), var(--ef-accent-2));
  color: #fff; border: none; padding: 0.9rem 2.5rem;
  border-radius: var(--ef-radius); font-weight: 700; font-size: 1.05rem; cursor: pointer;
}
#edd_checkout_cart td, #edd_checkout_cart th { padding: 0.75rem; border-bottom: 1px solid var(--ef-line); }

/* ===== Flagship Hero v2 ===== */
.ef-hero2 {
  position: relative;
  background: #0b1120;
  color: #fff;
  overflow: hidden;
  padding: 5rem 0 4.5rem;
}
.ef-hero2__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 15% 20%, rgba(99,102,241,.35), transparent 60%),
    radial-gradient(500px 400px at 85% 80%, rgba(139,92,246,.25), transparent 60%),
    radial-gradient(400px 300px at 60% 10%, rgba(245,158,11,.12), transparent 60%);
  pointer-events: none;
}
.ef-hero2__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 4rem;
  align-items: center;
}
.ef-hero2__badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  padding: .45rem 1rem; border-radius: 999px;
  font-size: .8rem; font-weight: 600; color: #e0e7ff;
  margin-bottom: 1.5rem;
}
.ef-hero2 h1 {
  font-size: clamp(2.4rem, 5vw, 3.9rem);
  line-height: 1.08; letter-spacing: -.03em;
  color: #fff; margin: 0 0 1.25rem;
  font-weight: 800;
}
.ef-hero2__hl {
  background: linear-gradient(135deg, #a5b4fc, #c4b5fd);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ef-hero2__sub { font-size: 1.15rem; color: #94a3b8; max-width: 520px; margin: 0 0 2rem; }
.ef-hero2__search {
  display: flex; align-items: center; gap: .6rem;
  background: #fff; border-radius: 1rem;
  padding: .5rem .5rem .5rem 1.25rem;
  max-width: 560px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.ef-hero2__search svg { color: #64748b; flex-shrink: 0; }
.ef-hero2__search input[type="search"] {
  flex: 1; border: none; outline: none;
  font-size: 1rem; color: #0f172a; background: transparent;
}
.ef-hero2__search button {
  background: linear-gradient(135deg, var(--ef-accent), var(--ef-accent-2));
  color: #fff; border: none; border-radius: .7rem;
  padding: .85rem 1.75rem; font-weight: 700; cursor: pointer;
  font-size: .95rem;
}
.ef-hero2__popular { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; align-items: center; font-size: .875rem; color: #64748b; }
.ef-hero2__popular a {
  color: #cbd5e1; text-decoration: none;
  border: 1px solid rgba(255,255,255,.2);
  padding: .35rem .9rem; border-radius: 999px; font-size: .82rem;
  transition: all .2s;
}
.ef-hero2__popular a:hover { background: rgba(255,255,255,.12); color: #fff; }
/* Hero visual */
.ef-hero2__visual { position: relative; height: 380px; }
.ef-hero2__card {
  position: absolute; border-radius: 1.25rem;
  padding: 1.75rem; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end;
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
  min-width: 190px; min-height: 150px;
}
.ef-hero2__card span { font-size: .78rem; opacity: .85; text-transform: uppercase; letter-spacing: .08em; }
.ef-hero2__card strong { font-size: 1.35rem; }
.ef-hero2__card--1 { background: linear-gradient(135deg,#6366f1,#8b5cf6); top: 0; left: 10%; transform: rotate(-4deg); }
.ef-hero2__card--2 { background: linear-gradient(135deg,#f59e0b,#ef4444); top: 32%; right: 5%; transform: rotate(3deg); }
.ef-hero2__card--3 { background: linear-gradient(135deg,#10b981,#06b6d4); bottom: 0; left: 22%; transform: rotate(-2deg); }
.ef-hero2__float-badge {
  position: absolute; top: 8%; right: 18%;
  background: #fff; color: #0f172a;
  padding: .7rem 1.2rem; border-radius: 999px;
  font-weight: 700; font-size: .85rem;
  box-shadow: 0 12px 32px rgba(0,0,0,.3);
  animation: ef-float 3s ease-in-out infinite;
}
@keyframes ef-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ===== Section headings ===== */
.ef-sec-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.ef-sec-head h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin: 0 0 .75rem; letter-spacing: -.02em; }
.ef-sec-head p { color: var(--ef-muted); font-size: 1.05rem; margin: 0; }
.ef-blog-teaser .ef-sec-head { display: flex; justify-content: space-between; align-items: center; text-align: left; max-width: none; }

/* ===== Visual category cards v2 ===== */
.ef-cats2 { padding: 4rem 0 1rem; }
.ef-cats2__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.ef-cat2-card {
  position: relative; overflow: hidden;
  background: var(--cat-grad);
  border-radius: var(--ef-radius-lg);
  padding: 2.25rem 1.75rem;
  text-decoration: none; color: #fff;
  display: flex; flex-direction: column; gap: .4rem;
  min-height: 200px; justify-content: flex-end;
  transition: transform .25s, box-shadow .25s;
}
.ef-cat2-card:hover { transform: translateY(-6px) scale(1.01); box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.ef-cat2-card__icon {
  position: absolute; top: 1.25rem; right: 1.25rem;
  width: 52px; height: 52px; border-radius: 1rem;
  background: rgba(255,255,255,.22);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 800;
  backdrop-filter: blur(4px);
}
.ef-cat2-card__name { font-size: 1.35rem; font-weight: 800; letter-spacing: -.01em; }
.ef-cat2-card__count { font-size: .9rem; opacity: .9; }

/* ===== Value props ===== */
.ef-props { padding: 4rem 0 1rem; }
.ef-props__title { text-align: center; font-size: clamp(1.6rem, 3vw, 2.25rem); margin-bottom: 2.5rem; }
.ef-props__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.ef-prop {
  text-align: center; padding: 2rem 1.5rem;
  background: var(--ef-bg-soft); border-radius: var(--ef-radius-lg);
  border: 1px solid var(--ef-line);
}
.ef-prop__icon { font-size: 2.5rem; display: block; margin-bottom: 1rem; }
.ef-prop h3 { font-size: 1.1rem; margin: 0 0 .5rem; }
.ef-prop p { color: var(--ef-muted); font-size: .95rem; margin: 0; }

/* ===== Blog teaser ===== */
.ef-blog-teaser { padding: 4rem 0 1rem; }

/* Responsive */
@media (max-width: 900px) {
  .ef-hero2__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .ef-hero2__visual { display: none; }
  .ef-hero2 { padding: 3.5rem 0 3rem; }
}

/* ===== 1290px Grid System =====
   Boxed sections: 1290px centered. Full-width sections: true edge-to-edge,
   zero padding on desktop. Gutters only below 1330px viewport. */
.ef-container { max-width: 1290px; }
.ef-cats2,
.ef-props,
.ef-blog-teaser,
.ef-testimonials,
.ef-stats,
.ef-products-wrap,
.ef-cattabs,
.ef-cta {
  width: 100%;
  max-width: 1290px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
@media (max-width: 1330px) {
  .ef-cats2,
  .ef-props,
  .ef-blog-teaser,
  .ef-testimonials,
  .ef-stats,
  .ef-products-wrap,
  .ef-cattabs,
  .ef-cta {
    padding-left: 20px;
    padding-right: 20px;
  }
}
/* CTA keeps its banner look inside the grid */
.ef-cta { margin-top: 3rem; margin-bottom: 3rem; }
/* Elementor parent containers: let widgets control width */
.e-con.e-parent > .elementor-widget { width: 100%; }

/* ===== Topbar ===== */
.ef-topbar { background: var(--ef-navy); color: #94a3b8; font-size: .82rem; }
.ef-topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.ef-topbar__links { display: flex; gap: 1.25rem; }
.ef-topbar__links a { color: #cbd5e1; text-decoration: none; }
.ef-topbar__links a:hover { color: #fff; }

/* ===== Header v2 ===== */
.ef-header__inner { height: 76px; }
.ef-logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.ef-logo__mark {
  width: 38px; height: 38px; border-radius: .7rem;
  background: linear-gradient(135deg, var(--ef-accent), var(--ef-accent-2));
  color: #fff; font-weight: 800; font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center;
}
.ef-logo__text { font-size: 1.2rem; font-weight: 800; color: var(--ef-navy); letter-spacing: -.02em; }
.ef-logo__text--light { color: #fff; }
.ef-icon-btn {
  position: relative; background: none; border: none; cursor: pointer;
  color: var(--ef-navy); padding: .5rem; border-radius: .6rem;
  display: flex; align-items: center; justify-content: center;
}
.ef-icon-btn:hover { background: var(--ef-bg-soft); }
.ef-cart-count {
  position: absolute; top: -2px; right: -2px;
  background: var(--ef-accent); color: #fff;
  font-size: .68rem; font-weight: 700;
  min-width: 19px; height: 19px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 5px;
}
.ef-header__cta { margin-left: .25rem; }
.ef-searchbar { border-top: 1px solid var(--ef-line); padding: 1rem 0; background: #fff; }
.ef-searchbar form { display: flex; gap: .75rem; }
.ef-searchbar input[type="search"] {
  flex: 1; padding: .8rem 1.2rem; border: 1.5px solid var(--ef-line);
  border-radius: var(--ef-radius); font-size: 1rem;
}

/* ===== Footer v2 ===== */
.ef-footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem; margin-bottom: 2.5rem;
}
.ef-footer__brand p { font-size: .92rem; margin: 1rem 0; max-width: 280px; }
.ef-footer__payments { display: flex; gap: .5rem; flex-wrap: wrap; }
.ef-pay {
  border: 1px solid rgba(255,255,255,.2); border-radius: .4rem;
  padding: .3rem .6rem; font-size: .7rem; font-weight: 700; color: #cbd5e1;
}
.ef-footer__col h4 { color: #fff; font-size: .95rem; margin: 0 0 1rem; }
.ef-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.ef-footer__col p { font-size: .9rem; }
.ef-newsletter { display: flex; margin-top: 1rem; }
.ef-newsletter input {
  flex: 1; padding: .7rem 1rem; border: 1px solid rgba(255,255,255,.2);
  border-radius: .6rem 0 0 .6rem; background: rgba(255,255,255,.06);
  color: #fff; font-size: .9rem; min-width: 0;
}
.ef-newsletter input::placeholder { color: #64748b; }
.ef-newsletter button {
  background: var(--ef-accent); color: #fff; border: none;
  border-radius: 0 .6rem .6rem 0; padding: 0 1.25rem;
  font-size: 1.2rem; cursor: pointer;
}
.ef-footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.ef-footer__legal { display: flex; gap: 1.25rem; }

/* ===== Cart drawer ===== */
.ef-cart-drawer { position: fixed; inset: 0; z-index: 9999; visibility: hidden; }
.ef-cart-drawer.is-open { visibility: visible; }
.ef-cart-drawer__overlay {
  position: absolute; inset: 0; background: rgba(11,17,32,.55);
  opacity: 0; transition: opacity .3s;
}
.ef-cart-drawer.is-open .ef-cart-drawer__overlay { opacity: 1; }
.ef-cart-drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 92vw);
  background: #fff; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.32,.72,.35,1);
  box-shadow: -20px 0 60px rgba(0,0,0,.2);
}
.ef-cart-drawer.is-open .ef-cart-drawer__panel { transform: translateX(0); }
.ef-cart-drawer__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--ef-line);
}
.ef-cart-drawer__head h3 { margin: 0; font-size: 1.15rem; }
.ef-cart-drawer__close { background: none; border: none; font-size: 1.75rem; cursor: pointer; color: var(--ef-muted); line-height: 1; }
.ef-cart-drawer__body { flex: 1; overflow-y: auto; padding: 1.25rem 1.5rem; }
.ef-cart-item { display: flex; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--ef-line); }
.ef-cart-item__img { width: 64px; height: 64px; border-radius: .6rem; overflow: hidden; flex-shrink: 0; background: var(--ef-bg-soft); }
.ef-cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.ef-cart-item__info { flex: 1; min-width: 0; }
.ef-cart-item__info strong { display: block; font-size: .92rem; margin-bottom: .25rem; }
.ef-cart-item__price { color: var(--ef-accent); font-weight: 700; font-size: .9rem; }
.ef-cart-item__remove { background: none; border: none; font-size: 1.4rem; color: var(--ef-muted); cursor: pointer; }
.ef-cart-item__remove:hover { color: #ef4444; }
.ef-cart-empty { text-align: center; color: var(--ef-muted); padding: 3rem 0; }
.ef-cart-drawer__foot { padding: 1.25rem 1.5rem; border-top: 1px solid var(--ef-line); }
.ef-cart-drawer__total { display: flex; justify-content: space-between; margin-bottom: 1rem; font-size: 1.05rem; }
.ef-btn--block { width: 100%; }
.ef-cart-drawer__viewcart { display: block; text-align: center; margin-top: .75rem; }

/* ===== Category tabs ===== */
.ef-cattabs { padding-top: 4rem; padding-bottom: 1rem; }
.ef-cattabs__tabs { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.ef-cattabs__tab {
  background: #fff; border: 1.5px solid var(--ef-line); border-radius: 999px;
  padding: .7rem 1.5rem; font-weight: 600; font-size: .95rem; cursor: pointer;
  color: var(--ef-text); transition: all .2s;
}
.ef-cattabs__tab span { color: var(--ef-muted); font-weight: 400; font-size: .85rem; }
.ef-cattabs__tab:hover { border-color: var(--ef-accent); }
.ef-cattabs__tab.is-active { background: var(--ef-navy); border-color: var(--ef-navy); color: #fff; }
.ef-cattabs__tab.is-active span { color: #94a3b8; }
.ef-cattabs__panel { display: none; }
.ef-cattabs__panel.is-active { display: block; animation: ef-fade .3s; }
@keyframes ef-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ef-cattabs__more { text-align: center; margin-top: 2rem; }

/* Product card actions */
.ef-card__actions { display: flex; gap: .5rem; }

/* Mobile nav */
@media (max-width: 900px) {
  .ef-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--ef-line);
    padding: 1rem 1.5rem; box-shadow: 0 20px 40px rgba(0,0,0,.1);
  }
  .ef-nav.ef-nav--open { display: block; }
  .ef-nav ul { flex-direction: column; gap: 0; }
  .ef-nav li { border-bottom: 1px solid var(--ef-line); }
  .ef-nav a { display: block; padding: .9rem 0; }
  .ef-header { position: sticky; }
  .ef-header__inner { position: relative; }
  .ef-header__cta { display: none; }
  .ef-topbar__inner span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ef-topbar__links { display: none; }
  .ef-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .ef-footer__grid { grid-template-columns: 1fr; }
  .ef-cattabs__tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: .5rem; }
}

/* ===== Sticky header ===== */
.ef-header { transition: box-shadow .25s; }
.ef-header.is-scrolled { box-shadow: 0 4px 24px rgba(11,17,32,.1); }
.ef-header.is-scrolled .ef-topbar { display: none; }

/* ===== Mega menu ===== */
.ef-nav .ef-has-mega { position: relative; }
.ef-caret { font-size: .7em; }
.ef-mega {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(12px);
  background: #fff; border: 1px solid var(--ef-line); border-radius: 1.1rem;
  box-shadow: 0 24px 70px rgba(11,17,32,.18); padding: 1.25rem;
  display: grid; grid-template-columns: 1fr 220px; gap: 1rem;
  width: 560px; opacity: 0; visibility: hidden; transition: all .22s ease; z-index: 200;
}
.ef-has-mega:hover .ef-mega, .ef-has-mega:focus-within .ef-mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.ef-mega__cats { display: flex; flex-direction: column; gap: .25rem; }
.ef-mega__cat {
  display: flex; align-items: center; gap: 1rem;
  padding: .85rem .9rem; border-radius: .8rem; text-decoration: none;
  transition: background .15s;
}
.ef-mega__cat:hover { background: var(--ef-bg-soft); }
.ef-mega__icon {
  width: 46px; height: 46px; border-radius: .8rem; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 1.15rem;
}
.ef-mega__text { display: flex; flex-direction: column; gap: .1rem; flex: 1; }
.ef-mega__text strong { color: var(--ef-navy); font-size: .95rem; }
.ef-mega__text span { color: var(--ef-muted); font-size: .8rem; }
.ef-mega__arrow { color: var(--ef-muted); transition: transform .15s; }
.ef-mega__cat:hover .ef-mega__arrow { transform: translateX(4px); color: var(--ef-accent); }
.ef-mega__promo {
  background: linear-gradient(135deg, #0b1120, #1e1b4b);
  border-radius: .9rem; padding: 1.5rem 1.25rem; text-decoration: none; color: #fff;
  display: flex; flex-direction: column; gap: .5rem; justify-content: center;
}
.ef-mega__promo-badge {
  align-self: flex-start; background: var(--ef-gold); color: #0b1120;
  font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: .3rem .7rem; border-radius: 999px;
}
.ef-mega__promo strong { font-size: 1.05rem; }
.ef-mega__promo span:last-child { color: #94a3b8; font-size: .85rem; }
.ef-mega__promo:hover span:last-child { color: #fff; }

/* ===== Live search ===== */
.ef-live-search { position: relative; display: flex; align-items: center; }
.ef-live-search > svg { position: absolute; left: .9rem; color: var(--ef-muted); pointer-events: none; }
.ef-live-search input {
  width: 260px; padding: .65rem 1rem .65rem 2.75rem;
  border: 1.5px solid var(--ef-line); border-radius: 999px;
  font-size: .92rem; outline: none; transition: all .2s;
}
.ef-live-search input:focus { border-color: var(--ef-accent); width: 320px; }
.ef-live-dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; right: 0; min-width: 340px;
  background: #fff; border: 1px solid var(--ef-line); border-radius: var(--ef-radius-lg);
  box-shadow: var(--ef-shadow-lg); z-index: 300; overflow: hidden;
}
.ef-live-results { max-height: 380px; overflow-y: auto; }
.ef-live-item { display: flex; gap: .9rem; align-items: center; padding: .8rem 1rem; text-decoration: none; border-bottom: 1px solid var(--ef-line); }
.ef-live-item:hover { background: var(--ef-bg-soft); }
.ef-live-item__img { width: 52px; height: 52px; border-radius: .5rem; overflow: hidden; flex-shrink: 0; background: var(--ef-bg-soft); }
.ef-live-item__img img { width: 100%; height: 100%; object-fit: cover; }
.ef-live-item__info { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.ef-live-item__info strong { color: var(--ef-navy); font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ef-live-item__info span { color: var(--ef-accent); font-weight: 700; font-size: .85rem; }
.ef-live-all { display: block; text-align: center; padding: .9rem; font-weight: 600; color: var(--ef-accent); text-decoration: none; font-size: .9rem; }
.ef-live-none { padding: 1.5rem; text-align: center; color: var(--ef-muted); margin: 0; }

/* ===== Product card v2 ===== */
.ef-card__media { position: relative; }
.ef-card__img { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--ef-bg-soft); }
.ef-card__badge {
  position: absolute; top: .9rem; left: .9rem; z-index: 2;
  font-size: .7rem; font-weight: 800; letter-spacing: .06em;
  padding: .35rem .7rem; border-radius: 999px; color: #fff;
}
.ef-card__badge--sale { background: #ef4444; }
.ef-card__badge--new { background: var(--ef-accent); }
.ef-card__hover {
  position: absolute; top: .9rem; right: .9rem; z-index: 2;
  display: flex; flex-direction: column; gap: .5rem;
  opacity: 0; transform: translateX(8px); transition: all .25s;
}
.ef-card:hover .ef-card__hover { opacity: 1; transform: none; }
.ef-card__action {
  width: 38px; height: 38px; border-radius: 50%;
  background: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--ef-navy); box-shadow: 0 4px 14px rgba(0,0,0,.15);
  transition: all .2s;
}
.ef-card__action:hover { background: var(--ef-navy); color: #fff; }
.ef-card__action.is-active { background: #ef4444; color: #fff; }
.ef-card__rating { display: flex; align-items: center; gap: .4rem; margin: .4rem 0; }
.ef-stars { color: var(--ef-gold); font-size: .85rem; letter-spacing: 2px; }
.ef-card__sales { font-size: .8rem; color: var(--ef-muted); }

/* ===== Quick view ===== */
.ef-qv-wrap {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(11,17,32,.6); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 1.5rem;
  opacity: 0; transition: opacity .3s;
}
.ef-qv-wrap.is-open { opacity: 1; }
.ef-qv {
  background: #fff; border-radius: var(--ef-radius-lg);
  max-width: 880px; width: 100%; max-height: 90vh; overflow-y: auto;
  position: relative; transform: translateY(16px); transition: transform .3s;
}
.ef-qv-wrap.is-open .ef-qv { transform: none; }
.ef-qv__close {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; border: none;
  background: var(--ef-bg-soft); font-size: 1.4rem; cursor: pointer; color: var(--ef-navy);
}
.ef-qv__grid { display: grid; grid-template-columns: 1fr 1fr; }
.ef-qv__img { background: var(--ef-bg-soft); min-height: 320px; }
.ef-qv__img img { width: 100%; height: 100%; object-fit: cover; }
.ef-qv__info { padding: 2.5rem; }
.ef-qv__info h2 { margin: .5rem 0 1rem; font-size: 1.6rem; }
.ef-qv__price { font-size: 1.5rem; font-weight: 800; color: var(--ef-navy); margin-bottom: 1rem; }
.ef-qv__info p { color: var(--ef-muted); margin-bottom: 1.75rem; }
.ef-qv__actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* ===== Wishlist ===== */
.ef-wishlist-count {
  position: absolute; top: -2px; right: -2px;
  background: #ef4444; color: #fff; font-size: .68rem; font-weight: 700;
  min-width: 19px; height: 19px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; padding: 0 5px;
}

@media (max-width: 900px) {
  .ef-live-search input { width: 170px; }
  .ef-live-search input:focus { width: 200px; }
  .ef-qv__grid { grid-template-columns: 1fr; }
  .ef-mega { display: none; }
}

/* ===== Two-column layout with sidebar ===== */
.ef-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; align-items: start; }
.ef-layout__main { min-width: 0; }
.ef-layout__side { position: sticky; top: 100px; }

/* ===== Blog list rows ===== */
.ef-bloglist { display: flex; flex-direction: column; gap: 2rem; }
.ef-postrow {
  display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 1.75rem;
  background: #fff; border: 1px solid var(--ef-line); border-radius: var(--ef-radius-lg);
  overflow: hidden; transition: box-shadow .25s;
}
.ef-postrow:hover { box-shadow: var(--ef-shadow-lg); }
.ef-postrow__img { display: block; min-height: 190px; background: var(--ef-bg-soft); }
.ef-postrow__img img { width: 100%; height: 100%; object-fit: cover; }
.ef-postrow__body { padding: 1.5rem 1.5rem 1.5rem 0; }
.ef-postrow__meta { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--ef-muted); margin-bottom: .6rem; }
.ef-postrow__meta a { color: var(--ef-accent); text-decoration: none; }
.ef-postrow__dot { color: var(--ef-line); }
.ef-postrow__title { font-size: 1.35rem; margin: 0 0 .75rem; }
.ef-postrow__title a { color: var(--ef-navy); text-decoration: none; }
.ef-postrow__title a:hover { color: var(--ef-accent); }
.ef-postrow__body p { color: var(--ef-muted); margin: 0 0 1rem; }

/* ===== Sidebar widgets ===== */
.ef-widget { background: #fff; border: 1px solid var(--ef-line); border-radius: var(--ef-radius-lg); padding: 1.5rem; margin-bottom: 1.5rem; }
.ef-widget__title { font-size: 1rem; margin: 0 0 1rem; padding-bottom: .75rem; border-bottom: 2px solid var(--ef-accent); display: inline-block; }
.ef-widget-search { display: flex; }
.ef-widget-search input { flex: 1; min-width: 0; padding: .7rem 1rem; border: 1.5px solid var(--ef-line); border-radius: .6rem 0 0 .6rem; font-size: .92rem; }
.ef-widget-search button { background: var(--ef-navy); color: #fff; border: none; border-radius: 0 .6rem .6rem 0; padding: 0 1.1rem; cursor: pointer; font-size: 1.1rem; }
.ef-widget-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ef-widget-list li { border-bottom: 1px solid var(--ef-line); }
.ef-widget-list li:last-child { border: none; }
.ef-widget-list a { display: flex; justify-content: space-between; padding: .65rem 0; color: var(--ef-text); text-decoration: none; font-size: .93rem; }
.ef-widget-list a:hover { color: var(--ef-accent); }
.ef-widget-list span { color: var(--ef-muted); font-size: .85rem; }
.ef-tagcloud { display: flex; flex-wrap: wrap; gap: .5rem; }
.ef-tagcloud a { background: var(--ef-bg-soft); border: 1px solid var(--ef-line); border-radius: 999px; padding: .35rem .9rem; font-size: .82rem; color: var(--ef-text); text-decoration: none; }
.ef-tagcloud a:hover { background: var(--ef-navy); color: #fff; border-color: var(--ef-navy); }

/* ===== Article wide ===== */
.ef-article--wide { max-width: none; }
.ef-article--wide .ef-prose { max-width: none; font-size: 1.06rem; }
.ef-article--wide .ef-article__image img { width: 100%; border-radius: var(--ef-radius-lg); }
.ef-article__tags { margin-top: 2rem; font-size: .9rem; color: var(--ef-muted); }
.ef-tag-label { font-weight: 700; margin-right: .5rem; }

/* ===== Refined logo ===== */
.ef-logo__text { font-size: 1.05rem; font-weight: 800; letter-spacing: -.02em; }
.ef-logo__mark { width: 34px; height: 34px; font-size: 1.1rem; }

/* ===== Go to top ===== */
.ef-gotop {
  position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 900;
  width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--ef-navy); color: #fff; font-size: 1.3rem;
  box-shadow: 0 8px 24px rgba(11,17,32,.3);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s;
}
.ef-gotop.is-visible { opacity: 1; visibility: visible; transform: none; }
.ef-gotop:hover { background: var(--ef-accent); }

@media (max-width: 900px) {
  .ef-layout { grid-template-columns: 1fr; }
  .ef-layout__side { position: static; }
  .ef-postrow { grid-template-columns: 1fr; }
  .ef-postrow__body { padding: 0 1.5rem 1.5rem; }
  .ef-postrow__img { min-height: 200px; }
}

/* ===== Modern breadcrumbs ===== */
.ef-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; list-style: none; margin: 0 0 1.25rem; padding: 0; font-size: .85rem; }
.ef-crumb { display: inline-flex; align-items: center; gap: .35rem; }
.ef-crumb svg { opacity: .7; }
.ef-crumb a { text-decoration: none; font-weight: 600; }
.ef-crumb__sep { opacity: .45; margin: 0 .15rem; }
.ef-crumbs--light .ef-crumb a { color: var(--ef-accent); }
.ef-crumbs--light .ef-crumb.is-current span { color: var(--ef-muted); }
.ef-crumbs--dark .ef-crumb a { color: #c4b5fd; }
.ef-crumbs--dark .ef-crumb { color: #94a3b8; }
.ef-crumbs--dark .ef-crumb.is-current span { color: #e2e8f0; font-weight: 600; }
.ef-crumbs--dark .ef-crumb svg { color: #94a3b8; }

/* ===== Page hero banner ===== */
.ef-pagehero { position: relative; background: #0b1120; color: #fff; overflow: hidden; padding: 3.5rem 0 3rem; margin-bottom: 3rem; }
.ef-pagehero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(500px 300px at 20% 0%, rgba(99,102,241,.3), transparent 60%),
    radial-gradient(400px 300px at 90% 100%, rgba(139,92,246,.2), transparent 60%);
  pointer-events: none;
}
.ef-pagehero__inner { position: relative; }
.ef-pagehero__eyebrow { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #a5b4fc; margin-bottom: .75rem; }
.ef-pagehero h1 { font-size: clamp(2rem, 4vw, 3rem); color: #fff; margin: 0 0 .75rem; letter-spacing: -.025em; }
.ef-pagehero p { color: #94a3b8; font-size: 1.1rem; max-width: 640px; margin: 0; }

/* ===== Contact form ===== */
.emc-form-wrap { max-width: 720px; }
.emc-form-notice { padding: 1.1rem 1.4rem; border-radius: var(--ef-radius); margin-bottom: 1.5rem; }
.emc-form-notice--success { background: #ecfdf5; border: 1px solid #6ee7b7; color: #065f46; }
.emc-form-notice--error { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }
.emc-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.emc-form p { margin-bottom: 1.25rem; }
.emc-form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .45rem; color: var(--ef-navy); }
.emc-form input[type="text"], .emc-form input[type="email"], .emc-form textarea {
  width: 100%; padding: .85rem 1.1rem; border: 1.5px solid var(--ef-line);
  border-radius: var(--ef-radius); font-size: 1rem; font-family: inherit;
  transition: border-color .2s, box-shadow .2s; background: #fff;
}
.emc-form input:focus, .emc-form textarea:focus { outline: none; border-color: var(--ef-accent); box-shadow: 0 0 0 3px rgba(99,102,241,.12); }
@media (max-width: 600px) { .emc-form__row { grid-template-columns: 1fr; } }

/* ===== Contact info cards ===== */
.ef-contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
.ef-contact-cards { display: flex; flex-direction: column; gap: 1.25rem; }
.ef-contact-card {
  display: flex; gap: 1.25rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--ef-line); border-radius: var(--ef-radius-lg);
  padding: 1.5rem; transition: box-shadow .25s, transform .25s;
}
.ef-contact-card:hover { box-shadow: var(--ef-shadow-lg); transform: translateY(-2px); }
.ef-contact-card__icon {
  width: 52px; height: 52px; border-radius: 1rem; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
  background: linear-gradient(135deg, var(--ef-accent), var(--ef-accent-2)); color: #fff;
}
.ef-contact-card strong { display: block; font-size: 1.02rem; margin-bottom: .25rem; color: var(--ef-navy); }
.ef-contact-card p { margin: 0; color: var(--ef-muted); font-size: .95rem; }
.ef-contact-card a { color: var(--ef-accent); text-decoration: none; font-weight: 600; }
@media (max-width: 900px) { .ef-contact-grid { grid-template-columns: 1fr; } }

/* ===== Colourful sale pricing ===== */
.ef-pricewrap { display: inline-flex; align-items: baseline; gap: .5rem; }
.ef-pricewrap .edd_price, .ef-pricewrap .price { font-weight: 800; font-size: 1.2rem; color: var(--ef-navy); }
.ef-pricewrap.is-sale .edd_price, .ef-pricewrap.is-sale .price { color: #e11d48; }
.ef-pricewrap del, .ef-pricewrap .edd_price del { color: var(--ef-muted); font-weight: 400; font-size: .92rem; }
.ef-price { font-weight: 800; font-size: 1.2rem; color: var(--ef-navy); }
.ef-price--sale { color: #e11d48; }

/* ===== Product card social proof ===== */
.ef-card__social { display: flex; align-items: center; gap: .5rem; margin: .35rem 0 .15rem; }
.ef-card__sales { font-size: .8rem; color: var(--ef-muted); font-weight: 600; }
.ef-card__sales--new { color: var(--ef-accent); }

/* ===== Trust bar ===== */
.ef-trustbar { background: #fff; border-bottom: 1px solid var(--ef-line); }
.ef-trustbar__inner {
  max-width: 1290px; margin: 0 auto; padding: .9rem 20px;
  display: flex; justify-content: center; gap: 2.5rem; flex-wrap: wrap;
}
.ef-trustbar__item { display: flex; align-items: center; gap: .65rem; font-size: .9rem; font-weight: 600; color: var(--ef-navy); }
.ef-trustbar__icon {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}

/* ===== Steps ===== */
.ef-steps { max-width: 1290px; margin: 0 auto; padding: 4.5rem 20px 1rem; }
.ef-steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; position: relative; }
.ef-step { text-align: center; position: relative; padding: 0 1rem; }
.ef-step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 1.25rem; color: #fff;
  font-size: 1.4rem; font-weight: 800; margin-bottom: 1.25rem;
  box-shadow: 0 12px 28px rgba(0,0,0,.16);
}
.ef-step h3 { font-size: 1.15rem; margin: 0 0 .6rem; }
.ef-step p { color: var(--ef-muted); font-size: .95rem; margin: 0; max-width: 300px; margin-inline: auto; }
.ef-step__line {
  position: absolute; top: 32px; right: -1rem; width: 2rem; height: 2px;
  background: repeating-linear-gradient(90deg, var(--ef-line) 0 6px, transparent 6px 12px);
}

/* ===== FAQ ===== */
.ef-faq { max-width: 800px; margin: 0 auto; padding: 4.5rem 20px 1rem; }
.ef-faq__list { display: flex; flex-direction: column; gap: .85rem; }
.ef-faq__item { border: 1.5px solid var(--ef-line); border-radius: var(--ef-radius); overflow: hidden; transition: border-color .2s; background: #fff; }
.ef-faq__item.is-open { border-color: var(--ef-accent); }
.ef-faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  background: none; border: none; cursor: pointer; text-align: left;
  padding: 1.15rem 1.4rem; font-size: 1rem; font-weight: 700; color: var(--ef-navy); font-family: inherit;
}
.ef-faq__icon {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: var(--ef-bg-soft); display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--ef-accent); transition: transform .25s;
}
.ef-faq__item.is-open .ef-faq__icon { transform: rotate(45deg); background: var(--ef-accent); color: #fff; }
.ef-faq__a p { margin: 0; padding: 0 1.4rem 1.3rem; color: var(--ef-muted); }

/* ===== Testimonials v2 (avatars) ===== */
.ef-testimonial { position: relative; }
.ef-testimonial__quote {
  position: absolute; top: .5rem; right: 1.25rem;
  font-size: 4rem; line-height: 1; color: var(--ef-accent); opacity: .18; font-family: Georgia, serif;
}
.ef-testimonial__author { display: flex; align-items: center; gap: .9rem; }
.ef-testimonial__author img {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--ef-line);
}
.ef-testimonial__avatar-fallback {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--ef-accent), var(--ef-accent-2));
  color: #fff; font-weight: 800; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
}
.ef-testimonial__author > span:last-child { display: flex; flex-direction: column; }

@media (max-width: 900px) {
  .ef-steps__grid { grid-template-columns: 1fr; }
  .ef-step__line { display: none; }
  .ef-trustbar__inner { gap: 1.25rem; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
  .ef-trustbar__item { white-space: nowrap; }
}

/* ===== v2.1 fixes ===== */

/* Sticky header: clear the WP admin bar when logged in */
body.admin-bar .ef-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .ef-header { top: 46px; } }

/* Topbar: pure white text for visibility */
.ef-topbar { color: #fff; }
.ef-topbar__inner span { color: #fff; }
.ef-topbar__links a { color: #fff; opacity: .85; }
.ef-topbar__links a:hover { opacity: 1; }

/* Header: nav centered, everything vertically centered */
.ef-nav { flex: 1; display: flex; justify-content: center; }
.ef-nav ul { align-items: center; }
.ef-header__inner { align-items: center; }
.ef-searchbar .ef-container { display: flex; justify-content: center; }
.ef-searchbar form { width: 100%; max-width: 640px; }

/* FAQ icon: perfectly centered CSS plus -> cross */
.ef-faq__icon { position: relative; font-size: 0; }
.ef-faq__icon::before, .ef-faq__icon::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  background: currentColor; border-radius: 2px; transform: translate(-50%, -50%);
}
.ef-faq__icon::before { width: 12px; height: 2px; }
.ef-faq__icon::after { width: 2px; height: 12px; }
.ef-faq__item.is-open .ef-faq__icon::before { transform: translate(-50%, -50%) rotate(45deg); }
.ef-faq__item.is-open .ef-faq__icon::after { transform: translate(-50%, -50%) rotate(45deg); }

/* Custom logo images */
.custom-logo, .ef-logo__img { max-height: 44px; width: auto; }
.ef-footer__brand .custom-logo, .ef-footer__brand .ef-logo__img { max-height: 40px; }

/* ===== Modern breadcrumb banner ===== */
.ef-crumbbar {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, #0b1120 0%, #1e1b4b 60%, #312e81 100%);
  margin-bottom: 2.5rem;
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899) 1;
}
.ef-crumbbar::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 22px 22px;
}
.ef-crumbbar__bg { position: absolute; inset: 0; pointer-events: none; }
.ef-crumbbar__orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .35; }
.ef-crumbbar__orb--1 { width: 280px; height: 280px; background: #6366f1; top: -140px; right: 10%; }
.ef-crumbbar__orb--2 { width: 200px; height: 200px; background: #ec4899; bottom: -120px; left: 5%; opacity: .22; }
.ef-crumbbar .ef-container { position: relative; }
.ef-crumbbar .ef-crumbs { padding: 1rem 0; }
.ef-crumbbar .ef-crumbs ol { margin: 0; }
.ef-crumbbar .ef-crumbs--light .ef-crumb a { color: #c4b5fd; }
.ef-crumbbar .ef-crumbs--light .ef-crumb.is-current span { color: #fff; font-weight: 600; }
.ef-crumbbar .ef-crumbs--light .ef-crumb { color: #94a3b8; }
.ef-crumbbar .ef-crumbs--light .ef-crumb svg { color: #94a3b8; }

/* ===== Blog premium polish ===== */
.ef-page-head { margin-bottom: 2.5rem; }
.ef-page-head h1 { font-size: clamp(2rem, 4vw, 2.75rem); letter-spacing: -.025em; margin: .5rem 0 .5rem; }
.ef-page-head .ef-eyebrow { color: var(--ef-accent); }
.ef-postrow { position: relative; }
.ef-postrow::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--ef-accent), var(--ef-accent-2));
  opacity: 0; transition: opacity .25s; border-radius: 4px 0 0 4px;
}
.ef-postrow:hover::before { opacity: 1; }
.ef-postrow__img { overflow: hidden; }
.ef-postrow__img img { transition: transform .4s ease; }
.ef-postrow:hover .ef-postrow__img img { transform: scale(1.05); }
.ef-postrow__meta .ef-card__cat {
  background: linear-gradient(135deg, var(--ef-accent), var(--ef-accent-2));
  color: #fff; padding: .25rem .8rem; border-radius: 999px; font-size: .72rem; font-weight: 700;
}
.ef-link { color: var(--ef-accent); font-weight: 700; text-decoration: none; font-size: .95rem; }
.ef-link:hover { text-decoration: underline; }
.ef-widget { box-shadow: 0 2px 12px rgba(11,17,32,.04); }
.ef-widget__title { color: var(--ef-navy); }
.ef-pagination { margin-top: 2.5rem; display: flex; gap: .5rem; justify-content: center; }
.ef-pagination .page-numbers {
  min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--ef-line); border-radius: .7rem; text-decoration: none;
  color: var(--ef-navy); font-weight: 600; padding: 0 .8rem;
}
.ef-pagination .page-numbers.current, .ef-pagination .page-numbers:hover {
  background: var(--ef-navy); color: #fff; border-color: var(--ef-navy);
}

/* ===== Cart drawer v2 — premium ===== */
.ef-cart-drawer__panel { width: min(420px, 92vw); }
.ef-cart-drawer__head {
  background: linear-gradient(120deg, #0b1120, #1e1b4b);
  color: #fff; padding: 1.25rem 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
}
.ef-cart-drawer__head h3 { color: #fff; display: flex; align-items: center; gap: .6rem; }
.ef-cart-drawer__icon { font-size: 1.2rem; }
.ef-cart-drawer__count {
  background: var(--ef-accent); color: #fff; font-size: .75rem; font-weight: 800;
  min-width: 24px; height: 24px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; padding: 0 6px;
}
.ef-cart-drawer__close {
  width: 34px; height: 34px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.12); position: relative; transition: background .2s;
}
.ef-cart-drawer__close:hover { background: rgba(255,255,255,.25); }
.ef-cart-drawer__close span, .ef-cart-drawer__close span::after {
  position: absolute; top: 50%; left: 50%; width: 14px; height: 2px;
  background: #fff; border-radius: 2px;
}
.ef-cart-drawer__close span { transform: translate(-50%,-50%) rotate(45deg); }
.ef-cart-drawer__close span::after { content: ""; transform: translate(-50%,-50%) rotate(90deg); }
.ef-cart-item {
  background: #fff; border: 1px solid var(--ef-line); border-radius: var(--ef-radius);
  padding: .9rem; margin-bottom: .85rem; box-shadow: 0 2px 8px rgba(11,17,32,.04);
}
.ef-cart-item__img { width: 72px; height: 72px; border-radius: .7rem; }
.ef-cart-item__license {
  display: inline-block; font-size: .72rem; font-weight: 700; color: var(--ef-accent);
  background: rgba(99,102,241,.1); padding: .15rem .6rem; border-radius: 999px; margin-bottom: .3rem;
}
.ef-cart-item__remove {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--ef-line);
  background: #fff; cursor: pointer; position: relative; flex-shrink: 0; transition: all .2s;
}
.ef-cart-item__remove:hover { background: #fef2f2; border-color: #fca5a5; }
.ef-cart-item__remove span, .ef-cart-item__remove span::after {
  position: absolute; top: 50%; left: 50%; width: 12px; height: 2px;
  background: var(--ef-muted); border-radius: 2px;
}
.ef-cart-item__remove span { transform: translate(-50%,-50%) rotate(45deg); }
.ef-cart-item__remove span::after { content: ""; transform: translate(-50%,-50%) rotate(90deg); }
.ef-cart-item__remove:hover span, .ef-cart-item__remove:hover span::after { background: #ef4444; }
.ef-cart-drawer__trust {
  display: flex; gap: 1rem; justify-content: center;
  padding: 1rem; font-size: .82rem; color: var(--ef-muted); font-weight: 600;
}
.ef-cart-empty { text-align: center; padding: 3rem 1.5rem; }
.ef-cart-empty__icon { font-size: 3.5rem; display: block; margin-bottom: 1rem; opacity: .5; }
.ef-cart-empty strong { display: block; font-size: 1.15rem; margin-bottom: .5rem; color: var(--ef-navy); }
.ef-cart-empty p { color: var(--ef-muted); margin-bottom: 1.5rem; }
.ef-cart-drawer__foot { background: var(--ef-bg-soft); }
.ef-cart-drawer__total strong { font-size: 1.35rem; color: var(--ef-navy); }

/* ===== Testimonial slider ===== */
.ef-tsection { max-width: 1290px; margin: 0 auto; padding: 4.5rem 20px 1rem; }
.ef-tslider { position: relative; overflow: hidden; }
.ef-tslider__track { display: flex; transition: transform .5s ease; }
.ef-tslider__slide { flex: 0 0 100%; padding: 0 .5rem; }
.ef-tslider__slide .ef-testimonial { max-width: 720px; margin: 0 auto; text-align: center; }
.ef-tslider__slide .ef-testimonial__author { justify-content: center; }
.ef-tslider__slide blockquote { font-size: 1.25rem; line-height: 1.6; }
.ef-tslider__nav { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: 2rem; }
.ef-tslider__arrow {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--ef-line);
  background: #fff; cursor: pointer; font-size: 1.5rem; color: var(--ef-navy);
  display: flex; align-items: center; justify-content: center; transition: all .2s;
}
.ef-tslider__arrow:hover { background: var(--ef-navy); color: #fff; border-color: var(--ef-navy); }
.ef-tslider__dots { display: flex; gap: .5rem; }
.ef-tslider__dots button {
  width: 10px; height: 10px; border-radius: 999px; border: none; cursor: pointer;
  background: var(--ef-line); transition: all .25s; padding: 0;
}
.ef-tslider__dots button.is-active { width: 32px; background: var(--ef-accent); }

/* ===== v2.2: header search overlay, mega fixes ===== */

/* Mega menu: keep the Products link perfectly inline */
.ef-nav a { display: inline-flex; align-items: center; gap: .3rem; }
.ef-has-mega { position: relative; display: inline-flex; align-items: center; }
.ef-caret { font-size: .7em; line-height: 1; }

/* Mega promo: force visible text */
.ef-mega__promo, .ef-mega__promo strong, .ef-mega__promo span { color: #fff !important; }
.ef-mega__promo span:last-child { color: #c4b5fd !important; }
.ef-mega__promo:hover span:last-child { color: #fff !important; }

/* Modern full-width search overlay */
.ef-search-overlay {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(11,17,32,.92); backdrop-filter: blur(8px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 12vh 20px 20px;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.ef-search-overlay.is-open { opacity: 1; visibility: visible; }
.ef-search-overlay__inner { width: 100%; max-width: 720px; position: relative; transform: translateY(-12px); transition: transform .3s; }
.ef-search-overlay.is-open .ef-search-overlay__inner { transform: none; }
.ef-search-overlay__close {
  position: absolute; top: -56px; right: 0;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
  background: transparent; cursor: pointer;
}
.ef-search-overlay__close span, .ef-search-overlay__close span::after {
  position: absolute; top: 50%; left: 50%; width: 18px; height: 2px;
  background: #fff; border-radius: 2px;
}
.ef-search-overlay__close span { transform: translate(-50%,-50%) rotate(45deg); }
.ef-search-overlay__close span::after { content: ""; transform: translate(-50%,-50%) rotate(90deg); }
.ef-search-overlay__label { color: #94a3b8; font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 1rem; }
.ef-live-search--overlay {
  display: flex; align-items: center; gap: 1rem;
  background: #fff; border-radius: 1.25rem; padding: 1.25rem 1.75rem;
  box-shadow: 0 24px 80px rgba(0,0,0,.4); position: relative; color: var(--ef-navy);
}
.ef-live-search--overlay input {
  flex: 1; border: none; outline: none; font-size: 1.3rem; font-family: inherit; background: transparent; min-width: 0;
}
.ef-search-overlay__tags { display: flex; gap: .75rem; align-items: center; margin-top: 1.5rem; flex-wrap: wrap; }
.ef-search-overlay__tags span { color: #94a3b8; font-size: .9rem; }
.ef-search-overlay__tags a {
  color: #fff; text-decoration: none; font-size: .88rem; font-weight: 600;
  border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: .45rem 1.1rem;
  transition: all .2s;
}
.ef-search-overlay__tags a:hover { background: #fff; color: var(--ef-navy); }
.ef-live-search--overlay .ef-live-dropdown {
  position: absolute; top: calc(100% + 12px); left: 0; right: 0;
}
body.admin-bar .ef-search-overlay { top: 32px; }
@media (max-width: 782px) { body.admin-bar .ef-search-overlay { top: 46px; } }

/* ===== WordPress core widgets — modern styling ===== */
.ef-widget ul { list-style: none; margin: 0; padding: 0; }
.ef-widget li { border-bottom: 1px solid var(--ef-line); padding: .6rem 0; font-size: .93rem; }
.ef-widget li:last-child { border: none; padding-bottom: 0; }
.ef-widget li a { color: var(--ef-text); text-decoration: none; }
.ef-widget li a:hover { color: var(--ef-accent); }
.ef-widget .wp-block-search__inside-wrapper,
.ef-widget .search-form { display: flex; }
.ef-widget input[type="search"], .ef-widget input[type="text"] {
  flex: 1; min-width: 0; padding: .7rem 1rem; border: 1.5px solid var(--ef-line);
  border-radius: .6rem 0 0 .6rem; font-size: .92rem; font-family: inherit;
}
.ef-widget button[type="submit"], .ef-widget .wp-block-search__button {
  background: var(--ef-navy); color: #fff; border: none; border-radius: 0 .6rem .6rem 0;
  padding: 0 1.1rem; cursor: pointer; font-size: .9rem; font-weight: 600;
}
.ef-widget .wp-block-tag-cloud a, .ef-widget .tagcloud a {
  display: inline-block; background: var(--ef-bg-soft); border: 1px solid var(--ef-line);
  border-radius: 999px; padding: .35rem .9rem; font-size: .82rem !important;
  color: var(--ef-text); text-decoration: none; margin: 0 .4rem .4rem 0;
}
.ef-widget .wp-block-tag-cloud a:hover, .ef-widget .tagcloud a:hover {
  background: var(--ef-navy); color: #fff; border-color: var(--ef-navy);
}
.ef-widget .wp-block-latest-posts li a { font-weight: 600; }
.ef-widget .wp-block-latest-posts__post-date, .ef-widget .post-date {
  display: block; font-size: .8rem; color: var(--ef-muted); margin-top: .2rem;
}
.ef-widget select { width: 100%; padding: .7rem; border: 1.5px solid var(--ef-line); border-radius: .6rem; font-family: inherit; }
.ef-widget .wp-block-calendar table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.ef-widget .wp-block-calendar th, .ef-widget .wp-block-calendar td { text-align: center; padding: .3rem; }

/* ===== Live chat widget ===== */
.emc-chat { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9990; font-family: var(--ef-font); }
.emc-chat__bubble {
  width: 60px; height: 60px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--ef-accent), var(--ef-accent-2)); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 32px rgba(99,102,241,.45); transition: transform .2s;
  position: relative;
}
.emc-chat__bubble:hover { transform: scale(1.06); }
.emc-chat__ping {
  position: absolute; top: -4px; right: -4px;
  background: #ef4444; color: #fff; font-size: .72rem; font-weight: 800;
  min-width: 22px; height: 22px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; padding: 0 5px;
  border: 2px solid #fff;
}
.emc-chat__panel {
  position: absolute; bottom: 76px; right: 0;
  width: min(380px, calc(100vw - 3rem)); height: 520px; max-height: 70vh;
  background: #fff; border-radius: 1.25rem; overflow: hidden;
  box-shadow: 0 24px 80px rgba(11,17,32,.3);
  display: flex; flex-direction: column;
  border: 1px solid var(--ef-line);
}
.emc-chat__head {
  background: linear-gradient(120deg, #0b1120, #1e1b4b); color: #fff;
  padding: 1rem 1.25rem; display: flex; align-items: center; gap: .85rem;
}
.emc-chat__avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--ef-accent), var(--ef-accent-2));
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.2rem;
}
.emc-chat__head > div { flex: 1; display: flex; flex-direction: column; }
.emc-chat__head strong { font-size: .98rem; }
.emc-chat__status { font-size: .78rem; color: #a5b4fc; display: flex; align-items: center; gap: .35rem; }
.emc-chat__dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px #22c55e; }
.emc-chat__close { background: rgba(255,255,255,.12); border: none; color: #fff; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 1.3rem; line-height: 1; }
.emc-chat__msgs { flex: 1; overflow-y: auto; padding: 1.25rem; display: flex; flex-direction: column; gap: .7rem; background: #f8fafc; }
.emc-chat__msg { max-width: 82%; }
.emc-chat__msg span { display: inline-block; padding: .7rem 1rem; border-radius: 1.1rem; font-size: .92rem; line-height: 1.45; }
.emc-chat__msg--visitor { align-self: flex-end; }
.emc-chat__msg--visitor span { background: linear-gradient(135deg, var(--ef-accent), var(--ef-accent-2)); color: #fff; border-bottom-right-radius: .3rem; }
.emc-chat__msg--agent { align-self: flex-start; }
.emc-chat__msg--agent span { background: #fff; border: 1px solid var(--ef-line); border-bottom-left-radius: .3rem; color: var(--ef-text); }
.emc-chat__form { display: flex; gap: .6rem; padding: .9rem 1rem; background: #fff; border-top: 1px solid var(--ef-line); }
.emc-chat__form input { flex: 1; min-width: 0; border: 1.5px solid var(--ef-line); border-radius: 999px; padding: .7rem 1.1rem; font-size: .92rem; font-family: inherit; }
.emc-chat__form input:focus { outline: none; border-color: var(--ef-accent); }
.emc-chat__form button { width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer; background: var(--ef-navy); color: #fff; font-size: 1.1rem; flex-shrink: 0; }
.emc-chat__powered { margin: 0; padding: .6rem; text-align: center; font-size: .72rem; color: var(--ef-muted); background: #fff; }
/* Move go-to-top above chat bubble */
.ef-gotop { bottom: 6.5rem; }

/* Chat typing indicator + timestamps */
.emc-chat__typing { display: flex; gap: 4px; padding: .5rem 1.25rem; background: #f8fafc; }
.emc-chat__typing[hidden] { display: none; }
.emc-chat__typing span { width: 8px; height: 8px; border-radius: 50%; background: #94a3b8; animation: emcBlink 1.2s infinite; }
.emc-chat__typing span:nth-child(2) { animation-delay: .2s; }
.emc-chat__typing span:nth-child(3) { animation-delay: .4s; }
@keyframes emcBlink { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
.emc-chat__msg { display: flex; flex-direction: column; }
.emc-chat__msg--visitor { align-items: flex-end; }
.emc-chat__msg--agent { align-items: flex-start; }
.emc-chat__msg time { font-size: .68rem; color: #94a3b8; margin-top: .2rem; }

/* ===== Legal pages ===== */
.ef-legal { max-width: 800px; margin: 0 auto; background: #fff; border: 1px solid var(--ef-line); border-radius: var(--ef-radius-lg); padding: 3rem; box-shadow: 0 4px 24px rgba(11,17,32,.05); }
.ef-legal h2 { font-size: 1.35rem; margin: 2.25rem 0 1rem; padding-bottom: .6rem; border-bottom: 2px solid var(--ef-bg-soft); }
.ef-legal h2:first-child { margin-top: 0; }
.ef-legal p, .ef-legal li { color: var(--ef-text); line-height: 1.75; }
.ef-legal ul { padding-left: 1.5rem; }
.ef-legal li { margin-bottom: .5rem; }
.ef-legal a { color: var(--ef-accent); font-weight: 600; }
.ef-legal__updated { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--ef-line); color: var(--ef-muted); font-size: .88rem; }
@media (max-width: 640px) { .ef-legal { padding: 1.75rem 1.25rem; } }

/* ===== Premium sidebar widgets v2 ===== */
.ef-layout__side .ef-widget {
  background: #fff; border: none; border-radius: 1.25rem;
  padding: 1.75rem; margin-bottom: 1.75rem;
  box-shadow: 0 8px 32px rgba(11,17,32,.08);
  position: relative; overflow: hidden;
}
.ef-layout__side .ef-widget::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--ef-accent), var(--ef-accent-2), #ec4899);
}
.ef-layout__side .ef-widget__title {
  font-size: 1.05rem; font-weight: 800; margin: 0 0 1.25rem; padding: 0;
  border: none; display: flex; align-items: center; gap: .6rem; color: var(--ef-navy);
}
.ef-layout__side .ef-widget__title::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--ef-accent), var(--ef-accent-2));
  flex-shrink: 0;
}
/* Search */
.ef-layout__side .ef-widget-search input {
  border: 2px solid var(--ef-line); border-radius: 999px 0 0 999px;
  padding: .85rem 1.25rem;
}
.ef-layout__side .ef-widget-search input:focus { outline: none; border-color: var(--ef-accent); }
.ef-layout__side .ef-widget-search button {
  background: linear-gradient(135deg, var(--ef-accent), var(--ef-accent-2));
  border-radius: 0 999px 999px 0; padding: 0 1.4rem; font-size: 1.2rem;
}
/* Categories with count badges */
.ef-layout__side .ef-widget-list a {
  padding: .8rem .9rem; border-radius: .75rem; font-weight: 600;
  transition: all .2s;
}
.ef-layout__side .ef-widget-list a:hover {
  background: linear-gradient(135deg, rgba(99,102,241,.08), rgba(139,92,246,.08));
  color: var(--ef-accent); transform: translateX(4px);
}
.ef-layout__side .ef-widget-list li { border: none; padding: 0; margin-bottom: .25rem; }
.ef-layout__side .ef-widget-list a span {
  background: var(--ef-bg-soft); border-radius: 999px; padding: .15rem .65rem;
  font-size: .75rem; font-weight: 700; color: var(--ef-accent);
}
.ef-layout__side .ef-widget-list a:hover span { background: var(--ef-accent); color: #fff; }
/* Tags */
.ef-layout__side .ef-tagcloud a {
  border: 1.5px solid var(--ef-line); padding: .45rem 1rem; font-weight: 600;
  transition: all .2s;
}
.ef-layout__side .ef-tagcloud a:hover {
  background: linear-gradient(135deg, var(--ef-accent), var(--ef-accent-2));
  border-color: transparent; transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(99,102,241,.3);
}
/* WP core widgets in sidebar */
.ef-layout__side .ef-widget ul li { border: none; padding: 0; margin-bottom: .25rem; }
.ef-layout__side .ef-widget ul li a { display: block; padding: .7rem .9rem; border-radius: .75rem; font-weight: 600; transition: all .2s; }
.ef-layout__side .ef-widget ul li a:hover { background: linear-gradient(135deg, rgba(99,102,241,.08), rgba(139,92,246,.08)); color: var(--ef-accent); transform: translateX(4px); }
