:root{
  --ebhome-primary: #e10600;
  --ebhome-dark: #0b0d10;
  --ebhome-radius: 24px;
}

.ebhome-wrap{ font-family: inherit; }
.ebhome-wrap *{ box-sizing:border-box; }

.ebhome-section{ padding: clamp(28px, 4vw, 56px) 0; }
.ebhome-container{ width: min(var(--ebhome-content-max, 1320px), calc(100% - 32px)); margin: 0 auto; }

.ebhome-kicker{ display:inline-flex; align-items:center; gap:10px; padding:8px 12px; border-radius:999px;
  background: color-mix(in srgb, var(--ebhome-primary) 12%, transparent);
  color: var(--ebhome-primary); font-weight: 700; font-size: 13px; }

.ebhome-h1{ font-size: clamp(30px, 4.4vw, 58px); line-height: 1.04; margin: 14px 0 12px; letter-spacing:-0.02em; }
.ebhome-h2{ font-size: clamp(22px, 3vw, 36px); line-height: 1.15; margin: 0 0 14px; letter-spacing:-0.01em; }
.ebhome-p{ font-size: 16px; line-height: 1.55; margin: 0 0 18px; max-width: 70ch; color: rgba(255,255,255,.84); }
.ebhome-p.dark{ color: #334155; }

.ebhome-btns{ display:flex; gap:12px; flex-wrap:wrap; align-items:center; }
.ebhome-btn{ display:inline-flex; align-items:center; justify-content:center;
  padding: 12px 16px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.18);
  text-decoration:none !important; font-weight: 800;
  transition: transform .12s ease, background .12s ease, border-color .12s ease, color .12s ease;
  user-select:none;
}
.ebhome-btn:hover{ transform: translateY(-1px); }
.ebhome-btn.primary{ background: var(--ebhome-primary); border-color: rgba(0,0,0,.06); color:#fff; }
.ebhome-btn.ghost{ background: rgba(255,255,255,.08); color:#fff; }
.ebhome-btn.ghost:hover{ border-color: rgba(255,255,255,.28); }

.ebhome-link{ text-decoration:none !important; font-weight: 800; color: var(--ebhome-primary); }
.ebhome-link:hover{ text-decoration: underline !important; }

.ebhome-pill{
  display:inline-flex; align-items:center; gap:10px;
  padding: 10px 12px; border-radius: 999px;
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.16);
  font-weight: 800; font-size: 13px; color: rgba(255,255,255,.88);
}

.ebhome-alt{
  background: linear-gradient(180deg, #ffffff, #f6f7fb);
  border-radius: 28px;
  border: 1px solid rgba(15,23,42,.06);
  box-shadow: 0 18px 65px rgba(15,23,42,.08);
}

.ebhome-head{ margin-bottom: 18px; }
.ebhome-head .ebhome-p{ margin-bottom: 0; }

/* HERO */
.ebhome-hero{
  position: relative;
  overflow:hidden;
  border-radius: clamp(18px, 2.6vw, 30px);
  background: radial-gradient(1200px 700px at 30% 0%, color-mix(in srgb, var(--ebhome-primary) 35%, transparent), transparent 60%),
              radial-gradient(900px 600px at 85% 40%, rgba(255,255,255,.12), transparent 55%),
              linear-gradient(135deg, #07090c, #131821);
  color:#fff;
  box-shadow: 0 24px 70px rgba(0,0,0,.35);
}
.ebhome-hero .ebhome-container{ position:relative; z-index: 3; }
.ebhome-hero-bg{ position:absolute; inset:0; z-index:1; }
.ebhome-hero-gradient{ position:absolute; inset:0; background: radial-gradient(900px 700px at 20% 0%, rgba(225,6,0,.22), transparent 60%), linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.70)); z-index:2; }

.ebhome-slider{ position:absolute; inset:0; }
.ebhome-slide{
  position:absolute; inset:0;
  background-size: cover; background-position: center;
  opacity:0; transform: scale(1.02);
  transition: opacity .55s ease, transform 1.1s ease;
}
.ebhome-slide.active{ opacity:1; transform: scale(1.0); }

.ebhome-slide-overlay{ position:absolute; inset:0; background: radial-gradient(1200px 700px at 25% 0%, rgba(0,0,0,.10), rgba(0,0,0,.65)); }

.ebhome-dots{
  position:absolute; left: 22px; bottom: 22px; z-index: 4;
  display:flex; gap: 8px; align-items:center;
}
.ebhome-dot{
  width: 9px; height: 9px; border-radius: 999px;
  border: 0; cursor:pointer;
  background: rgba(255,255,255,.26);
}
.ebhome-dot.active{ width: 26px; background: rgba(255,255,255,.72); }

.ebhome-hero-video, .ebhome-hero-iframe iframe{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit: cover;
}
.ebhome-hero-iframe{ position:absolute; inset:0; }
.ebhome-hero-iframe iframe{ border:0; }

.ebhome-slider-content{
  padding: clamp(24px, 3.4vw, 56px);
  padding-bottom: clamp(110px, 11vw, 150px); /* room for badges */
  max-width: 1040px; /* broader text block */
}
.ebhome-hero-card{ position:relative; }
.ebhome-hero-content{ display:none; }
.ebhome-hero-content.active{ display:block; }

.ebhome-hero-badges{
  margin-top: -80px; /* pushed a bit lower */
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  padding: 0 clamp(24px, 3.4vw, 56px) clamp(22px, 3vw, 40px);
}
.ebhome-badge{
  border-radius: 18px;
  padding: 14px 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
}
.ebhome-badge-title{ color:#fff; font-weight: 900; font-size: 14px; margin-bottom: 4px; }
.ebhome-badge-sub{ color: rgba(255,255,255,.74); font-size: 13px; line-height:1.45; }

/* CATEGORIES */
.ebhome-grid-cards{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1100px){ .ebhome-grid-cards{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px){ .ebhome-grid-cards{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .ebhome-grid-cards{ grid-template-columns: 1fr; } }

.ebhome-card{
  border-radius: 22px; padding: 18px 18px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 14px 40px rgba(15,23,42,.08);
  text-decoration:none !important;
  transition: transform .12s ease, box-shadow .12s ease;
}
.ebhome-card:hover{ transform: translateY(-2px); box-shadow: 0 18px 55px rgba(15,23,42,.12); }
.ebhome-card-top{ display:flex; align-items:center; justify-content:space-between; margin-bottom: 10px; }
.ebhome-card-icon{ width: 44px; height: 44px; border-radius: 14px; object-fit: contain; background: #f1f5f9; padding: 8px; border: 1px solid rgba(15,23,42,.06); }
.ebhome-card-icon.fallback{ background: radial-gradient(140px 90px at 30% 30%, color-mix(in srgb, var(--ebhome-primary) 28%, transparent), transparent 65%),
              linear-gradient(135deg, #0b0d10, #232b3a); }
.ebhome-card-arrow{ width: 34px; height: 34px; border-radius: 12px; display:flex; align-items:center; justify-content:center;
  background: color-mix(in srgb, var(--ebhome-primary) 15%, transparent); color: var(--ebhome-primary); font-weight: 900; }
.ebhome-card-title{ color:#0f172a; font-weight: 900; font-size: 16px; }
.ebhome-card-sub{ color:#64748b; font-weight: 700; margin-top: 4px; }

.ebhome-cta-row{ display:flex; flex-wrap:wrap; gap: 14px; align-items:center; margin-top: 18px; }
.ebhome-cta-row.left{ justify-content:flex-start; }
.ebhome-cta-row .ebhome-btn.ghost{ background:#fff; color:#0f172a; border-color: rgba(15,23,42,.12); }
.ebhome-cta-row .ebhome-btn.ghost:hover{ border-color: rgba(15,23,42,.22); }

/* TWO COL + WAREHOUSE */
.ebhome-two-col{ display:grid; grid-template-columns: 1.05fr .95fr; gap: 22px; align-items:center; padding: clamp(18px, 2.6vw, 28px); }
@media (max-width: 900px){ .ebhome-two-col{ grid-template-columns: 1fr; } }

.ebhome-list{ list-style:none; padding:0; margin: 16px 0 18px; }
.ebhome-list li{ display:flex; gap: 10px; align-items:flex-start; padding: 8px 0; color:#0f172a; font-weight: 700; }
.ebhome-list li:before{
  content:""; width: 12px; height: 12px; margin-top: 4px;
  border-radius: 4px; border: 1.5px solid color-mix(in srgb, var(--ebhome-primary) 55%, #fff);
  background: color-mix(in srgb, var(--ebhome-primary) 10%, transparent);
}

/* nicer gallery for 3 images */
.ebhome-gallery{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  align-items: stretch;
}
.ebhome-gallery img{
  width:100%; height:100%;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: 0 14px 40px rgba(15,23,42,.10);
}
.ebhome-gallery img:nth-child(1){ grid-row: 1 / span 2; grid-column: 1; min-height: 320px; }
.ebhome-gallery img:nth-child(2){ grid-row: 1; grid-column: 2; min-height: 150px; }
.ebhome-gallery img:nth-child(3){ grid-row: 2; grid-column: 2; min-height: 150px; }
@media (max-width: 900px){
  .ebhome-gallery{ grid-template-columns: 1fr; grid-template-rows: auto; }
  .ebhome-gallery img:nth-child(1),
  .ebhome-gallery img:nth-child(2),
  .ebhome-gallery img:nth-child(3){ grid-column:auto; grid-row:auto; min-height: 200px; }
}

.ebhome-gallery-placeholder{
  border-radius: 22px; padding: 18px;
  border: 1px dashed rgba(15,23,42,.22);
  color:#64748b; background: rgba(255,255,255,.75);
}

/* DELIVERY */
.ebhome-delivery{ padding: 0; }
.ebhome-carriers{ display:grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 520px){ .ebhome-carriers{ grid-template-columns: 1fr; } }
.ebhome-carrier{
  border-radius: 22px; padding: 14px 14px;
  background: #fff; border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 14px 40px rgba(15,23,42,.08);
  display:flex; align-items:center; gap: 12px;
}
.ebhome-carrier img{ width: 54px; height: 36px; object-fit: contain; }
.ebhome-carrier-fallback{ width: 54px; height: 36px; border-radius: 12px; background: #f1f5f9; border: 1px solid rgba(15,23,42,.06); }
.ebhome-carrier-name{ color:#0f172a; font-weight: 900; }

/* PARTNERS */
.ebhome-partners{ display:grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
@media (max-width: 980px){ .ebhome-partners{ grid-template-columns: repeat(4, 1fr);} }
@media (max-width: 640px){ .ebhome-partners{ grid-template-columns: repeat(2, 1fr);} }
.ebhome-partner{
  border-radius: 20px; padding: 12px;
  background:#fff; border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 14px 40px rgba(15,23,42,.08);
  display:flex; align-items:center; justify-content:center;
}
.ebhome-partner img{ max-width: 100%; max-height: 44px; object-fit: contain; }

/* REVIEWS */
.ebhome-reviews{
  border-radius: 22px; overflow:hidden;
  background:#fff; border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 18px 55px rgba(15,23,42,.10);
  padding: 16px;
}

/* FOOT */
.ebhome-foot{ padding: 0; margin-top: 24px; }
.ebhome-foot-inner{
  border-radius: 26px; padding: 18px;
  background: linear-gradient(135deg, rgba(0,0,0,.92), rgba(15,23,42,.86));
  border: 1px solid rgba(255,255,255,.10);
  display:flex; align-items:center; justify-content:space-between; gap: 16px; flex-wrap:wrap;
  color: rgba(255,255,255,.86);
}
.ebhome-foot-note{ max-width: 70ch; font-weight: 700; }
.ebhome-foot-actions{ display:flex; align-items:center; gap: 10px; flex-wrap:wrap; }
.ebhome-dotsep{ color: rgba(255,255,255,.42); }

/* MOBILE HERO improvements */
@media (max-width: 820px){
  .ebhome-slider-content{ max-width: none; padding: 22px; padding-bottom: 160px; }
  .ebhome-hero-badges{ grid-template-columns: 1fr; margin-top: -120px; }
  .ebhome-dots{ left: 16px; bottom: 16px; }
  .ebhome-btn{ width: auto; }
  .ebhome-pill{ width: 100%; justify-content:center; text-align:center; }
}
@media (max-width: 480px){
  .ebhome-container{ width: calc(100% - 22px); }
  .ebhome-slider-content{ padding: 20px; padding-bottom: 210px; }
  .ebhome-h1{ font-size: 34px; }
  .ebhome-badge{ padding: 12px; }
  .ebhome-card{ padding: 16px; }
  .ebhome-cta-row{ gap: 12px; }
  .ebhome-btn{ width: 100%; }
  .ebhome-cta-row .ebhome-link{ width: 100%; text-align:center; }
}


/* Layout modes */
.ebhome-wrap.ebhome-contained{ width: 100%; }
.ebhome-wrap.ebhome-full{ width: 100%; }
.ebhome-wrap.ebhome-fullbleed{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.ebhome-container{ width: min(var(--ebhome-content-max, 1320px), calc(100% - 32px)); }

/* Plugin header (solid) */
.ebhome-header{
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15,23,42,.10);
}
.ebhome-header-inner{ display:flex; align-items:center; justify-content:space-between; gap:14px; padding: 10px 0; }
.ebhome-brand{ display:flex; align-items:center; gap:10px; text-decoration:none !important; color: #0f172a; font-weight:800; }
.ebhome-logo{ height: 34px; width:auto; display:block; }
.ebhome-brand-text{ font-size: 16px; letter-spacing:-0.01em; }
.ebhome-nav{ display:flex; gap:18px; align-items:center; }
.ebhome-nav a{ color:#0f172a; text-decoration:none !important; font-weight:600; opacity:.86; }
.ebhome-nav a:hover{ opacity:1; }
.ebhome-auth{ display:flex; gap:10px; align-items:center; }
.ebhome-btn.ebhome-btn-solid{ background: var(--ebhome-primary); color:#fff; border-color: transparent; }
.ebhome-btn.ebhome-btn-ghost{ background: transparent; color:#0f172a; border-color: rgba(15,23,42,.18); }
.ebhome-btn.ebhome-btn-ghost:hover{ background: rgba(15,23,42,.04); }

/* Header responsive */
@media (max-width: 820px){
  .ebhome-nav{ display:none; }
  .ebhome-header-inner{ padding: 8px 0; }
  .ebhome-logo{ height: 30px; }
}
