/* ==========================================================================
   IBTIKAR STORE — MAIN CSS DESIGN SYSTEM
   WordPress Theme: ibtikar-store
   ========================================================================== */

/* ==========================================================================
   1. CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ========================================================================== */

:root {
  /* ── Prototype Design Tokens (ebt-*) ─────────────────────────── */
  --bg: #f4f7fb;
  --surface: rgba(255,255,255,.88);
  --surface-strong: #ffffff;
  --text: #0f172a;
  --muted: #5b6b82;
  --line: rgba(15,23,42,.08);
  --primary: #0f62fe;
  --primary-2: #0a4ed1;
  --accent: #14b8a6;
  --shadow: 0 24px 70px rgba(15,23,42,.12);
  --shadow-soft: 0 10px 28px rgba(15,23,42,.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max: 1280px;

  /* ── Legacy color aliases (keep for backward compat) ─────────── */
  --color-white: #ffffff;
  --color-off-white: #f8fafc;
  --color-primary: #0f62fe;
  --color-primary-dark: #0a4ed1;
  --color-primary-light: #4d8bfe;
  --color-primary-50: rgba(15,98,254,.06);
  --color-primary-100: rgba(15,98,254,.12);
  --color-dark-blue: #163259;
  --color-cyan: #14b8a6;
  --color-cyan-light: #2dd4bf;
  --color-navy: #0f172a;
  --color-charcoal: #1e293b;
  --color-gray-50: #f8fbff;
  --color-gray-100: #f1f5f9;
  --color-gray-200: #e2e8f0;
  --color-gray-300: #cbd5e1;
  --color-gray-400: #94a3b8;
  --color-gray-500: #64748b;
  --color-gray-600: #475569;
  --color-gray-700: #334155;
  --color-gray-800: #1e293b;
  --color-gray-900: #0f172a;
  --color-success: #16a34a;
  --color-warning: #f59e0b;
  --color-error: #ef4444;
  --color-border: rgba(15,23,42,.08);
  --color-border-light: rgba(15,23,42,.05);

  /* ── Typography ─────────────────────────────────────────────── */
  --font-arabic: 'Tajawal', 'Arial', sans-serif;
  --font-english: 'Inter', system-ui, -apple-system, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;
  --line-height-tight: 1.25;
  --line-height-snug: 1.375;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.625;
  --line-height-loose: 2;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* ── Spacing ─────────────────────────────────────────────────── */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* ── Border Radius ───────────────────────────────────────────── */
  --radius-sm: 0.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;

  /* ── Legacy shadows ──────────────────────────────────────────── */
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -1px rgba(0,0,0,.04);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -2px rgba(0,0,0,.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.08), 0 10px 10px -5px rgba(0,0,0,.03);
  --shadow-card: var(--shadow-soft);
  --shadow-hover: var(--shadow);
  --shadow-navbar: 0 2px 20px rgba(0,0,0,.08);

  /* ── Transitions ─────────────────────────────────────────────── */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;

  /* ── Layout ──────────────────────────────────────────────────── */
  --container-max: 1280px;
  --container-wide: 1400px;
  --navbar-height: 86px;
  --topbar-height: 42px;
  --sidebar-width: 280px;
}

/* ==========================================================================
   2. BASE RESET & TYPOGRAPHY
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-arabic);
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, rgba(15,98,254,.08), transparent 22%),
    radial-gradient(circle at 88% 14%, rgba(20,184,166,.08), transparent 18%),
    linear-gradient(180deg,#f8fbff 0%,#f3f7fb 100%);
  line-height: var(--line-height-relaxed);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body[lang="ar"],
body[dir="rtl"],
:lang(ar) body {
  font-family: var(--font-arabic);
}

body[lang="en"],
:lang(en) body {
  font-family: var(--font-english);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-navy);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  margin-bottom: 0.5em;
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

p {
  line-height: var(--line-height-relaxed);
  color: var(--color-gray-700);
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--color-primary);
  text-decoration: underline;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-dark);
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

svg {
  display: inline-block;
  vertical-align: middle;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

nav ul,
nav ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* ==========================================================================
   3. LAYOUT UTILITIES
   ========================================================================== */

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
  width: 100%;
}

/* Prototype container alias */
.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.container-wide {
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: 1.5rem;
  width: 100%;
}

.section-padding {
  padding-block: var(--space-20);
}

.section-padding-sm {
  padding-block: var(--space-12);
}

/* Grid system */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

/* Flexbox utilities */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-5 { gap: var(--space-5); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Text alignment */
.text-center { text-align: center; }
.text-start  { text-align: start; }
.text-end    { text-align: end; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

/* ==========================================================================
   4. TOPBAR + NAVBAR / HEADER
   ========================================================================== */

/* ── Topbar ─────────────────────────────────────────────────────── */
.ebt-topbar {
  position: sticky;
  top: 0;
  z-index: 1001;
  background: linear-gradient(90deg, #091936 0%, #0d2450 45%, #091936 100%);
  color: rgba(255,255,255,.90);
  border-bottom: 1px solid rgba(255,255,255,.07);
  /* Subtle shimmer line at bottom */
  box-shadow: inset 0 -1px 0 rgba(15,98,254,.35);
}
.ebt-topbar-inner {
  min-height: 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
}

/* Start section: phone + social */
.ebt-topbar-start {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Phone as WhatsApp CTA */
.ebt-topbar-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.95);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .01em;
  padding: 4px 12px 4px 8px;
  border-radius: 999px;
  background: rgba(37,211,102,.18);
  border: 1px solid rgba(37,211,102,.30);
  transition: background .2s ease, border-color .2s ease;
}
.ebt-topbar-phone:hover {
  background: rgba(37,211,102,.28);
  border-color: rgba(37,211,102,.50);
  color: #fff;
}
.ebt-topbar-phone svg { color: #25d166; flex-shrink: 0; }
.ebt-topbar-phone strong { font-size: 12.5px; font-weight: 700; }

/* Separator */
.ebt-topbar-sep {
  display: block;
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,.15);
  flex-shrink: 0;
}

/* Social icons */
.ebt-topbar-social {
  display: flex;
  align-items: center;
  gap: 4px;
}
.ebt-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  color: rgba(255,255,255,.70);
  text-decoration: none;
  transition: color .18s ease, background .18s ease, transform .18s ease;
  background: transparent;
}
.ebt-social-icon:hover {
  color: #fff;
  background: rgba(255,255,255,.12);
  transform: translateY(-1px);
}
.ebt-social-icon.ebt-social-linkedin:hover  { color: #0a66c2; background: rgba(10,102,194,.18); }
.ebt-social-icon.ebt-social-instagram:hover { color: #e1306c; background: rgba(225,48,108,.14); }
.ebt-social-icon.ebt-social-snapchat:hover  { color: #fffc00; background: rgba(255,252,0,.14); }
.ebt-social-icon.ebt-social-tiktok:hover    { color: #ff0050; background: rgba(255,0,80,.14); }

/* End section: links + lang */
.ebt-topbar-end {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Quick links */
.ebt-topbar-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.ebt-topbar-links a {
  color: rgba(255,255,255,.72);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 9px;
  border-radius: 5px;
  transition: color .18s ease, background .18s ease;
}
.ebt-topbar-links a:hover {
  color: #fff;
  background: rgba(255,255,255,.10);
}

/* Language toggle */
.ebt-lang-btn--topbar {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.85);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  cursor: pointer;
  transition: background .2s ease;
  user-select: none;
}
.ebt-lang-btn--topbar:hover { background: rgba(255,255,255,.18); color: #fff; }

/* Legacy lang btn in header (fallback if still rendered) */
.ebt-lang-btn:not(.ebt-lang-btn--topbar) {
  display: none;
}

/* Mini button (keep for backwards compat) */
.ebt-mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  font-weight: 700;
  transition: .2s ease;
}
.ebt-mini-btn:hover { background: rgba(255,255,255,.18); }

/* ── Header shell ───────────────────────────────────────────────── */
.ebt-header-shell {
  position: sticky;
  top: var(--topbar-height);
  z-index: 1000;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(255,255,255,.72);
  border-bottom: 1px solid rgba(15,23,42,.07);
  transition: box-shadow .28s ease, background .28s ease;
}
.ebt-header-shell.is-scrolled {
  background: rgba(255,255,255,.88);
  box-shadow: 0 4px 24px rgba(15,23,42,.09), 0 1px 0 rgba(15,23,42,.06);
}
.ebt-header {
  min-height: 80px;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 16px;
  align-items: center;
}

/* Brand */
.ebt-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.ebt-brand:hover { color: inherit; }
.ebt-brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
}
.ebt-brand-mark::before,
.ebt-brand-mark::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255,255,255,.25);
}
.ebt-brand-mark::before { width: 72px; height: 72px; left: -20px; top: -28px; }
.ebt-brand-mark::after { width: 48px; height: 48px; right: -14px; bottom: -16px; }
.ebt-brand-text strong { display: block; font-size: 17px; letter-spacing: -.02em; }
.ebt-brand-text span { display: block; font-size: 12px; color: var(--muted); }
.ebt-logo-img { display: block; height: 48px; width: auto; max-width: 160px; object-fit: contain; }

/* ── Footer logo size constraint ─── */
.ebt-footer-brand .custom-logo-link img,
.ebt-footer-brand .custom-logo,
.ebt-footer-brand img {
  display: block;
  height: 56px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

/* ── Custom logo sizing (avoid layout-breaking tall images) ─── */
.ebt-brand { display: flex; align-items: center; text-decoration: none; }
.ebt-brand:hover { color: inherit; }
.ebt-brand .ebt-logo-img,
.ebt-brand img.custom-logo,
.ebt-brand img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

/* Desktop Nav */
.ebt-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(8px, 1.4vw, 20px);
  flex-wrap: nowrap;
  white-space: nowrap;
}
.ebt-nav > li { list-style: none; }

/* Nav link styles — target both .ebt-nav-item (walker class)
   and .ebt-nav > li > a (direct selector for fallback walker) */
.ebt-nav-item,
.ebt-nav > li > a {
  position: relative;
  font-size: clamp(13px, 1.05vw, 14.5px);
  font-weight: 600;
  color: #1e293b;
  padding: 7px 12px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color .20s ease, background .20s ease;
  white-space: nowrap;
}

/* Active indicator bar — now at bottom of the li, not the a */
.ebt-nav > li {
  position: relative;
}
.ebt-nav > li::after {
  content: "";
  position: absolute;
  bottom: -1px;
  inset-inline-start: 12px;
  inset-inline-end: 12px;
  height: 2.5px;
  border-radius: 999px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform .22s ease;
  transform-origin: center;
}
.ebt-nav > li:hover::after,
.ebt-nav > li.current-menu-item::after,
.ebt-nav > li.current-menu-ancestor::after,
.ebt-nav > li.is-open::after { transform: scaleX(1); }

.ebt-nav-item:hover,
.ebt-nav-item.is-active,
.ebt-nav > li > a:hover,
.ebt-nav > li.current-menu-item > a,
.ebt-nav > li.current-menu-ancestor > a {
  color: var(--primary);
  background: rgba(15,98,254,.06);
}

/* Keep old ::after on the <a> for backwards compat but hide it */
.ebt-nav-item::after,
.ebt-nav > li > a::after { display: none; }

/* Mega menu trigger */
.ebt-nav-has-mega {
  position: relative;
  list-style: none;
}
.ebt-nav-has-mega > .ebt-nav-item,
.ebt-nav-has-mega > a {
  cursor: pointer;
}
.ebt-nav-has-mega.is-open > a,
.ebt-nav-has-mega.is-open > .ebt-nav-item {
  color: var(--primary);
  background: rgba(15,98,254,.08);
}
.ebt-nav-has-mega.is-open::after { transform: scaleX(1); }

/* ── Mega Menu ─────────────────────────────────────────────────
   Panel sits position:fixed directly under the sticky header.
   Shown via .is-visible class added by JS on hover/focus.
   ─────────────────────────────────────────────────────────── */
.ebt-mega-menu {
  position: fixed;
  top: calc(var(--topbar-height) + var(--navbar-height));
  inset-inline: 0;
  background: #fff;
  box-shadow: 0 20px 60px rgba(15,23,42,.13), 0 4px 16px rgba(15,23,42,.06);
  border-top: 1px solid var(--line);
  z-index: 990;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity .26s ease, transform .26s ease;
  will-change: opacity, transform;
  /* Extend slightly above to create hover bridge */
  margin-top: -3px;
  padding-top: 3px;
}
.ebt-mega-menu.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

/* Inner grid: 3 solution columns + 1 CTA column */
.ebt-mega-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr) 280px;
  gap: 0 28px;
  align-items: start;
}

/* ── Column wrapper ─ */
.ebt-mega-col {
  padding: 0 18px;
  border-inline-end: 1px solid var(--line);
}
.ebt-mega-col:last-of-type { border-inline-end: none; }

/* Column header: icon + label */
.ebt-mega-col-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 2px solid rgba(15,23,42,.07);
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.ebt-mega-col-head-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(15,98,254,.1), rgba(20,184,166,.08));
  color: var(--primary);
  flex-shrink: 0;
}

/* Items list */
.ebt-mega-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Individual item card */
.ebt-mega-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid #e8e8e8;
  text-decoration: none;
  background: #fff;
  /* Stagger reveal */
  opacity: 0;
  transform: translateY(7px);
  transition: opacity .22s ease, transform .22s ease, background .18s ease, border-color .2s ease;
}
.ebt-mega-menu.is-visible .ebt-mega-item {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays per list position */
.ebt-mega-items li:nth-child(1) .ebt-mega-item { transition-delay: .04s; }
.ebt-mega-items li:nth-child(2) .ebt-mega-item { transition-delay: .08s; }
.ebt-mega-items li:nth-child(3) .ebt-mega-item { transition-delay: .12s; }
.ebt-mega-items li:nth-child(4) .ebt-mega-item { transition-delay: .16s; }

.ebt-mega-item:hover {
  background: #f0f7ff;
  border-color: var(--primary);
  transform: translateY(-1px);
}
.ebt-mega-item-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(15,98,254,.07);
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 1px;
  transition: background .18s ease;
}
.ebt-mega-item:hover .ebt-mega-item-ico { background: rgba(15,98,254,.14); }
.ebt-mega-item-body { display: flex; flex-direction: column; gap: 2px; }
.ebt-mega-item-body strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  transition: color .18s ease;
}
.ebt-mega-item-body span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}
.ebt-mega-item:hover .ebt-mega-item-body strong { color: var(--primary); }

/* ── CTA Column ─────────────────────────────────────────────── */
.ebt-mega-cta-col {
  background: linear-gradient(135deg, #1e6ad4 0%, #2563eb 55%, #1e40af 100%);
  border-radius: 18px;
  padding: 22px 20px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;
  /* Stagger reveal */
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .32s ease .1s, transform .32s ease .1s;
}
.ebt-mega-menu.is-visible .ebt-mega-cta-col {
  opacity: 1;
  transform: translateY(0);
}

/* Badge */
.ebt-mega-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 700;
  color: #fff;
  width: fit-content;
}
.ebt-mega-cta-badge-ico {
  display: flex;
  align-items: center;
  color: #fcd34d;
}

.ebt-mega-cta-title {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
  margin: 0;
}
.ebt-mega-cta-desc {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255,255,255,.88);
  margin: 0;
}

/* Chips row */
.ebt-mega-cta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.ebt-mega-cta-chip {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.28);
  color: rgba(255,255,255,.95);
  font-size: 11px;
  font-weight: 700;
}

/* CTA Buttons */
.ebt-mega-cta-btns {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 4px;
}
.ebt-mega-cta-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 18px;
  border-radius: 12px;
  background: #fff;
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  border: none;
  transition: background .2s ease, transform .15s ease;
}
.ebt-mega-cta-btn-primary:hover { background: rgba(255,255,255,.92); transform: translateY(-1px); }
.ebt-mega-cta-btn-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 12px;
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.36);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease;
}
.ebt-mega-cta-btn-outline:hover { background: rgba(255,255,255,.22); color: #fff; }

/* ── Mega menu backdrop overlay ─────────────────────────────── */
.ebt-mega-overlay {
  position: fixed;
  inset: 0;
  top: calc(var(--topbar-height) + var(--navbar-height));
  z-index: 980;
  background: rgba(15,23,42,.32);
  backdrop-filter: blur(2px);
  display: none;
  animation: ebtFadeIn .22s ease;
}
.ebt-mega-overlay.is-visible { display: block; }
@keyframes ebtFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ── Tablet: 2-column layout ────────────────────────────────── */
@media (max-width: 1024px) {
  .ebt-mega-inner {
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
  }
  .ebt-mega-cta-col {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
  }
  .ebt-mega-cta-title { font-size: 15px; }
  .ebt-mega-cta-btns { flex-direction: row; }
}

/* ── Mobile: mega panel hidden, mobile accordion used instead ── */
@media (max-width: 860px) {
  .ebt-mega-menu { display: none !important; }
  .ebt-mega-overlay { display: none !important; }
}

/* ── Mobile mega accordion in mobile nav drawer ─────────────── */
.mobile-mega-section {
  overflow: hidden;
  max-height: 0;
  transition: max-height .38s ease;
}
.mobile-mega-section.is-open { max-height: 900px; }

.mobile-mega-cat { border-bottom: 1px solid var(--line); }
.mobile-mega-cat:last-of-type { border-bottom: none; }

.mobile-mega-cat-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 13px 22px;
  background: none;
  border: none;
  text-align: start;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
}
.mobile-mega-cat-btn .mob-mega-chevron {
  margin-inline-start: auto;
  transition: transform .25s ease;
  color: var(--muted);
}
.mobile-mega-cat-btn[aria-expanded="true"] .mob-mega-chevron {
  transform: rotate(180deg);
}
.mobile-mega-cat-ico {
  display: flex;
  align-items: center;
  color: var(--primary);
}

.mobile-mega-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  max-height: 0;
  transition: max-height .3s ease;
}
.mobile-mega-cat-list.is-open { max-height: 400px; }

.mobile-mega-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 11px 22px 11px 32px;
  text-decoration: none;
  border-bottom: 1px solid rgba(15,23,42,.04);
}
[dir="rtl"] .mobile-mega-link { padding: 11px 32px 11px 22px; }
.mobile-mega-link strong {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
}
.mobile-mega-link span { font-size: 12px; color: var(--muted); }
.mobile-mega-link:hover strong { color: var(--primary); }

.mobile-mega-footer {
  padding: 14px 22px;
}
.mobile-mega-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}
.mobile-mega-all-link:hover { text-decoration: underline; }

/* Header actions */
.ebt-header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.ebt-icon-btn,
.ebt-lang-btn,
.ebt-btn-primary,
.ebt-btn-secondary {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13.5px;
  transition: .22s ease;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.ebt-icon-btn {
  min-height: 40px;
  min-width: 40px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(248,251,255,.95);
  box-shadow: 0 1px 4px rgba(15,23,42,.06);
  color: var(--text);
}
.ebt-icon-btn:hover {
  background: rgba(15,98,254,.06);
  border-color: rgba(15,98,254,.2);
  color: var(--primary);
  transform: translateY(-1px);
}
.ebt-lang-btn {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.88);
  box-shadow: var(--shadow-soft);
  color: var(--text);
  min-width: 76px;
}
.ebt-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #1a6cf7, #0a4ed1);
  box-shadow: 0 4px 14px rgba(15,98,254,.32);
  padding: 0 18px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
}
.ebt-btn-secondary {
  color: var(--text);
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
}
.ebt-lang-btn:hover,
.ebt-btn-secondary:hover { transform: translateY(-1px); }
.ebt-btn-primary:hover { color: #fff; box-shadow: 0 6px 20px rgba(15,98,254,.42); transform: translateY(-1px); }

/* Cart badge */
.ebt-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  margin-inline-start: 6px;
}
.ebt-cart-count.hidden { display: none; }

/* Mobile menu button */
.ebt-mobile-menu-btn {
  display: none;
  min-height: 44px;
  min-width: 44px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.88);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  font-size: 22px;
  font-weight: 800;
  cursor: pointer;
}

/* ── Mobile nav drawer ───────────────────────────────────────── */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.5);
  z-index: 1098;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  backdrop-filter: blur(4px);
}
.mobile-nav-overlay.is-open { opacity: 1; pointer-events: all; }

.mobile-nav-drawer {
  position: fixed;
  top: 0 !important;
  bottom: 0 !important;
  right: 0 !important;
  left: auto !important;
  inset-block: 0;
  inset-inline-end: unset;
  inset-inline-start: unset;
  width: min(360px, 92vw);
  background: #fff;
  z-index: 1099;
  /* Hidden off-screen to the right by default */
  transform: translateX(calc(100% + 40px)) !important;
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  box-shadow: var(--shadow);
}
.mobile-nav-drawer.is-open {
  transform: translateX(0) !important;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}
.mobile-nav-close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(15,23,42,.06);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.mobile-nav-body { padding: 16px 0; }
.mobile-nav-menu { list-style: none; padding: 0; margin: 0; }
.mobile-nav-item { border-bottom: 1px solid rgba(15,23,42,.04); }
.mobile-nav-item-inner {
  display: flex;
  align-items: center;
}
.mobile-nav-link {
  flex: 1;
  display: block;
  padding: 14px 22px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: color .2s, background .2s;
}
.mobile-nav-link:hover,
.mobile-nav-link.active { color: var(--primary); background: rgba(15,98,254,.04); }
.mobile-accordion-btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  padding: 0;
}
.mobile-accordion-btn:hover { color: var(--primary); }
.accordion-chevron { transition: transform .25s ease; display: block; }
.mobile-accordion-btn[aria-expanded="true"] .accordion-chevron { transform: rotate(180deg); }
.mobile-nav-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 22px;
  margin-top: 8px;
  border-top: 1px solid var(--line);
}
.mobile-nav-ctas .ebt-btn-primary,
.mobile-nav-ctas .ebt-btn-secondary {
  width: 100%;
  justify-content: center;
}

/* ── Search button — force design-system colors (overrides plugins) ─ */
#navbar-search-toggle.ebt-icon-btn,
.ebt-header-actions .search-btn,
.ebt-header-actions button.ebt-icon-btn {
  background: rgba(248,251,255,.95) !important;
  background-color: rgba(248,251,255,.95) !important;
  border: 1px solid rgba(15,23,42,.09) !important;
  color: var(--text) !important;
  box-shadow: 0 1px 4px rgba(15,23,42,.06) !important;
}
#navbar-search-toggle.ebt-icon-btn:hover,
.ebt-header-actions .search-btn:hover {
  background: rgba(15,98,254,.07) !important;
  border-color: rgba(15,98,254,.22) !important;
  color: var(--primary) !important;
}
/* Live search */
.navbar-search-wrap { position: relative; }
.live-search-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  width: 480px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  z-index: 1100;
  display: none;
}
.live-search-dropdown.is-open { display: block; }
.live-search-input-wrap { padding: 14px; }
.search-input-wrapper { position: relative; }
.search-input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: 15px;
  outline: none;
  transition: border-color .2s ease;
}
[dir="rtl"] .search-input { padding: 12px 44px 12px 16px; }
.search-input:focus { border-color: var(--primary); }
.search-input-icon {
  position: absolute;
  top: 50%;
  inset-inline-start: 14px;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.live-search-results { max-height: 380px; overflow-y: auto; padding: 0 14px 14px; }
.live-search-footer {
  padding: 12px 14px;
  border-top: 1px solid var(--line);
}
.live-search-all-btn {
  width: 100%;
  justify-content: center;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1280px) {
  .ebt-header { grid-template-columns: 200px 1fr auto; }
}
@media (max-width: 1180px) {
  .ebt-header { grid-template-columns: 180px 1fr auto; }
}
@media (max-width: 920px) {
  .ebt-topbar-start .ebt-topbar-social { display: none; }
  .ebt-topbar-sep { display: none; }
  .ebt-header { grid-template-columns: 1fr auto; min-height: 72px; }
  .ebt-nav-wrap { display: none; }
  .ebt-header-actions .ebt-icon-btn.search-btn { display: none; }
  .ebt-mobile-menu-btn { display: inline-flex; }
}
@media (max-width: 760px) {
  .ebt-topbar-links { display: none; }
}
@media (max-width: 640px) {
  .ebt-topbar-start { display: none; }
  .ebt-topbar-inner { justify-content: center; }
  .live-search-dropdown { width: calc(100vw - 32px); right: 0; left: 0; }
}

/* ── Legacy navbar classes (backward compat) ─────────────────── */
.ibtikar-navbar { display: none; } /* replaced by ebt-header-shell */
.body-navbar-offset { padding-top: 0 !important; }

/* ── Nav chevron (shared by mega + dropdown triggers) ────────── */
.nav-chevron {
  display: inline-flex;
  align-items: center;
  margin-inline-start: 4px;
  color: var(--muted);
  transition: transform .22s ease, color .22s ease;
  vertical-align: middle;
  flex-shrink: 0;
}
.ebt-nav-has-mega.is-open > .ebt-nav-item .nav-chevron,
.ebt-nav-has-dropdown.is-dropdown-open > .ebt-nav-item .nav-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}
.ebt-nav-item:hover .nav-chevron {
  color: var(--primary);
}

/* ── Standard dropdown (Walker-generated .ebt-nav-has-dropdown) ─ */
.ebt-nav-has-dropdown {
  position: relative;
  list-style: none;
}

/* Dropdown wrapper panel */
.dropdown-wrapper {
  position: absolute;
  top: calc(100% + 2px);
  inset-inline-start: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(15,23,42,.12), 0 4px 12px rgba(15,23,42,.06);
  z-index: 995;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
  overflow: hidden;
  /* Hover bridge */
  margin-top: -2px;
  padding-top: 2px;
}
.ebt-nav-has-dropdown.is-dropdown-open > .dropdown-wrapper {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

/* Dropdown menu list */
.dropdown-menu {
  list-style: none;
  padding: 8px;
  margin: 0;
}
.dropdown-menu.depth-0 {
  /* top-level dropdown — no extra indent */
}
.dropdown-menu li {
  list-style: none;
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
  white-space: nowrap;
}
.dropdown-menu a:hover {
  background: #f0f7ff;
  color: var(--primary);
}
.dropdown-menu .current-menu-item > a,
.dropdown-menu .current_page_item > a {
  color: var(--primary);
  background: rgba(15,98,254,.06);
}

/* Nested sub-dropdown (depth-1) */
.dropdown-menu li {
  position: relative;
}
.dropdown-menu .dropdown-wrapper {
  top: -8px;
  inset-inline-start: calc(100% + 4px);
  inset-inline-end: auto;
}
/* RTL: nest to the other side */
[dir="rtl"] .dropdown-menu .dropdown-wrapper {
  inset-inline-start: auto;
  inset-inline-end: calc(100% + 4px);
}
.dropdown-menu li:hover > .dropdown-wrapper {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

/* Divider between groups (optional utility) */
.dropdown-divider {
  height: 1px;
  background: var(--line);
  margin: 6px 8px;
}

/* ── Mobile nav submenu (WordPress sub-menu generated by Walker) ─ */
.mobile-nav-submenu {
  list-style: none;
  margin: 0;
  padding: 0 0 4px;
  overflow: hidden;
  max-height: 0;
  transition: max-height .3s ease;
  background: rgba(15,23,42,.02);
}
.mobile-nav-submenu.is-open { max-height: 600px; }
.mobile-nav-submenu a {
  display: block;
  padding: 10px 22px 10px 38px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--color-gray-700);
  text-decoration: none;
  border-bottom: 1px solid rgba(15,23,42,.035);
  transition: color .2s ease, background .2s ease;
}
[dir="rtl"] .mobile-nav-submenu a { padding: 10px 38px 10px 22px; }
.mobile-nav-submenu a:hover { color: var(--primary); background: rgba(15,98,254,.04); }
.mobile-nav-submenu .mobile-nav-item-inner { padding-inline-start: 16px; }
[dir="rtl"] .mobile-nav-submenu .mobile-nav-item-inner { padding-inline-start: 0; padding-inline-end: 16px; }

/* ── Breadcrumb navigation ───────────────────────────────────── */
.ebt-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  padding: 10px 0;
}
.ebt-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: color .18s ease;
}
.ebt-breadcrumb a:hover { color: var(--primary); text-decoration: none; }
.ebt-breadcrumb .breadcrumb-sep {
  color: var(--color-gray-300);
  font-size: 11px;
}
.ebt-breadcrumb .breadcrumb-current {
  color: var(--text);
  font-weight: 600;
}

/* WooCommerce breadcrumb wrapper */
.woocommerce-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  padding: 10px 0;
  margin-bottom: 4px;
}
.woocommerce-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: color .18s ease;
}
.woocommerce-breadcrumb a:hover { color: var(--primary); }

/* ── Account / user navigation ──────────────────────────────── */
.ebt-account-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 0;
}
.ebt-account-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.ebt-account-nav a:hover,
.ebt-account-nav a.is-active {
  background: rgba(15,98,254,.07);
  color: var(--primary);
}
.ebt-account-nav a svg,
.ebt-account-nav a .nav-ico {
  flex-shrink: 0;
  color: var(--muted);
  transition: color .18s ease;
}
.ebt-account-nav a:hover svg,
.ebt-account-nav a.is-active svg { color: var(--primary); }

/* WooCommerce my-account nav */
.woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--active a {
  background: rgba(15,98,254,.07);
  color: var(--primary);
}

/* ── Footer nav ─────────────────────────────────────────────── */
.ebt-footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ebt-footer-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.72);
  text-decoration: none;
  transition: color .2s ease;
  line-height: 1.5;
}
.ebt-footer-nav a:hover { color: rgba(255,255,255,.96); }
.ebt-footer-nav a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,.28);
  flex-shrink: 0;
  transition: background .2s ease;
}
.ebt-footer-nav a:hover::before { background: var(--accent); }

/* ==========================================================================
   7. HERO SECTION + EBT PROTOTYPE COMPONENTS
   ========================================================================== */

/* ── Section structure ───────────────────────────────────────── */
.ebt-section { padding: 34px 0; position: relative; }

.ebt-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.ebt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(15,98,254,.08);
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  border: 1px solid rgba(15,98,254,.08);
  margin-bottom: 12px;
}
.ebt-eyebrow::before {
  content: "";
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(20,184,166,.12);
}

.ebt-h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3.4vw, 3.6rem);
  line-height: 1.45;
  letter-spacing: -.02em;
  color: var(--text);
  font-weight: 900;
  overflow: visible;
}
.ebt-h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.1;
  letter-spacing: -.04em;
  color: var(--text);
  font-weight: 800;
}
.ebt-sub {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.9;
  font-size: 15px;
  max-width: 760px;
}

/* ── Hero ────────────────────────────────────────────────────── */
.ebt-hero { padding: 42px 0 72px; }
.ebt-hero-grid {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 28px;
  align-items: center;
}
.ebt-hero-copy { padding: 16px 0; }
.ebt-hero-copy p {
  margin: 0 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
  max-width: 560px;
}
.ebt-hero-cta { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
.ebt-trust-row { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.ebt-trust-chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}
.ebt-hero-visual { position: relative; min-height: 520px; }
.ebt-visual-main {
  position: absolute;
  inset: 38px 12px 12px 42px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(15,98,254,.95), rgba(20,184,166,.9));
  overflow: hidden;
  box-shadow: var(--shadow);
  padding: 26px;
}
[dir="rtl"] .ebt-visual-main { inset: 38px 42px 12px 12px; }
.ebt-visual-main::before {
  content: "";
  position: absolute;
  width: 360px; height: 360px; border-radius: 50%;
  background: rgba(255,255,255,.12);
  left: -90px; bottom: -140px;
}
.ebt-visual-main::after {
  content: "";
  position: absolute;
  width: 260px; height: 260px; border-radius: 50%;
  background: rgba(255,255,255,.10);
  top: -90px; right: -60px;
}
.ebt-mockup-top {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 14px;
  margin-bottom: 16px;
}
.ebt-panel {
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  color: #fff;
}
.ebt-panel.big { padding: 18px; min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; }
.ebt-panel.small { padding: 18px; min-height: 180px; }
.ebt-panel h3 { margin: 0 0 10px; font-size: 18px; color: #fff; }
.ebt-panel p { margin: 0; color: rgba(255,255,255,.86); line-height: 1.75; font-size: 14px; }
.ebt-bars { display: grid; gap: 10px; margin-top: 18px; }
.ebt-bar { height: 12px; border-radius: 999px; background: rgba(255,255,255,.18); overflow: hidden; }
.ebt-bar span { display: block; height: 100%; border-radius: 999px; background: rgba(255,255,255,.86); }
.ebt-mockup-cards {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.ebt-mini-card {
  background: rgba(255,255,255,.95);
  color: var(--text);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  padding: 16px;
  border: 1px solid rgba(255,255,255,.7);
}
.ebt-mini-card .kicker { color: var(--primary); font-size: 12px; font-weight: 800; margin-bottom: 8px; display: block; }
.ebt-mini-card strong { display: block; font-size: 16px; margin-bottom: 8px; }
.ebt-mini-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.ebt-float-card {
  position: absolute;
  width: 200px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 16px 18px;
  z-index: 3;
  animation: ebtFloat 5.5s ease-in-out infinite;
}
.ebt-float-card.one { top: 0; inset-inline-end: 0; }
.ebt-float-card.two { inset-inline-start: 0; top: 160px; animation-delay: 1.1s; }
.ebt-float-card .label { color: var(--primary); font-size: 12px; font-weight: 800; margin-bottom: 8px; display: block; }
.ebt-float-card strong { display: block; font-size: 20px; font-weight: 900; margin-bottom: 4px; letter-spacing: -.03em; }
.ebt-float-card p { margin: 0; color: var(--muted); line-height: 1.7; font-size: 13px; }
@keyframes ebtFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

/* ── Product cards ───────────────────────────────────────────── */

/* Homepage grid: 3 columns (compact, fixed) */
.ebt-products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* Shop archive grid: 2 columns (wider cards like homepage featured section) */
.woocommerce-page .ebt-products-grid,
ul.ebt-products-grid.woocommerce-loop,
.ebt-shop-layout ul.ebt-products-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.ebt-products-grid--list { grid-template-columns: 1fr !important; }
.ebt-products-grid--list .ebt-product-card { display: grid; grid-template-columns: 200px 1fr auto; align-items: center; gap: 20px; }
.ebt-products-grid--list .ebt-product-media { height: 140px; border-radius: var(--radius-md); margin: 0; }
.ebt-products-grid--list .ebt-product-body { padding: 0; }
.ebt-products-grid--list .ebt-product-actions { flex-direction: column; padding: 0 16px 0 0; align-items: flex-end; }
.ebt-product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: .28s ease;
  display: flex;
  flex-direction: column;
}
.ebt-product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.ebt-product-badge-row { display: flex; gap: 8px; flex-wrap: wrap; padding: 16px 16px 0; min-height: 16px; }
.ebt-product-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: var(--primary);
  background: rgba(15,98,254,.08);
}
.ebt-product-badge.soft { color: #334155; background: rgba(148,163,184,.12); }
.ebt-product-media {
  display: block;
  margin: 14px 16px 0;
  height: 200px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 20% 20%, rgba(15,98,254,.14), transparent 26%),
    radial-gradient(circle at 80% 24%, rgba(20,184,166,.12), transparent 22%),
    linear-gradient(135deg, #f7fbff, #edf4fb);
  border: 1px solid rgba(15,23,42,.05);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.ebt-product-media::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 16px;
  border: 1px dashed rgba(15,98,254,.16);
  pointer-events: none;
}
.ebt-product-media img { width: 100%; height: 100%; object-fit: contain; border-radius: 16px; }
.ebt-product-content { padding: 20px 20px 16px; flex: 1; display: flex; flex-direction: column; }
.ebt-product-title {
  margin: 0 0 8px; font-size: 18px; line-height: 1.35; letter-spacing: -.02em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ebt-product-summary {
  margin: 0 0 12px; color: var(--muted); line-height: 1.6; font-size: 13px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ebt-product-highlights { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.ebt-product-chip {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  color: #334155;
}
.ebt-product-price { margin-bottom: 14px; font-size: 22px; font-weight: 800; color: var(--primary); }
.ebt-product-price del { color: var(--muted); font-size: 14px; font-weight: 400; margin-inline-start: 6px; }
.ebt-product-actions { display: flex; gap: 10px; flex-wrap: nowrap; margin-top: auto; }
.ebt-product-actions .add_to_cart_button,
.ebt-product-actions .ebt-btn-primary,
.ebt-product-actions .ebt-btn-secondary,
.ebt-product-actions .ebt-product-details-btn {
  flex: 1;
  justify-content: center;
  font-size: 13px;
  min-height: 44px;
  text-align: center;
  display: inline-flex;
  align-items: center;
}
/* ATC button WooCommerce native styles override */
.ebt-product-actions a.button,
.ebt-product-actions button.button {
  flex: 1;
  justify-content: center;
  font-size: 13px;
  min-height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  padding: 0 16px;
}
.ebt-product-actions a.button:hover,
.ebt-product-actions button.button:hover {
  opacity: .9;
  transform: translateY(-1px);
}
/* "Added to cart" / "View Cart" link — hide inline, show as small check below actions */
.ebt-product-actions a.added_to_cart,
.ebt-product-card a.added_to_cart {
  display: none !important; /* suppressed via PHP filter; keep as safety net */
}

/* Button loading state during AJAX add-to-cart */
.ebt-product-actions .add_to_cart_button.loading {
  opacity: 0.7;
  pointer-events: none;
  position: relative;
}
.ebt-product-actions .add_to_cart_button.loading::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ebt-spin .6s linear infinite;
  margin-inline-start: 8px;
}
/* Button added state — show green checkmark */
.ebt-product-actions .add_to_cart_button.added {
  background: linear-gradient(135deg, #059669, #10b981) !important;
}
.ebt-product-actions .add_to_cart_button.added::before {
  content: '✓ ';
}
@keyframes ebt-spin { to { transform: rotate(360deg); } }

/* ── Metrics strip ───────────────────────────────────────────── */
.ebt-metrics-strip {
  background: linear-gradient(135deg, #0b4fcc 0%, #1565C0 40%, #0277bd 100%);
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}
.ebt-metrics-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(255,255,255,.06) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(255,255,255,.04) 0%, transparent 60%);
  pointer-events: none;
}
.ebt-metrics-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}
.ebt-metric-divider {
  flex-shrink: 0;
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,.22);
}
.ebt-metric {
  flex: 1;
  padding: 16px 24px;
  text-align: center;
}
.ebt-metric-icon {
  width: 44px; height: 44px;
  border-radius: 14px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
  color: #fff;
  transition: transform .3s ease, background .3s ease;
}
.ebt-metric:hover .ebt-metric-icon {
  background: rgba(255,255,255,.22);
  transform: scale(1.1) translateY(-2px);
}
.ebt-metric strong,
.ebt-metric-val {
  display: block;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -.04em;
  margin-bottom: 4px;
  color: #fff;
  transition: transform .3s ease;
  line-height: 1.1;
}
.ebt-metric:hover .ebt-metric-val { transform: scale(1.05); }
.ebt-metric span { display: block; color: rgba(255,255,255,.78); font-size: 13px; line-height: 1.6; }

/* Counter animation states */
.ebt-metric { transition: opacity .5s ease, transform .5s ease; }
.ebt-metric.counter-ready { opacity: 0; transform: translateY(18px); }
.ebt-metric.counter-visible { opacity: 1; transform: translateY(0); }

/* ── Solutions grid ──────────────────────────────────────────── */
.ebt-solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ebt-solution-card {
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
  padding: 22px;
  transition: .24s ease;
}
.ebt-solution-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.ebt-solution-icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(15,98,254,.12), rgba(20,184,166,.12));
  border: 1px solid rgba(15,98,254,.08);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.ebt-solution-card h3 { margin: 0 0 10px; font-size: 20px; letter-spacing: -.02em; }
.ebt-solution-card p { margin: 0 0 14px; color: var(--muted); line-height: 1.9; font-size: 14px; }

/* ── Process steps ───────────────────────────────────────────── */
.ebt-process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ebt-step {
  padding: 20px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.ebt-step-num {
  width: 42px; height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 900;
  margin-bottom: 14px;
  font-size: 18px;
}
.ebt-step h3 { margin: 0 0 8px; font-size: 18px; }
.ebt-step p { margin: 0; color: var(--muted); line-height: 1.85; font-size: 14px; }

/* ── CTA section ─────────────────────────────────────────────── */
.ebt-final-cta {
  background:
    radial-gradient(circle at 10% 30%, rgba(20,184,166,.25), transparent 40%),
    radial-gradient(circle at 90% 70%, rgba(15,98,254,.30), transparent 40%),
    linear-gradient(135deg, #0f172a 0%, #1e3a5f 60%, #0f172a 100%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 32px;
  box-shadow: 0 20px 60px rgba(15,23,42,.35);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}
.ebt-final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.ebt-final-cta .ebt-eyebrow {
  color: var(--accent) !important;
  background: rgba(20,184,166,.15) !important;
  border-color: rgba(20,184,166,.30) !important;
}
.ebt-final-cta .ebt-h2 {
  color: #ffffff !important;
  font-size: clamp(26px, 3vw, 38px);
  margin-bottom: 16px;
}
.ebt-final-cta .ebt-sub {
  color: rgba(255,255,255,.75) !important;
  font-size: 16px;
  line-height: 1.9;
}
.ebt-final-cta .ebt-final-cta-checks {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,.65);
}
.ebt-final-cta .ebt-final-cta-checks span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.80);
}
.ebt-final-cta .ebt-final-cta-checks span::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  background: rgba(20,184,166,.25);
  border: 1px solid rgba(20,184,166,.50);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4l3 3 5-6' stroke='%2314b8a6' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.ebt-final-cta-inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.ebt-final-cta-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.ebt-final-cta-actions .ebt-btn-secondary {
  background: rgba(255,255,255,.08) !important;
  border-color: rgba(255,255,255,.25) !important;
  color: #ffffff !important;
}
.ebt-final-cta-actions .ebt-btn-secondary:hover {
  background: rgba(255,255,255,.15) !important;
  border-color: rgba(255,255,255,.45) !important;
}

/* ── Why Us section ──────────────────────────────────────────── */
.ebt-why-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 32px;
  align-items: start;
}
.ebt-why-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.ebt-why-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: var(--shadow-soft);
  transition: .22s ease;
}
.ebt-why-point:hover { transform: translateX(-4px); box-shadow: var(--shadow); }
.ebt-why-point-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(15,98,254,.12), rgba(20,184,166,.12));
  border: 1px solid rgba(15,98,254,.1);
  display: grid;
  place-items: center;
  color: var(--primary);
}
.ebt-why-point-body h3 { margin: 0 0 4px; font-size: 15px; letter-spacing: -.01em; }
.ebt-why-point-body p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.85; }
.ebt-why-side { display: flex; flex-direction: column; gap: 16px; }
.ebt-side-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.ebt-side-stat-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  display: grid;
  place-items: center;
  font-size: 22px;
}
.ebt-side-stat strong { display: block; font-size: 28px; font-weight: 900; letter-spacing: -.04em; color: var(--primary); }
.ebt-side-stat span { display: block; font-size: 13px; color: var(--muted); }

/* why-us main column wrapper */
.ebt-why-main { display: flex; flex-direction: column; }

/* Solutions link row (below solution card CTAs) */
.ebt-link-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }

/* Header nav wrapper (semantic nav element inside .ebt-header) */
/* display:contents only on desktop — must not override the mobile display:none */
@media (min-width: 921px) {
  .ebt-nav-wrap { display: contents; } /* lets .ebt-nav styles apply directly */
}

/* Thank-you page containers */
.ebt-thankyou-status-bar { display: flex; flex-direction: column; }
.ebt-thankyou-copy { flex: 1; }

/* Thankyou item image (passed as class to WC get_image()) */
.ebt-ty-item-img { width: 80px; height: 80px; object-fit: contain; display: block; border-radius: 8px; }

/* ── Categories section (legacy small cards) ─────────────────── */
.ebt-categories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ebt-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  padding: 24px 16px;
  text-decoration: none;
  color: var(--text);
  transition: .24s ease;
  text-align: center;
}
.ebt-cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: var(--primary); }
.ebt-cat-icon {
  width: 58px; height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(15,98,254,.1), rgba(20,184,166,.1));
  border: 1px solid rgba(15,98,254,.08);
  display: grid;
  place-items: center;
  font-size: 26px;
}
.ebt-cat-name { font-size: 15px; font-weight: 700; letter-spacing: -.01em; margin: 0; }
.ebt-cat-count {
  font-size: 12px;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2px 10px;
}

/* ── Categories section v2 — Rich cards ─────────────────────── */
.ebt-categories-section { background: var(--bg); }

.ebt-cat2-head {
  text-align: center;
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.ebt-eyebrow-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(15,98,254,.08);
  border: 1px solid rgba(15,98,254,.15);
  border-radius: 50px;
  padding: 6px 16px;
}
.ebt-dot-pulse {
  width: 10px;
  height: 10px;
  min-width: 10px;
  min-height: 10px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  box-shadow: 0 0 0 3px rgba(34,197,94,.2);
  animation: pulse-green 1.8s infinite;
  display: inline-block;
}
@keyframes pulse-green {
  0%,100% { box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
  50%      { box-shadow: 0 0 0 6px rgba(34,197,94,.05); }
}
.ebt-btn-outline-primary {
  display: inline-block;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 10px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: .22s ease;
}
.ebt-btn-outline-primary:hover {
  background: var(--primary);
  color: #fff;
}

.ebt-cat2-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ebt-cat2-card {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(15,23,42,.05);
  padding: 28px 28px 24px;
  text-decoration: none;
  color: var(--text);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
  text-align: right;
}
.ebt-cat2-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15,98,254,.12);
  border-color: rgba(15,98,254,.25);
}
.ebt-cat2-card--all {
  background: linear-gradient(135deg, rgba(15,98,254,.06), rgba(20,184,166,.06));
  border: 1.5px dashed rgba(15,98,254,.3);
}
.ebt-cat2-card--all:hover {
  background: linear-gradient(135deg, rgba(15,98,254,.1), rgba(20,184,166,.1));
}
.ebt-cat2-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(15,98,254,.08), rgba(20,184,166,.08));
  border: 1px solid rgba(15,98,254,.1);
  display: grid;
  place-items: center;
  color: var(--primary);
  flex-shrink: 0;
}
.ebt-cat2-name {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  color: var(--text);
  letter-spacing: -.01em;
}
.ebt-cat2-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}
.ebt-cat2-arrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-top: 4px;
}

@media (max-width: 1024px) {
  .ebt-cat2-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .ebt-cat2-grid { grid-template-columns: 1fr; }
  .ebt-cat2-card { align-items: flex-end; text-align: right; }
}

/* ── Testimonials section ────────────────────────────────────── */
.ebt-testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 30px; }
.ebt-testimonial-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: .24s ease;
}
.ebt-testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ebt-testimonial-stars { display: flex; gap: 4px; color: #f59e0b; font-size: 16px; }
.ebt-testimonial-quote { flex: 1; margin: 0; font-size: 14px; line-height: 1.9; color: var(--muted); font-style: normal; }
.ebt-testimonial-author { display: flex; gap: 14px; align-items: center; }
.ebt-testimonial-avatar {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  letter-spacing: .02em;
}
.ebt-testimonial-author cite { display: block; font-size: 14px; font-weight: 700; font-style: normal; color: var(--text); }
.ebt-testimonial-author small { display: block; font-size: 12px; color: var(--muted); margin-top: 1px; }
.ebt-trust-stats {
  display: flex;
  justify-content: center;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.ebt-trust-stat {
  flex: 1;
  padding: 20px 10px;
  text-align: center;
  border-inline-end: 1px solid var(--line);
}
.ebt-trust-stat:last-child { border-inline-end: none; }
.ebt-trust-stat strong { display: block; font-size: 26px; font-weight: 900; letter-spacing: -.04em; color: var(--primary); }
.ebt-trust-stat span { display: block; font-size: 12px; color: var(--muted); }

/* ── Brands strip ────────────────────────────────────────────── */
.ebt-brands-note { text-align: center; font-size: 13px; color: var(--muted); margin-top: 18px; }
.ebt-brands-track-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.ebt-brands-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: ebtBrandsScroll 28s linear infinite;
}
.ebt-brands-track:hover { animation-play-state: paused; }
@keyframes ebtBrandsScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
/* RTL: reverse scroll direction */
[dir="rtl"] .ebt-brands-track { animation-direction: reverse; }
.ebt-brand-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 24px;
  min-width: 120px;
  white-space: nowrap;
  box-shadow: var(--shadow-soft);
  transition: .2s ease;
}
.ebt-brand-pill:hover { border-color: var(--primary); transform: translateY(-2px); }
.ebt-brand-pill strong { font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.ebt-brand-pill span { font-size: 11px; color: var(--muted); }

/* ── Blog section ────────────────────────────────────────────── */
.ebt-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ebt-blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: .24s ease;
  display: flex;
  flex-direction: column;
}
.ebt-blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.ebt-blog-card-img-wrap { position: relative; aspect-ratio: 16/9; overflow: hidden; flex-shrink: 0; }
.ebt-blog-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.ebt-blog-card-placeholder {
  width: 100%; height: 100%;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.6);
}
.ebt-blog-cat-badge {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  background: rgba(15,98,254,.9);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}
.ebt-blog-card-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ebt-blog-card-meta { display: flex; gap: 14px; font-size: 12px; color: var(--muted); align-items: center; }
.ebt-blog-card-meta svg { flex-shrink: 0; }
.ebt-blog-card-title { margin: 0; font-size: 16px; letter-spacing: -.02em; line-height: 1.5; }
.ebt-blog-card-title a { color: inherit; text-decoration: none; }
.ebt-blog-card-title a:hover { color: var(--primary); }
.ebt-blog-card-excerpt { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.85; flex: 1; }
.ebt-blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  margin-top: auto;
}
.ebt-blog-read-more:hover { gap: 10px; }
.ebt-blog-no-posts { text-align: center; padding: 40px 20px; color: var(--muted); }

/* ── Service card feature list (services page) ───────────────── */
.ebt-service-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  flex: 1;
}
.ebt-service-features li { display: flex; align-items: center; gap: 6px; }
.ebt-page-content { max-width: 760px; margin: 0 auto 40px; font-size: 16px; line-height: 1.9; color: var(--text); }

/* ── Projects section ────────────────────────────────────────── */
.ebt-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ebt-project-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: .24s ease;
  display: flex;
  flex-direction: column;
}
.ebt-project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.ebt-project-media {
  position: relative;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ebt-project-icon { font-size: 48px; filter: drop-shadow(0 4px 8px rgba(0,0,0,.2)); }
.ebt-project-year {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}
.ebt-project-cat-badge {
  position: absolute;
  bottom: 12px;
  inset-inline-start: 12px;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}
.ebt-project-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.ebt-project-title { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.ebt-project-client {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}
.ebt-project-desc { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.85; flex: 1; }
.ebt-project-tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ── Hero + section responsive ───────────────────────────────── */
@media (max-width: 1180px) {
  .ebt-hero-grid { grid-template-columns: 1fr; }
  .ebt-hero-visual { min-height: 400px; }
  .ebt-products-grid,
  .ebt-solutions-grid,
  .ebt-projects-grid,
  .ebt-blog-grid { grid-template-columns: 1fr 1fr; }
  .ebt-metrics-inner { flex-wrap: wrap; justify-content: center; gap: 4px; }
  .ebt-metrics-inner .ebt-metric { flex: 1 1 calc(33% - 8px); min-width: 120px; }
  .ebt-metrics-inner .ebt-metric-divider { display: none; }
  .ebt-process-grid,
  .ebt-categories-grid { grid-template-columns: repeat(3, 1fr); }
  .ebt-testimonials-grid { grid-template-columns: 1fr 1fr; }
  .ebt-why-grid { grid-template-columns: 1fr; }
  .ebt-final-cta-inner { grid-template-columns: 1fr; }
  .ebt-final-cta-actions { justify-content: flex-start; }
}
@media (max-width: 680px) {
  .ebt-hero-copy p { font-size: 16px; }
  .ebt-hero-cta { flex-direction: column; align-items: stretch; }
  .ebt-mockup-top,
  .ebt-products-grid,
  .ebt-solutions-grid,
  .ebt-process-grid,
  .ebt-metrics-inner .ebt-metric { flex: 1 1 calc(50% - 8px); }
  .ebt-blog-grid,
  .ebt-projects-grid,
  .ebt-testimonials-grid { grid-template-columns: 1fr; }
  .ebt-categories-grid { grid-template-columns: 1fr 1fr; }
  .ebt-mockup-cards { grid-template-columns: 1fr 1fr; }
  .ebt-section-head { flex-direction: column; align-items: flex-start; }
  .ebt-trust-stats { flex-wrap: wrap; }
  .ebt-trust-stat { min-width: 50%; border-inline-end: none; border-bottom: 1px solid var(--line); }
}

/* ── Legacy hero (kept for backward compat) ──────────────────── */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 40%, #f8fafc 100%);
  overflow: hidden;
  position: relative;
  padding-top: var(--navbar-height);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -20%;
  inset-inline-end: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
  border-radius: var(--radius-full);
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -10%;
  inset-inline-start: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.05) 0%, transparent 70%);
  border-radius: var(--radius-full);
  pointer-events: none;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  padding-block: var(--space-20);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  flex-shrink: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: var(--color-primary-100);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  padding: 0.375rem 0.875rem;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  margin-bottom: 1.5rem;
  gap: 0.375rem;
  text-decoration: none;
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero-title .highlight {
  color: var(--color-primary);
  position: relative;
}

.hero-description {
  font-size: var(--font-size-lg);
  color: var(--color-gray-600);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-trust {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--font-size-sm);
  color: var(--color-gray-600);
}

.hero-trust-item svg,
.hero-trust-item .icon {
  color: var(--color-success);
  flex-shrink: 0;
}

.hero-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero-cards-grid {
  display: grid;
  gap: 1rem;
  position: relative;
}

/* ==========================================================================
   8. SECTION STYLES
   ========================================================================== */

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-label {
  display: inline-block;
  background: var(--color-primary-50);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  padding: 0.375rem 1rem;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: var(--font-weight-bold);
  color: var(--color-navy);
  margin-bottom: 1rem;
  line-height: var(--line-height-tight);
}

.section-description {
  font-size: var(--font-size-lg);
  color: var(--color-gray-600);
  max-width: 560px;
  margin-inline: auto;
  line-height: var(--line-height-relaxed);
}

/* ==========================================================================
   9. BUTTON SYSTEM
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.625rem;
  font-size: 0.9375rem;
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
  font-family: inherit;
  line-height: 1.4;
  position: relative;
  outline: none;
}

.btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.35);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 16px 30px rgba(15,98,254,.24);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  color: var(--color-white);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
  background: var(--color-gray-100);
  color: var(--color-charcoal);
  box-shadow: none;
}

.btn-secondary:hover {
  background: var(--color-gray-200);
  color: var(--color-charcoal);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary-50);
  color: var(--color-primary);
}

.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  box-shadow: none;
}

.btn-ghost:hover {
  background: var(--color-primary-50);
  color: var(--color-primary-dark);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background: var(--color-primary-50);
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-lg);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: var(--font-size-lg);
  border-radius: 0.75rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: var(--font-size-sm);
  border-radius: var(--radius-sm);
}

.btn-icon {
  padding: 0.75rem;
  aspect-ratio: 1 / 1;
}

/* ==========================================================================
   10. CARD SYSTEM
   ========================================================================== */

.card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base),
              border-color var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  border-color: var(--color-primary-100);
}

.card-body {
  padding: 1.5rem;
}

.card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border-light);
}

.card-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--color-border-light);
}

.card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* Solution card variant */
.solution-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  padding: 1.75rem;
  transition: box-shadow var(--transition-base), transform var(--transition-base),
              border-color var(--transition-base);
}

.solution-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-color: var(--color-primary-100);
}

.solution-card .card-icon {
  width: 52px;
  height: 52px;
  background: var(--color-primary-50);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-primary);
}

/* Stat card variant */
.stat-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  padding: 1.75rem;
  text-align: center;
}

.stat-card .stat-number {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-card .stat-label {
  font-size: var(--font-size-sm);
  color: var(--color-gray-600);
  font-weight: var(--font-weight-medium);
}

/* ==========================================================================
   11. PRODUCT CARDS
   ========================================================================== */

.product-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-color: var(--color-primary-100);
}

.product-card-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--color-gray-50);
  flex-shrink: 0;
}

.product-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.product-card:hover .product-card-image-wrap img {
  transform: scale(1.05);
}

.product-card-badges {
  position: absolute;
  top: 0.75rem;
  inset-inline-start: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  z-index: 1;
}

/* Badge base */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  line-height: 1.4;
}

.badge-sale {
  background: var(--color-error);
  color: var(--color-white);
}

.badge-new {
  background: var(--color-success);
  color: var(--color-white);
}

.badge-featured {
  background: var(--color-cyan);
  color: var(--color-white);
}

.badge-out-of-stock {
  background: var(--color-gray-500);
  color: var(--color-white);
}

.product-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-category {
  font-size: var(--font-size-xs);
  color: var(--color-primary);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.375rem;
  text-decoration: none;
  display: block;
}

.product-card-title {
  margin-bottom: 0;
  flex: 1;
}

.product-card-title a {
  font-size: 1rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-charcoal);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.product-card-title a:hover {
  color: var(--color-primary);
}

.product-card-rating {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.5rem;
  font-size: var(--font-size-xs);
  color: var(--color-gray-500);
}

.product-card-price {
  margin-top: 0.625rem;
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-charcoal);
}

.product-card-price .price ins {
  color: var(--color-primary);
  text-decoration: none;
}

.product-card-price .price del {
  color: var(--color-gray-400);
  font-size: var(--font-size-sm);
  margin-inline-end: 0.375rem;
  text-decoration: line-through;
  font-weight: var(--font-weight-normal);
}

.product-card-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
}

.product-card-actions .btn-add-cart {
  flex: 1;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: 0.625rem;
  padding: 0.625rem 1rem;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
  font-family: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
}

.product-card-actions .btn-add-cart:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

.product-card-actions .btn-details {
  padding: 0.625rem 0.875rem;
  background: var(--color-gray-100);
  color: var(--color-charcoal);
  border: none;
  border-radius: 0.625rem;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-card-actions .btn-details:hover {
  background: var(--color-gray-200);
  color: var(--color-primary);
}

.product-card-quick-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border-top: 1px solid var(--color-border-light);
}

.product-card:hover .product-card-quick-actions {
  transform: translateY(0);
}

/* ==========================================================================
   12. SHOP ARCHIVE LAYOUT — ebt design
   ========================================================================== */

/* Hero banner above shop */
.ebt-shop-hero {
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%);
  padding: 40px 0 32px;
  border-bottom: 1px solid var(--line);
}
.ebt-shop-hero .woocommerce-breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.ebt-shop-hero .ebt-h1 { margin: 0 0 8px; font-size: clamp(22px, 3vw, 32px); }
.ebt-shop-hero-desc { font-size: 14px; color: var(--muted); max-width: 600px; }

/* Two-column shop layout: sidebar + main */
.ebt-shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
  padding-top: 36px;
  padding-bottom: 60px;
}
.ebt-shop-sidebar {
  position: sticky;
  top: calc(var(--topbar-height) + var(--navbar-height) + 16px);
  align-self: start;
}
.ebt-shop-main { min-width: 0; }

/* Toolbar */
.ebt-shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.ebt-shop-toolbar-start { font-size: 13px; color: var(--muted); }
.ebt-shop-toolbar-end { display: flex; align-items: center; gap: 10px; }

/* View toggle */
.ebt-view-toggle { display: flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.ebt-view-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 7px 12px;
  color: var(--muted);
  display: grid;
  place-items: center;
  transition: .15s ease;
}
.ebt-view-btn.is-active { background: var(--primary); color: #fff; }
.ebt-view-btn:hover:not(.is-active) { background: var(--bg); }

@media (max-width: 860px) {
  .ebt-shop-layout { grid-template-columns: 1fr; }
  .ebt-shop-sidebar { position: static; }
}

/* ==========================================================================
   ARCHIVE-PRODUCT v2 — based on product_archive_category_v2.html
   ========================================================================== */

/* Page wrapper */
.ebt-arc-page { padding: 28px 0 80px; }

/* Base card */
.ebt-arc-card {
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

/* ── Topline ──────────────────────────────────────────────────────── */
.ebt-arc-topline {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap; margin-bottom: 18px;
}
.ebt-arc-breadcrumbs {
  display: flex; gap: 8px; flex-wrap: wrap;
  color: var(--muted); font-size: 13px; font-weight: 600; align-items: center;
}
.ebt-arc-breadcrumbs a { color: var(--muted); text-decoration: none; transition: color .2s; }
.ebt-arc-breadcrumbs a:hover { color: var(--primary); }
.ebt-arc-breadcrumbs strong { color: var(--text); }
.ebt-arc-top-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Shared chip/btn overrides for arc context */
.ebt-arc-page .ebt-chip-btn {
  min-height: 40px; padding: 0 16px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px;
  background: rgba(255,255,255,.94); border: 1px solid var(--line);
  color: var(--text); box-shadow: var(--shadow-soft);
  text-decoration: none; transition: transform .2s, box-shadow .2s; cursor: pointer;
}
.ebt-arc-page .ebt-chip-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }

/* ── Hero ─────────────────────────────────────────────────────────── */
.ebt-arc-hero {
  padding: 32px;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 10% 20%, rgba(15,98,254,.07), transparent 22%),
    radial-gradient(circle at 88% 16%, rgba(20,184,166,.07), transparent 18%),
    linear-gradient(180deg,#ffffff,#f8fbff);
}
.ebt-arc-hero-grid {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 24px; align-items: center;
}
.ebt-arc-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.ebt-badge {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 800;
}
.ebt-badge.primary { color: var(--primary); background: rgba(15,98,254,.08); }
.ebt-badge.soft    { color: #334155; background: rgba(148,163,184,.12); }
.ebt-badge.success { color: #15803d; background: rgba(22,163,74,.10); }
.ebt-arc-title {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1.12; letter-spacing: -.04em; font-weight: 900;
}
.ebt-arc-summary {
  margin: 0; color: var(--muted); font-size: 15px; line-height: 1.9; max-width: 720px;
}
.ebt-arc-trustline {
  display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px;
}
.ebt-arc-trustline span {
  padding: 8px 13px; border-radius: 999px;
  background: rgba(255,255,255,.94); border: 1px solid var(--line);
  font-size: 13px; font-weight: 700; color: #334155;
}
.ebt-arc-hero-side { display: grid; gap: 12px; }
.ebt-arc-stat {
  padding: 16px 18px; border-radius: 18px;
  background: rgba(255,255,255,.88); border: 1px solid var(--line);
}
.ebt-arc-stat strong { display: block; font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.ebt-arc-stat p { margin: 0; color: var(--muted); line-height: 1.8; font-size: 13.5px; }
.ebt-arc-stat--accent { background: rgba(15,98,254,.05); border-color: rgba(15,98,254,.15); }
.ebt-arc-stat--accent strong { color: var(--primary); }

/* ── Filters bar ──────────────────────────────────────────────────── */
.ebt-arc-filters { margin-top: 18px; padding: 18px; }
.ebt-arc-filters-row {
  display: grid; grid-template-columns: 1.2fr repeat(3, minmax(0,1fr)) auto;
  gap: 12px; align-items: center;
}
.ebt-arc-search-box {
  min-height: 52px; display: flex; align-items: center; gap: 10px;
  padding: 0 16px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  color: #334155; font-weight: 600;
}
.ebt-arc-search-box svg { color: var(--muted); flex-shrink: 0; }
.ebt-arc-search-input {
  flex: 1; border: none; outline: none; background: transparent;
  font-size: 14px; font-family: inherit; color: var(--text);
}
.ebt-arc-search-input::placeholder { color: var(--muted); }

/* Dropdown filter boxes */
.ebt-arc-filter-box {
  min-height: 52px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 14px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-soft); color: #334155; font-weight: 700; font-size: 14px;
  position: relative; cursor: pointer; user-select: none;
  transition: border-color .2s;
}
.ebt-arc-filter-box:hover { border-color: var(--primary); }
.ebt-arc-filter-box:hover .ebt-arc-dropdown,
.ebt-arc-filter-box.is-open .ebt-arc-dropdown { display: flex; }
.ebt-arc-filter-label { display: flex; align-items: center; gap: 7px; }
.ebt-arc-filter-chevron { color: var(--muted); flex-shrink: 0; transition: transform .2s; }
.ebt-arc-filter-box.is-open .ebt-arc-filter-chevron { transform: rotate(180deg); }

/* Dropdown panel */
.ebt-arc-dropdown {
  display: none; flex-direction: column; gap: 2px;
  position: absolute; top: calc(100% + 8px);
  inset-inline-start: 0; min-width: 200px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); z-index: 50; padding: 6px;
}
.ebt-arc-dd-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 12px; border-radius: 10px;
  font-size: 13.5px; font-weight: 600; color: var(--text); text-decoration: none;
  transition: background .15s, color .15s;
}
.ebt-arc-dd-item:hover { background: var(--bg); color: var(--primary); }
.ebt-arc-dd-item.is-active { background: rgba(15,98,254,.08); color: var(--primary); font-weight: 800; }
.ebt-arc-dd-count {
  font-size: 11px; background: var(--bg); border-radius: 999px;
  padding: 2px 7px; color: var(--muted); font-weight: 600;
}
.ebt-arc-filter-chip {
  min-height: 52px; padding: 0 18px; border-radius: 16px;
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  font-size: 13.5px; font-weight: 700; color: #334155; text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.ebt-arc-filter-chip.is-active,
.ebt-arc-filter-chip:hover {
  background: rgba(15,98,254,.08); border-color: var(--primary); color: var(--primary);
}

/* ── Toolbar ──────────────────────────────────────────────────────── */
.ebt-arc-toolbar {
  margin-top: 14px; padding: 14px 18px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 14px; flex-wrap: wrap;
}
.ebt-arc-results { font-size: 14px; color: var(--muted); font-weight: 700; }
.ebt-arc-results .woocommerce-result-count { margin: 0; font-size: 14px; color: var(--muted); font-weight: 700; }
.ebt-arc-sort-wrap select,
.ebt-arc-sort-wrap .orderby {
  min-height: 40px; padding: 0 14px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff;
  font-size: 13.5px; font-weight: 700; color: var(--text); font-family: inherit;
  box-shadow: var(--shadow-soft); cursor: pointer; outline: none;
}
.ebt-arc-view-wrap { display: flex; gap: 10px; align-items: center; }
.ebt-arc-mobile-filter-btn { display: none; }

/* ── Main 2-col layout ────────────────────────────────────────────── */
.ebt-arc-main {
  margin-top: 18px;
  display: grid; grid-template-columns: 260px minmax(0,1fr);
  gap: 20px; align-items: start;
}

/* ── Sidebar ──────────────────────────────────────────────────────── */
.ebt-arc-sidebar {
  position: sticky;
  top: calc(var(--topbar-height, 42px) + var(--navbar-height, 86px) + 16px);
  padding: 20px;
}
.ebt-arc-side-group + .ebt-arc-side-group { margin-top: 20px; }
.ebt-arc-side-group h3 {
  margin: 0 0 10px; font-size: 15px; font-weight: 800; color: var(--text);
}
.ebt-arc-side-list { display: grid; gap: 8px; }
.ebt-arc-side-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line);
  color: #334155; font-size: 13.5px; font-weight: 700; text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.ebt-arc-side-item:hover { background: rgba(15,98,254,.06); color: var(--primary); border-color: rgba(15,98,254,.15); }
.ebt-arc-side-count {
  font-size: 11px; background: var(--bg); border-radius: 999px;
  padding: 2px 7px; color: var(--muted); font-weight: 600;
}
.ebt-arc-side-cta { display: flex; flex-direction: column; gap: 10px; }
.ebt-arc-side-cta .ebt-btn-primary,
.ebt-arc-side-cta .ebt-btn-secondary { justify-content: center; }

/* ── Grid wrap — overrides WC ul.products ─────────────────────────── */
.ebt-arc-grid-wrap {}
.ebt-arc-grid-wrap ul.ebt-products-grid {
  display: grid !important;
  grid-template-columns: repeat(3,1fr) !important;
  gap: 18px !important;
  list-style: none !important; margin: 0 !important; padding: 0 !important;
}
.ebt-arc-grid-wrap.view-list ul.ebt-products-grid {
  grid-template-columns: 1fr !important;
}
.ebt-arc-grid-wrap.view-list ul.ebt-products-grid .ebt-product-card {
  display: grid; grid-template-columns: 200px 1fr auto; align-items: center; gap: 0;
}
.ebt-arc-grid-wrap.view-list ul.ebt-products-grid .ebt-product-media {
  height: 160px; margin: 16px; border-radius: var(--radius-md); flex-shrink: 0;
}
.ebt-arc-grid-wrap.view-list ul.ebt-products-grid .ebt-product-badge-row { padding: 16px 0 0 16px; grid-column: 1; grid-row: 1; }

/* ── Shop archive: compact SQUARE cards ─────────────────────────────
   Override the base card to match the homepage's proportional feel:
   • Square image via aspect-ratio (removes the fixed 220px height)
   • Tighter padding
   • Summary hidden — keeps card compact without wasted whitespace
   ─────────────────────────────────────────────────────────────────── */
.ebt-arc-grid-wrap ul.ebt-products-grid .ebt-product-card {
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(15,23,42,.07);
}
.ebt-arc-grid-wrap ul.ebt-products-grid .ebt-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(15,23,42,.13);
}
.ebt-arc-grid-wrap ul.ebt-products-grid .ebt-product-media {
  height: auto;
  aspect-ratio: 1 / 1;
  margin: 12px 12px 0;
  border-radius: 14px;
}
.ebt-arc-grid-wrap ul.ebt-products-grid .ebt-product-badge-row {
  padding: 12px 12px 0;
}
.ebt-arc-grid-wrap ul.ebt-products-grid .ebt-product-content {
  padding: 14px 16px 14px;
  gap: 0;
}
.ebt-arc-grid-wrap ul.ebt-products-grid .ebt-product-title {
  font-size: 14.5px;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Hide verbose summary in shop grid for compact square cards */
.ebt-arc-grid-wrap ul.ebt-products-grid .ebt-product-summary {
  display: none;
}
.ebt-arc-grid-wrap ul.ebt-products-grid .ebt-product-highlights {
  margin-bottom: 10px;
  gap: 5px;
}
.ebt-arc-grid-wrap ul.ebt-products-grid .ebt-product-chip {
  font-size: 11px;
  padding: 3px 8px;
}
.ebt-arc-grid-wrap ul.ebt-products-grid .ebt-product-price {
  margin-bottom: 12px;
}
.ebt-arc-grid-wrap ul.ebt-products-grid .ebt-product-actions {
  gap: 8px;
  margin-top: auto;
}
.ebt-arc-grid-wrap ul.ebt-products-grid .ebt-product-actions .button,
.ebt-arc-grid-wrap ul.ebt-products-grid .ebt-product-actions a.button {
  min-height: 38px !important;
  font-size: 13px !important;
  padding: 0 12px !important;
}
.ebt-arc-grid-wrap ul.ebt-products-grid .ebt-product-details-btn {
  min-height: 38px;
  font-size: 13px;
  padding: 0 12px;
  border-radius: 10px;
}

/* ── Pagination ───────────────────────────────────────────────────── */
.ebt-arc-pagination { margin-top: 22px; padding: 16px 18px; }
.ebt-arc-pagination .woocommerce-pagination ul {
  display: flex; justify-content: center; gap: 8px; flex-wrap: wrap;
  list-style: none; margin: 0; padding: 0;
}
.ebt-arc-pagination .woocommerce-pagination ul li { display: flex; }
.ebt-arc-pagination .woocommerce-pagination ul li a,
.ebt-arc-pagination .woocommerce-pagination ul li span {
  min-width: 44px; min-height: 44px; padding: 0 14px;
  border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line); color: #334155;
  font-weight: 800; font-size: 14px; box-shadow: var(--shadow-soft);
  text-decoration: none; transition: background .2s, color .2s, border-color .2s;
}
.ebt-arc-pagination .woocommerce-pagination ul li a:hover {
  background: rgba(15,98,254,.06); border-color: var(--primary); color: var(--primary);
}
.ebt-arc-pagination .woocommerce-pagination ul li span.current {
  background: linear-gradient(135deg, var(--primary), #0a4ed1);
  color: #fff; border-color: transparent;
}

/* ── Empty state ──────────────────────────────────────────────────── */
.ebt-arc-empty {
  padding: 60px 32px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.ebt-arc-empty-icon { color: var(--muted); opacity: .4; }
.ebt-arc-empty h2 { font-size: 1.4rem; font-weight: 800; margin: 0; }
.ebt-arc-empty p  { color: var(--muted); font-size: 14px; max-width: 420px; margin: 0; line-height: 1.8; }

/* ── Buying guide ─────────────────────────────────────────────────── */
.ebt-arc-guide { margin-top: 24px; padding: 28px; }
.ebt-arc-guide-title {
  font-size: clamp(1.4rem,2.4vw,2rem); font-weight: 900;
  letter-spacing: -.03em; margin: 0 0 18px;
}
.ebt-arc-guide-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px;
}
.ebt-arc-panel {
  padding: 20px; border-radius: 18px;
  background: linear-gradient(180deg,#fff,#f9fbff);
  border: 1px solid var(--line);
}
.ebt-arc-panel h3 { margin: 0 0 10px; font-size: 17px; font-weight: 800; }
.ebt-arc-panel p  { margin: 0; color: var(--muted); line-height: 1.9; font-size: 14.5px; }
.ebt-arc-guide-list { display: grid; gap: 10px; }
.ebt-arc-guide-list div {
  padding: 11px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff;
  font-size: 13.5px; font-weight: 700; color: #334155;
}

/* ── FAQ ──────────────────────────────────────────────────────────── */
.ebt-arc-faq { margin-top: 20px; padding: 28px; }
.ebt-arc-faq-list { display: grid; gap: 12px; margin-top: 6px; }
.ebt-arc-faq-item {
  border-radius: 18px; border: 1px solid var(--line); background: #fff; overflow: hidden;
}
.ebt-arc-faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding: 18px 20px;
  background: none; border: none; cursor: pointer;
  font-size: 15.5px; font-weight: 800; color: var(--text); font-family: inherit;
  text-align: start;
}
.ebt-arc-faq-q:hover { color: var(--primary); }
.ebt-arc-faq-icon { flex-shrink: 0; color: var(--muted); transition: transform .25s; }
.ebt-arc-faq-q[aria-expanded="true"] .ebt-arc-faq-icon { transform: rotate(180deg); }
.ebt-arc-faq-a { padding: 0 20px 18px; }
.ebt-arc-faq-a p { margin: 0; color: var(--muted); line-height: 1.9; font-size: 14px; }

/* ── Responsive ───────────────────────────────────────────────────── */
/* 1180px: keep sidebar at 220px, drop to 2-col product grid */
@media (max-width: 1180px) {
  .ebt-arc-main { grid-template-columns: 220px minmax(0,1fr); }
  .ebt-arc-grid-wrap ul.ebt-products-grid { grid-template-columns: repeat(2,1fr) !important; }
}
/* 1020px: collapse sidebar, show mobile filter toggle */
@media (max-width: 1020px) {
  .ebt-arc-main { grid-template-columns: 1fr; }
  .ebt-arc-sidebar { position: static; }
  .ebt-arc-mobile-filter-btn { display: inline-flex; }
  .ebt-arc-sidebar[data-mobile-open="false"],
  .ebt-arc-sidebar.is-hidden { display: none; }
}
@media (max-width: 980px) {
  .ebt-arc-hero-grid { grid-template-columns: 1fr; }
  .ebt-arc-hero-side { grid-template-columns: repeat(2,1fr); display: grid; }
  .ebt-arc-filters-row { grid-template-columns: 1fr 1fr; }
  .ebt-arc-guide-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .ebt-arc-page { padding: 16px 0 60px; }
  .ebt-arc-hero { padding: 20px; }
  .ebt-arc-guide, .ebt-arc-faq { padding: 20px; }
  .ebt-arc-grid-wrap ul.ebt-products-grid { grid-template-columns: 1fr !important; }
  .ebt-arc-filters-row { grid-template-columns: 1fr; }
  .ebt-arc-toolbar { align-items: flex-start; }
  .ebt-arc-hero-side { grid-template-columns: 1fr; }
  .ebt-arc-topline { flex-direction: column; align-items: flex-start; }
}

/* ── Legacy shop layout (kept for backward compat) ───────────── */
.shop-page-wrapper {
  display: grid;
  grid-template-columns: var(--sidebar-width) 1fr;
  gap: 2rem;
  align-items: start;
}

.shop-filters-sidebar {
  position: sticky;
  top: calc(var(--navbar-height) + 1rem);
  align-self: start;
}

.filter-widget {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  margin-bottom: 1rem;
}

.filter-widget-title {
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-sm);
  color: var(--color-charcoal);
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  transition: background var(--transition-fast);
}

.filter-widget-title:hover {
  background: var(--color-gray-50);
}

.filter-widget-body {
  padding: 1rem 1.25rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.products-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.products-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
  gap: 1rem;
  flex-wrap: wrap;
}

.shop-result-count {
  color: var(--color-gray-600);
  font-size: var(--font-size-sm);
}

.shop-ordering {
  padding: 0.5rem 2.25rem 0.5rem 0.875rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  font-size: var(--font-size-sm);
  font-family: inherit;
  color: var(--color-charcoal);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  transition: border-color 0.2s;
}

[dir="rtl"] .shop-ordering {
  padding: 0.5rem 0.875rem 0.5rem 2.25rem;
  background-position: left 0.75rem center;
}

.shop-ordering:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.woocommerce-pagination,
.shop-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.375rem;
  margin-top: 3rem;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}

.woocommerce-pagination .page-numbers,
.shop-pagination a,
.shop-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.5rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-charcoal);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  transition: all 0.2s;
}

.woocommerce-pagination .page-numbers:hover,
.shop-pagination a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-50);
}

.woocommerce-pagination .page-numbers.current,
.shop-pagination .current {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

/* ==========================================================================
   13. SINGLE PRODUCT LAYOUT — ebt design
   ========================================================================== */

/* ebt single product wrapper */
.ebt-single-product {
  padding: 28px 0 60px;
}
.ebt-product-breadcrumb { margin-bottom: 20px; }
.ebt-product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}
.ebt-product-gallery-wrap {
  position: sticky;
  top: calc(var(--topbar-height) + var(--navbar-height) + 16px);
}
.ebt-product-summary-wrap { display: flex; flex-direction: column; gap: 16px; }
.ebt-product-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.ebt-product-quote-btn { align-self: flex-start; }
.ebt-product-tabs-section { margin-top: 8px; }

/* Checkout layout */
.ebt-checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  align-items: start;
  padding-top: 36px;
  padding-bottom: 60px;
}
.ebt-checkout-customer { min-width: 0; }
.ebt-checkout-fields { display: flex; flex-direction: column; gap: 20px; }
.ebt-checkout-section {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}
.ebt-checkout-review {
  position: sticky;
  top: calc(var(--topbar-height) + var(--navbar-height) + 16px);
}
.ebt-checkout-review-inner {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}
.ebt-checkout-review-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 860px) {
  .ebt-product-layout { grid-template-columns: 1fr; }
  .ebt-product-gallery-wrap { position: static; }
  .ebt-checkout-layout { grid-template-columns: 1fr; }
  .ebt-checkout-review { position: static; }
}

/* ── Thank-you page ──────────────────────────────────────────── */
.ebt-thankyou { padding: 36px 0 80px; }
.ebt-thankyou-hero {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  background:
    radial-gradient(circle at 12% 18%, rgba(15,98,254,.10), transparent 20%),
    radial-gradient(circle at 88% 16%, rgba(20,184,166,.10), transparent 18%),
    linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  margin-bottom: 24px;
}
.ebt-thankyou-icon { font-size: 48px; flex-shrink: 0; }
.ebt-thankyou-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(22,163,74,.1);
  color: #166534;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.ebt-thankyou-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 22px;
  align-items: start;
}
.ebt-thankyou-main { display: flex; flex-direction: column; gap: 16px; }
.ebt-thankyou-sidebar {
  position: sticky;
  top: calc(var(--topbar-height) + var(--navbar-height) + 16px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ebt-thankyou-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}
.ebt-thankyou-card-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.ebt-thankyou-meta { display: flex; flex-direction: column; gap: 0; }
.ebt-thankyou-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.ebt-thankyou-meta-row:last-child { border-bottom: none; }
.ebt-thankyou-meta-row strong { color: var(--text); }
.ebt-thankyou-meta-row--total { font-size: 16px; font-weight: 700; color: var(--text); }
.ebt-thankyou-meta-row--total strong { font-size: 20px; color: var(--primary); }
.ebt-thankyou-items { display: flex; flex-direction: column; gap: 12px; }
.ebt-ty-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg);
}
.ebt-ty-item-media { border-radius: 12px; overflow: hidden; background: #f0f7ff; }
.ebt-ty-item-media img { width: 80px; height: 80px; object-fit: contain; display: block; }
.ebt-ty-item-info h3 { margin: 0 0 4px; font-size: 14px; font-weight: 700; }
.ebt-ty-item-info p { margin: 0; font-size: 12px; color: var(--muted); }
.ebt-ty-item-price { font-size: 16px; font-weight: 800; color: var(--primary); white-space: nowrap; }
.ebt-next-steps { display: flex; flex-direction: column; gap: 10px; }
.ebt-next-step {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--bg);
  border: 1px solid var(--line);
}
.ebt-next-step strong { display: block; font-size: 14px; margin-bottom: 4px; }
.ebt-next-step p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.8; }
.ebt-ty-address { font-size: 14px; color: var(--muted); line-height: 1.9; font-style: normal; margin: 0; }
.ebt-thankyou-cta-card { display: flex; flex-direction: column; }
.ebt-ty-note {
  margin-top: 14px;
  padding: 12px 14px;
  background: rgba(20,184,166,.08);
  border: 1px solid rgba(20,184,166,.18);
  border-radius: var(--radius-md);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.ebt-thankyou-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  margin-bottom: 16px;
}
.ebt-thankyou-alert--fail { background: rgba(220,38,38,.08); color: #991b1b; border: 1px solid rgba(220,38,38,.18); }
.ebt-thankyou-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ebt-thankyou-noorder { text-align: center; padding: 60px 20px; display: flex; flex-direction: column; gap: 16px; align-items: center; }

@media (max-width: 860px) {
  .ebt-thankyou-grid { grid-template-columns: 1fr; }
  .ebt-thankyou-sidebar { position: static; }
  .ebt-ty-item { grid-template-columns: 64px 1fr; }
  .ebt-ty-item-price { grid-column: 2; }
}

/* ── Legacy single product layout ───────────────────────────── */
.single-product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: calc(var(--navbar-height) + 1.5rem);
  align-self: start;
}

.product-gallery-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-gray-50);
  aspect-ratio: 1 / 1;
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 0.2s ease;
}

.product-gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.gallery-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  object-fit: cover;
  transition: border-color 0.2s;
  display: block;
}

.gallery-thumb:hover {
  border-color: var(--color-primary-light);
}

.gallery-thumb.active {
  border-color: var(--color-primary);
}

/* Product info column */
.product-info {
  min-width: 0;
}

.product-info .product-category-link {
  font-size: var(--font-size-sm);
  color: var(--color-primary);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.product-info .product-category-link:hover {
  text-decoration: underline;
}

.product-info .product-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.2;
  margin: 0.5rem 0 1rem;
}

.product-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.product-price-box {
  background: var(--color-gray-50);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.product-price-box .price {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: var(--color-primary);
}

.product-price-box .price del {
  font-size: var(--font-size-lg);
  color: var(--color-gray-400);
  font-weight: var(--font-weight-normal);
  text-decoration: line-through;
  margin-inline-end: 0.5rem;
}

.product-price-box .price ins {
  text-decoration: none;
}

.product-short-description {
  color: var(--color-gray-700);
  line-height: var(--line-height-relaxed);
  margin-bottom: 1.5rem;
}

.product-cta-box {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.product-cta-box .btn-primary {
  padding: 1rem;
  font-size: var(--font-size-lg);
  text-align: center;
  width: 100%;
}

.product-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--color-gray-50);
  border-radius: var(--radius-xl);
  margin-bottom: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--font-size-sm);
  color: var(--color-gray-700);
}

.trust-item svg,
.trust-item .icon {
  color: var(--color-primary);
  flex-shrink: 0;
}

/* Product Tabs */
.product-tabs {
  margin-top: 3rem;
}

.tabs-nav {
  display: flex;
  border-bottom: 2px solid var(--color-border);
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tabs-nav::-webkit-scrollbar {
  display: none;
}

.tabs-nav button {
  padding: 0.875rem 1.5rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-gray-500);
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
  font-family: inherit;
  font-size: var(--font-size-base);
}

.tabs-nav button:hover {
  color: var(--color-charcoal);
}

.tabs-nav button.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.tab-panel {
  padding: 2rem 0;
  display: none;
}

.tab-panel.active {
  display: block;
}

/* ==========================================================================
   14. CART PAGE — ebt design
   ========================================================================== */

/* Cart two-column layout */
.ebt-cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
  padding-top: 36px;
  padding-bottom: 60px;
}
.ebt-cart-main { min-width: 0; }
.ebt-cart-table-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  margin-bottom: 16px;
}
.ebt-cart-continue { margin-top: 8px; }
.ebt-cart-sidebar {
  position: sticky;
  top: calc(var(--topbar-height) + var(--navbar-height) + 16px);
}
.ebt-cart-checkout-cta { margin-top: 14px; }

@media (max-width: 860px) {
  .ebt-cart-layout { grid-template-columns: 1fr; }
  .ebt-cart-sidebar { position: static; }
}

/* ── Legacy cart layout (kept for backward compat) ───────────── */
.cart-page-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  align-items: start;
}

.cart-items-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0.5rem;
}

.cart-items-table th {
  text-align: start;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-gray-500);
  padding: 0.5rem 1rem;
}

.cart-item-row {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.cart-item-row td {
  padding: 1rem;
  vertical-align: middle;
}

.cart-item-row td:first-child {
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
}

.cart-item-row td:last-child {
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
}

[dir="rtl"] .cart-item-row td:first-child {
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
}

[dir="rtl"] .cart-item-row td:last-child {
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
}

.cart-item-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}

.cart-item-details .name {
  font-weight: var(--font-weight-semibold);
  color: var(--color-charcoal);
  text-decoration: none;
  font-size: var(--font-size-base);
  display: block;
  margin-bottom: 0.25rem;
}

.cart-item-details .name:hover {
  color: var(--color-primary);
}

.cart-item-details .meta {
  font-size: var(--font-size-sm);
  color: var(--color-gray-500);
}

.cart-qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.cart-qty-btn {
  width: 32px;
  height: 32px;
  background: var(--color-gray-100);
  border: none;
  cursor: pointer;
  font-size: var(--font-size-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
  font-family: inherit;
  color: var(--color-charcoal);
  flex-shrink: 0;
}

.cart-qty-btn:hover {
  background: var(--color-gray-200);
}

.cart-qty-input {
  width: 48px;
  text-align: center;
  border: none;
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-base);
  font-family: inherit;
  color: var(--color-charcoal);
  padding: 0.25rem;
  background: var(--color-white);
  -moz-appearance: textfield;
}

.cart-qty-input::-webkit-outer-spin-button,
.cart-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-remove-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-gray-400);
  padding: 0.25rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast);
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-remove-btn:hover {
  color: var(--color-error);
}

.cart-item-total {
  font-weight: var(--font-weight-bold);
  color: var(--color-charcoal);
  font-size: var(--font-size-base);
}

/* Cart summary */
.cart-summary-box {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--navbar-height) + 1rem);
}

.cart-summary-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-navy);
  margin-bottom: 1.25rem;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--color-border-light);
  font-size: var(--font-size-sm);
}

.cart-summary-row:last-of-type {
  border-bottom: none;
}

.cart-summary-row .label {
  color: var(--color-gray-600);
}

.cart-summary-row .value {
  font-weight: var(--font-weight-semibold);
  color: var(--color-charcoal);
}

.cart-summary-total {
  font-size: var(--font-size-xl);
  font-weight: 800;
  color: var(--color-navy);
}

.cart-coupon-field {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.5rem;
}

.cart-coupon-field input {
  flex: 1;
  padding: 0.625rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: 0.625rem;
  font-size: var(--font-size-sm);
  font-family: inherit;
  transition: border-color 0.2s;
  background: var(--color-white);
  color: var(--color-charcoal);
}

.cart-coupon-field input:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

/* ==========================================================================
   15. CHECKOUT PAGE
   ========================================================================== */

.checkout-page-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: start;
}

.checkout-section {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

.checkout-section-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-navy);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border-light);
}

/* Form fields */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label,
.form-group .form-label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-gray-700);
  margin-bottom: 0.375rem;
}

.form-group label .required,
.form-group label abbr {
  color: var(--color-error);
  margin-inline-start: 0.125rem;
  text-decoration: none;
}

.form-control,
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="password"],
.form-group input[type="url"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: 0.625rem;
  font-size: var(--font-size-base);
  font-family: inherit;
  color: var(--color-charcoal);
  background: var(--color-white);
  transition: border-color 0.2s, box-shadow 0.2s;
  display: block;
}

.form-control:focus,
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="number"]:focus,
.form-group input[type="password"]:focus,
.form-group input[type="url"]:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Order review box */
.order-review-box {
  background: var(--color-gray-50);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--navbar-height) + 1rem);
}

.order-review-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-navy);
  margin-bottom: 1.25rem;
}

.order-review-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border-light);
}

.order-review-item:last-of-type {
  border-bottom: none;
}

.order-review-item-image {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  border: 1px solid var(--color-border);
}

.order-review-item-info {
  flex: 1;
  min-width: 0;
}

.order-review-item-name {
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
  color: var(--color-charcoal);
  margin-bottom: 0.125rem;
}

.order-review-item-qty {
  font-size: var(--font-size-xs);
  color: var(--color-gray-500);
}

.order-review-item-price {
  font-weight: var(--font-weight-bold);
  color: var(--color-charcoal);
  font-size: var(--font-size-sm);
  flex-shrink: 0;
}

/* Payment options */
.payment-options {
  margin-top: 1rem;
}

.payment-option {
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1rem 1.25rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.payment-option:hover {
  border-color: var(--color-primary-light);
  background: var(--color-primary-50);
}

.payment-option.selected {
  border-color: var(--color-primary);
  background: var(--color-primary-50);
}

.payment-option input[type="radio"] {
  width: auto;
  flex-shrink: 0;
}

.place-order-btn {
  width: 100%;
  padding: 1.125rem;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  border-radius: var(--radius-xl);
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
  display: block;
  text-align: center;
  box-shadow: 0 16px 30px rgba(15,98,254,.24);
  margin-top: 1.5rem;
}

.place-order-btn:hover {
  background: var(--color-primary-dark);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
  transform: translateY(-1px);
}

/* ==========================================================================
   16. MY ACCOUNT DASHBOARD
   ========================================================================== */

.account-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  align-items: start;
}

.account-sidebar {
  align-self: start;
  position: sticky;
  top: calc(var(--navbar-height) + 1rem);
}

.account-nav {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.account-nav-item {
  border-bottom: 1px solid var(--color-border-light);
}

.account-nav-item:last-child {
  border-bottom: none;
}

.account-nav-item a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-gray-700);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.account-nav-item a .nav-icon {
  color: var(--color-gray-400);
  flex-shrink: 0;
  transition: color 0.2s;
}

.account-nav-item.is-active a,
.account-nav-item a:hover {
  background: var(--color-primary-50);
  color: var(--color-primary);
}

.account-nav-item.is-active a .nav-icon,
.account-nav-item a:hover .nav-icon {
  color: var(--color-primary);
}

.account-content-panel {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  padding: 1.75rem;
}

.account-panel-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-navy);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border-light);
}

/* Orders table */
.orders-table {
  width: 100%;
  border-collapse: collapse;
}

.orders-table th {
  text-align: start;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-gray-500);
  padding: 0.75rem 1rem;
  border-bottom: 2px solid var(--color-border);
  white-space: nowrap;
}

.orders-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--color-border-light);
  font-size: var(--font-size-sm);
  color: var(--color-charcoal);
  vertical-align: middle;
}

.orders-table tr:last-child td {
  border-bottom: none;
}

.orders-table tbody tr:hover td {
  background: var(--color-gray-50);
}

/* Order status badges */
.order-status-badge {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-full);
  padding: 0.25rem 0.75rem;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  white-space: nowrap;
}

.status-processing {
  background: var(--color-primary-100);
  color: var(--color-primary);
}

.status-completed {
  background: #d1fae5;
  color: #065f46;
}

.status-cancelled {
  background: #fee2e2;
  color: #991b1b;
}

.status-pending {
  background: #fef3c7;
  color: #92400e;
}

.status-on-hold {
  background: var(--color-gray-100);
  color: var(--color-gray-700);
}

.status-refunded {
  background: #f3e8ff;
  color: #6b21a8;
}

/* ==========================================================================
   17. SEARCH
   ========================================================================== */

.search-results-header {
  padding: 3rem 0 2rem;
  background: var(--color-gray-50);
  border-bottom: 1px solid var(--color-border);
}

.search-query-label {
  font-size: var(--font-size-sm);
  color: var(--color-gray-500);
  margin-bottom: 0.375rem;
}

.search-query {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: var(--color-navy);
}

.search-results-count {
  font-size: var(--font-size-sm);
  color: var(--color-gray-600);
  margin-top: 0.5rem;
}

.search-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.search-result-item {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  text-decoration: none;
  color: inherit;
  display: block;
}

.search-result-item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.search-result-type-badge {
  display: inline-flex;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  padding: 0.1875rem 0.5rem;
  border-radius: var(--radius-full);
  background: var(--color-primary-100);
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.search-no-results {
  text-align: center;
  padding: 5rem 0;
}

.search-no-results-title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-navy);
  margin-bottom: 1rem;
}

.search-no-results-text {
  color: var(--color-gray-600);
  font-size: var(--font-size-lg);
  max-width: 480px;
  margin-inline: auto;
}

/* Live search dropdown */
.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 100%;
  padding: 0.875rem 1.25rem 0.875rem 3rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-xl);
  font-size: var(--font-size-base);
  font-family: inherit;
  color: var(--color-charcoal);
  background: var(--color-white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

[dir="rtl"] .search-input {
  padding: 0.875rem 3rem 0.875rem 1.25rem;
}

.search-input:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.search-input-icon {
  position: absolute;
  inset-inline-start: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-gray-400);
  pointer-events: none;
}

.live-search-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  inset-inline-end: 0;
  min-width: 500px;
  max-width: 600px;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
  z-index: 1001;
  display: none;
  overflow: hidden;
}

.live-search-dropdown.is-active {
  display: block;
}

.live-search-section-title {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  color: var(--color-gray-500);
  padding: 0.75rem 1rem 0.375rem;
  letter-spacing: 0.05em;
}

.live-search-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem 1rem;
  text-decoration: none;
  transition: background 0.15s;
  color: inherit;
}

.live-search-item:hover {
  background: var(--color-gray-50);
}

.live-search-item-image {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--color-border-light);
}

.live-search-item-info {
  flex: 1;
  min-width: 0;
}

.live-search-item-title {
  font-weight: var(--font-weight-semibold);
  color: var(--color-charcoal);
  font-size: var(--font-size-sm);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-search-item-meta {
  font-size: var(--font-size-xs);
  color: var(--color-gray-500);
  margin-top: 0.125rem;
}

.live-search-item-price {
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  font-size: var(--font-size-sm);
  flex-shrink: 0;
}

.live-search-footer {
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--color-border-light);
  text-align: center;
}

.live-search-footer a {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  text-decoration: none;
}

.live-search-footer a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   18. FOOTER — ebt-footer-shell design
   ========================================================================== */

.ebt-footer {
  margin-top: 70px;
  padding: 0 0 40px;
}

.ebt-footer-shell {
  background:
    radial-gradient(circle at 12% 14%, rgba(15,98,254,.09), transparent 20%),
    radial-gradient(circle at 88% 16%, rgba(20,184,166,.08), transparent 18%),
    linear-gradient(180deg, #ffffff, #f7fbff);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.ebt-footer-top {
  padding: 26px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.ebt-footer-brand h2 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: var(--text);
}

.ebt-footer-brand p {
  margin: 0;
  color: var(--muted);
  line-height: 1.95;
  font-size: 15px;
  max-width: 560px;
}

.ebt-footer-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  align-items: flex-start;
}

.ebt-footer-main {
  padding: 26px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 18px;
}

.ebt-footer-col h3 {
  margin: 0 0 12px;
  font-size: 16px;
  color: var(--text);
  font-weight: 700;
}

.ebt-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 4px;
}

.ebt-footer-list li { list-style: none; }

.ebt-footer-link,
.ebt-footer-list a {
  display: block;
  padding: 8px 0;
  color: #334155;
  font-size: 14px;
  text-decoration: none;
  transition: color .2s ease;
}

.ebt-footer-link:hover,
.ebt-footer-list a:hover {
  color: var(--primary);
  text-decoration: none;
}

.ebt-footer-contact-card {
  padding: 18px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
}

.ebt-footer-contact-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--text);
}

.ebt-footer-contact-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
  font-size: 14px;
}

.ebt-footer-bottom {
  padding: 20px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.ebt-footer-legal {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.ebt-footer-legal a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  transition: color .2s ease;
}

.ebt-footer-legal a:hover { color: var(--primary); }

/* Legacy footer classes (kept for backward compat) */
.site-footer { display: none; }
.footer-grid  { display: none; }

/* ==========================================================================
   19. CORPORATE PAGE STYLES
   ========================================================================== */

.page-hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(135deg, var(--color-gray-50), var(--color-primary-50));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232563eb' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.page-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 1rem;
  position: relative;
}

.page-hero-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-gray-600);
  max-width: 600px;
  margin-inline: auto;
  line-height: var(--line-height-relaxed);
  position: relative;
}

.page-hero-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  padding: 1.75rem;
  transition: box-shadow var(--transition-base), transform var(--transition-base),
              border-color var(--transition-base);
}

.service-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-color: var(--color-primary-100);
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  background: var(--color-primary-50);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-primary);
  flex-shrink: 0;
}

.service-icon-wrap svg {
  color: var(--color-primary);
  width: 24px;
  height: 24px;
}

.service-card-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-navy);
  margin-bottom: 0.625rem;
}

.service-card-desc {
  font-size: var(--font-size-sm);
  color: var(--color-gray-600);
  line-height: var(--line-height-relaxed);
}

/* Contact layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  align-items: start;
}

.contact-form-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  padding: 2rem;
}

.contact-info-card {
  background: linear-gradient(135deg, var(--color-navy), var(--color-charcoal));
  border-radius: var(--radius-2xl);
  padding: 2rem;
  color: var(--color-white);
  position: sticky;
  top: calc(var(--navbar-height) + 1rem);
}

.contact-info-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-item .info-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-white);
}

.contact-info-item .info-content .info-label {
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.contact-info-item .info-content .info-value {
  font-size: var(--font-size-base);
  color: var(--color-white);
  font-weight: var(--font-weight-medium);
}

.quote-form-section {
  max-width: 700px;
  margin-inline: auto;
}

/* ==========================================================================
   20. BREADCRUMB
   ========================================================================== */

.ibtikar-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  font-size: var(--font-size-sm);
  color: var(--color-gray-500);
  margin-bottom: 1.5rem;
  list-style: none;
  padding: 0;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item a {
  color: var(--color-gray-500);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumb-item a:hover {
  color: var(--color-primary);
}

.breadcrumb-sep {
  color: var(--color-gray-300);
  margin-inline: 0.25rem;
  user-select: none;
}

.breadcrumb-current {
  color: var(--color-charcoal);
  font-weight: var(--font-weight-medium);
}

/* ==========================================================================
   21. RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* --- 1200px: Laptop --- */
@media (max-width: 1200px) {
  .mega-menu-inner {
    grid-template-columns: 1fr 1fr 1fr 280px;
    gap: 1.25rem;
    padding: 1.5rem 1rem;
  }

  .footer-grid {
    grid-template-columns: 1.25fr 1fr 1fr 1fr;
    gap: 2rem;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- 1024px: Tablet landscape --- */
@media (max-width: 1024px) {
  /* Navbar */
  .navbar-nav {
    display: none;
  }

  .navbar-mobile-toggle {
    display: inline-flex;
  }

  /* Mega menu: 2 cols */
  .mega-menu-inner {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .mega-cta-card {
    display: none; /* hidden on tablet — shown in mobile menu */
  }

  /* Layouts */
  .shop-page-wrapper {
    grid-template-columns: 240px 1fr;
  }

  .single-product-layout {
    gap: 2rem;
  }

  .cart-page-layout {
    grid-template-columns: 1fr 300px;
  }

  .checkout-page-layout {
    grid-template-columns: 1fr 320px;
    gap: 1.5rem;
  }

  .account-layout {
    grid-template-columns: 200px 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr 340px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-cta-band {
    padding: 2rem;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Shop archive grid responsive */
@media (max-width: 900px) {
  .ebt-arc-grid-wrap ul.ebt-products-grid,
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
}
@media (max-width: 520px) {
  .ebt-arc-grid-wrap ul.ebt-products-grid,
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .ebt-arc-grid-wrap ul.ebt-products-grid .ebt-product-media {
    margin: 8px 8px 0;
  }
  .ebt-arc-grid-wrap ul.ebt-products-grid .ebt-product-content {
    padding: 10px 12px 12px;
  }
  .ebt-arc-grid-wrap ul.ebt-products-grid .ebt-product-title {
    font-size: 13px;
  }
}

/* --- 768px: Tablet portrait / narrow layouts --- */
@media (max-width: 768px) {
  /* ebt account layout collapses to single column */
  .ebt-account-layout { grid-template-columns: 1fr; }
  .ebt-account-sidebar { position: static; }
  .ebt-account-nav {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    border-radius: var(--radius-xl);
  }
  .ebt-account-nav::-webkit-scrollbar { display: none; }
  .woocommerce-MyAccount-navigation li a {
    white-space: nowrap;
    border-bottom: none;
    border-inline-end: 1px solid var(--line);
    padding: 12px 18px;
  }
  .woocommerce-MyAccount-navigation li:last-child a { border-inline-end: none; }

  /* ebt contact page */
  .ebt-contact-layout { grid-template-columns: 1fr; }
  .ebt-contact-card { position: static; }

  /* ebt why-us grid */
  .ebt-why-grid { grid-template-columns: 1fr; }

  /* ebt shop sidebar hidden on mobile (filter toggle via JS) */
  .ebt-shop-sidebar {
    display: none;
    position: static;
  }
  .ebt-shop-sidebar.is-visible { display: block; }
  .ebt-shop-layout { grid-template-columns: 1fr; }
  .ebt-shop-toolbar { flex-wrap: wrap; gap: 8px; }
}

/* ==========================================================================
   21b. EBT-FOOTER RESPONSIVE
   ========================================================================== */

@media (max-width: 1180px) {
  .ebt-footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .ebt-footer-top { grid-template-columns: 1fr; }
  .ebt-footer-cta { justify-content: flex-start; }
  .ebt-footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .ebt-footer-top,
  .ebt-footer-main { grid-template-columns: 1fr; }
  .ebt-footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   22. WOOCOMMERCE OVERRIDE RESETS
   ========================================================================== */

/* Reset WC product grid — shop archive: 3 cols (matches homepage) */
.woocommerce ul.products,
ul.ebt-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  float: none;
}
/* Homepage featured-products: 3 columns */
#featured-products .ebt-products-grid,
.ebt-section .ebt-products-grid:not(.woocommerce-loop) {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
}

.woocommerce ul.products li.product,
ul.ebt-products-grid li.product {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
}

/* Override WC button styles */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce-page a.button,
.woocommerce-page button.button,
.woocommerce-page input.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.625rem;
  font-size: 0.9375rem;
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
  font-family: inherit;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: 0 16px 30px rgba(15,98,254,.24);
  line-height: 1.4;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce-page a.button:hover,
.woocommerce-page button.button:hover,
.woocommerce-page input.button:hover {
  background: var(--color-primary-dark);
  color: var(--color-white);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
  transform: translateY(-1px);
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Remove default WC table cell padding */
.woocommerce table.shop_table {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border-collapse: collapse;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  padding: 0.875rem 1rem;
  border: none;
  border-bottom: 1px solid var(--color-border-light);
}

.woocommerce table.shop_table th {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-gray-500);
  background: var(--color-gray-50);
}

/* WC notices — styled as cards */
.woocommerce-notices-wrapper {
  margin-bottom: 1.5rem;
}

.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-info {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-xl);
  border: none;
  font-size: var(--font-size-sm);
  list-style: none;
  margin-bottom: 0.75rem;
}

.woocommerce-notices-wrapper .woocommerce-message {
  background: #d1fae5;
  color: #065f46;
  border-inline-start: 4px solid var(--color-success);
}

.woocommerce-notices-wrapper .woocommerce-error {
  background: #fee2e2;
  color: #991b1b;
  border-inline-start: 4px solid var(--color-error);
}

.woocommerce-notices-wrapper .woocommerce-info {
  background: var(--color-primary-100);
  color: var(--color-dark-blue);
  border-inline-start: 4px solid var(--color-primary);
}

.woocommerce-notices-wrapper ul.woocommerce-error {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.woocommerce-notices-wrapper ul.woocommerce-error li {
  background: #fee2e2;
  color: #991b1b;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid rgba(239, 68, 68, 0.15);
  list-style: none;
}

/* Override WC form field labels */
.woocommerce form .form-row label,
.woocommerce-page form .form-row label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-gray-700);
  margin-bottom: 0.375rem;
}

.woocommerce form .form-row .input-text,
.woocommerce form .form-row select,
.woocommerce-page form .form-row .input-text,
.woocommerce-page form .form-row select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: 0.625rem;
  font-size: var(--font-size-base);
  font-family: inherit;
  color: var(--color-charcoal);
  background: var(--color-white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.woocommerce form .form-row .input-text:focus,
.woocommerce form .form-row select:focus,
.woocommerce-page form .form-row .input-text:focus,
.woocommerce-page form .form-row select:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

/* Remove WC quantity input arrows */
.woocommerce .qty,
.woocommerce input[type=number].qty {
  -moz-appearance: textfield;
  appearance: textfield;
}

.woocommerce .qty::-webkit-outer-spin-button,
.woocommerce .qty::-webkit-inner-spin-button,
.woocommerce input[type=number].qty::-webkit-outer-spin-button,
.woocommerce input[type=number].qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* WC responsive products grid */
@media (max-width: 768px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   23. UTILITY CLASSES
   ========================================================================== */

/* Margin utilities */
.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }

.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

/* Padding utilities */
.pt-1 { padding-top: var(--space-1); }
.pt-2 { padding-top: var(--space-2); }
.pt-3 { padding-top: var(--space-3); }
.pt-4 { padding-top: var(--space-4); }
.pt-5 { padding-top: var(--space-5); }
.pt-6 { padding-top: var(--space-6); }
.pt-8 { padding-top: var(--space-8); }

.pb-1 { padding-bottom: var(--space-1); }
.pb-2 { padding-bottom: var(--space-2); }
.pb-3 { padding-bottom: var(--space-3); }
.pb-4 { padding-bottom: var(--space-4); }
.pb-5 { padding-bottom: var(--space-5); }
.pb-6 { padding-bottom: var(--space-6); }
.pb-8 { padding-bottom: var(--space-8); }

/* Border radius */
.rounded-full { border-radius: var(--radius-full); }
.rounded-xl   { border-radius: var(--radius-xl); }
.rounded-lg   { border-radius: var(--radius-lg); }
.rounded-md   { border-radius: var(--radius-md); }
.rounded-sm   { border-radius: var(--radius-sm); }
.rounded-none { border-radius: 0; }

/* Text color */
.text-primary { color: var(--color-primary); }
.text-gray    { color: var(--color-gray-600); }
.text-white   { color: var(--color-white); }
.text-navy    { color: var(--color-navy); }
.text-muted   { color: var(--color-gray-500); }
.text-success { color: var(--color-success); }
.text-error   { color: var(--color-error); }
.text-warning { color: var(--color-warning); }

/* Background */
.bg-primary    { background-color: var(--color-primary); }
.bg-primary-50 { background-color: var(--color-primary-50); }
.bg-gray-50    { background-color: var(--color-gray-50); }
.bg-gray-100   { background-color: var(--color-gray-100); }
.bg-white      { background-color: var(--color-white); }
.bg-navy       { background-color: var(--color-navy); }

/* Font weight */
.font-bold     { font-weight: var(--font-weight-bold); }
.font-semibold { font-weight: var(--font-weight-semibold); }
.font-medium   { font-weight: var(--font-weight-medium); }
.font-normal   { font-weight: var(--font-weight-normal); }

/* Display */
.hidden      { display: none !important; }
.block       { display: block; }
.inline-flex { display: inline-flex; }
.flex        { display: flex; }
.grid        { display: grid; }

/* Width */
.w-full { width: 100%; }

/* Text utilities */
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Aspect ratio */
.aspect-square { aspect-ratio: 1 / 1; }
.aspect-video  { aspect-ratio: 16 / 9; }
.aspect-4-3    { aspect-ratio: 4 / 3; }

/* Object fit */
.object-cover   { object-fit: cover; }
.object-contain { object-fit: contain; }

/* Overflow */
.overflow-hidden { overflow: hidden; }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed    { position: fixed; }
.sticky   { position: sticky; }

/* Pointer */
.cursor-pointer { cursor: pointer; }

/* Transition */
.transition { transition: all var(--transition-base); }

/* Opacity */
.opacity-0  { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.opacity-100 { opacity: 1; }

/* Divider */
.divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin-block: var(--space-6);
}

/* ═══════════════════════════════════════════════════════════════
   SHARED COMPONENTS (used across page templates)
═══════════════════════════════════════════════════════════════ */

/* Generic card */
.ebt-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  box-shadow: var(--shadow-soft);
}

/* Required star */
.ebt-required { color: #ef4444; margin-inline-start: 2px; }

/* Stat card (light version — used on about/projects) */
.ebt-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.ebt-stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ebt-stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ebt-stat-num {
  display: block;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900;
  letter-spacing: -.04em;
  color: var(--primary);
  margin-bottom: 4px;
}
.ebt-stat-label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* Pagination (shared) */
.ebt-pagination { margin-top: 40px; display: flex; justify-content: center; }
.ebt-pagination .nav-links { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: center; }
.ebt-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: 10px;
  font-size: 14px; font-weight: 600; color: var(--text);
  text-decoration: none; transition: .18s ease;
}
.ebt-pagination .page-numbers:hover { border-color: var(--primary); color: var(--primary); background: rgba(15,98,254,.05); }
.ebt-pagination .page-numbers.current { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Form elements (shared across contact/quote) */
.ebt-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ebt-form-group { display: flex; flex-direction: column; gap: 7px; }
.ebt-form-group label { font-size: 14px; font-weight: 600; color: var(--text); }
.ebt-form-control {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius-md);
  font-size: 14px; color: var(--text);
  background: #fff; outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
  font-family: inherit;
}
.ebt-form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(15,98,254,.1); }
textarea.ebt-form-control { resize: vertical; }

/* ── About Page ─────────────────────────────────────────────── */
.ebt-about-grid {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.ebt-about-text h2 { margin-bottom: 16px; }
.ebt-about-text p { color: var(--muted); line-height: 1.9; margin-bottom: 14px; }
.ebt-about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.ebt-about-why-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.ebt-about-why-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ebt-about-why-item:hover { transform: translateX(-3px); box-shadow: var(--shadow); }
.ebt-about-why-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(15,98,254,.12), rgba(20,184,166,.12));
  border: 1px solid rgba(15,98,254,.1);
  display: grid; place-items: center;
  color: var(--primary);
}
.ebt-about-why-item h4 { margin: 0 0 4px; font-size: 14px; letter-spacing: -.01em; }
.ebt-about-why-item p  { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.85; }

/* ── Contact Page ───────────────────────────────────────────── */
.ebt-contact-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}
.ebt-contact-info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ebt-contact-info-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.ebt-contact-info-item:last-child { border-bottom: none; padding-bottom: 0; }
.ebt-contact-info-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 10px;
  background: rgba(15,98,254,.08);
  border: 1px solid rgba(15,98,254,.12);
  display: grid; place-items: center;
  color: var(--primary);
}
.ebt-contact-info-item strong { display: block; font-size: 13px; font-weight: 700; margin-bottom: 2px; color: var(--text); }
.ebt-contact-info-item p { margin: 0; font-size: 13px; color: var(--muted); }
.ebt-contact-info-item a { color: var(--primary); text-decoration: none; }
.ebt-contact-info-item a:hover { text-decoration: underline; }

.ebt-whatsapp-card {
  display: flex; align-items: center; gap: 14px;
  background: #25d366;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-top: 16px;
  color: #fff; text-decoration: none;
  transition: opacity .18s ease, transform .18s ease;
}
.ebt-whatsapp-card:hover { opacity: .92; transform: translateY(-2px); color: #fff; }
.ebt-whatsapp-card-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 50%; background: rgba(255,255,255,.2);
  display: grid; place-items: center;
}
.ebt-whatsapp-card strong { display: block; font-size: 14px; font-weight: 700; }
.ebt-whatsapp-card span  { display: block; font-size: 12px; opacity: .85; }

.ebt-contact-quote-card {
  margin-top: 16px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 1.5px solid #bfdbfe;
}
.ebt-contact-quote-card h4 { margin: 0 0 6px; color: #1e40af; font-size: 15px; }
.ebt-contact-quote-card p  { margin: 0 0 14px; font-size: 13px; color: #1e40af; }

/* ── Solutions Page ─────────────────────────────────────────── */
.ebt-sol-cat { margin-bottom: 52px; }
.ebt-sol-cat:last-child { margin-bottom: 0; }
.ebt-sol-cat-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--line);
}
.ebt-sol-cat-icon { font-size: 28px; line-height: 1; }
.ebt-sol-items-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.ebt-sol-item-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ebt-sol-item-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(15,98,254,.25); }
.ebt-sol-item-card h3 { margin: 0; font-size: 16px; letter-spacing: -.02em; }
.ebt-sol-item-card p  { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.85; flex: 1; }
.ebt-sol-item-card .ebt-btn-secondary { align-self: flex-start; }

.ebt-sectors-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 8px;
}
.ebt-sector-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 12px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; color: var(--text);
  transition: transform .2s ease, border-color .2s ease;
  text-decoration: none;
}
.ebt-sector-card:hover { transform: translateY(-3px); border-color: var(--primary); color: var(--primary); }
.ebt-sector-icon { font-size: 28px; line-height: 1; }

/* ── Quote Page ─────────────────────────────────────────────── */
.ebt-quote-why-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.ebt-quote-why-item {
  display: flex; gap: 12px; align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  box-shadow: var(--shadow-soft);
}
.ebt-quote-why-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 10px;
  background: rgba(15,98,254,.08);
  border: 1px solid rgba(15,98,254,.12);
  display: grid; place-items: center;
  color: var(--primary);
}
.ebt-quote-why-item strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.ebt-quote-why-item p { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.7; }

.ebt-quote-form-wrap { max-width: 820px; margin: 0 auto; }

.ebt-form-step-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 20px;
}
.ebt-form-step-head .ebt-step-num {
  width: 36px; height: 36px; flex-shrink: 0;
  font-size: 16px; font-weight: 900;
}

.ebt-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  margin-top: 4px;
}
.ebt-checkbox-grid--sm { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.ebt-checkbox-label {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 13px; font-weight: 500; cursor: pointer;
  transition: border-color .16s ease, background .16s ease;
}
.ebt-checkbox-label:hover { border-color: var(--primary); background: rgba(15,98,254,.04); }
.ebt-checkbox-label input { accent-color: var(--primary); }
.ebt-form-disclaimer { text-align: center; font-size: 12px; color: var(--muted); margin-top: 10px; }

/* ── Projects: tag chips ────────────────────────────────────── */
.ebt-project-tag {
  display: inline-block;
  padding: 3px 10px;
  background: #eff6ff;
  color: var(--primary);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}

/* ── 404 Page ───────────────────────────────────────────────── */
.ebt-404-page { padding: 60px 0 80px; }
.ebt-404-content { max-width: 640px; margin: 0 auto; text-align: center; }
.ebt-404-code {
  font-size: clamp(80px, 14vw, 160px);
  font-weight: 900;
  letter-spacing: -.06em;
  color: var(--line);
  line-height: 1;
  margin-bottom: -10px;
}
.ebt-404-icon { margin-bottom: 10px; }
.ebt-404-title { font-size: clamp(20px, 3vw, 28px); font-weight: 800; margin: 0 0 6px; color: var(--text); }
.ebt-404-subtitle { font-size: 14px; color: var(--muted); margin: 0 0 12px; }
.ebt-404-desc { font-size: 14px; color: var(--muted); line-height: 1.85; margin: 0 0 28px; }
.ebt-404-search form { display: flex; gap: 10px; max-width: 440px; margin: 0 auto 28px; }
.ebt-404-search .search-input-wrapper { flex: 1; }
.ebt-404-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.ebt-404-links { margin-top: 10px; }
.ebt-404-links h2 { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 16px; }
.ebt-404-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.ebt-404-link-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 18px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-size: 13px; font-weight: 600; color: var(--text);
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease;
}
.ebt-404-link-card:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.ebt-404-link-icon { color: var(--muted); }
.ebt-404-link-card:hover .ebt-404-link-icon { color: var(--primary); }

/* ── Search Page ────────────────────────────────────────────── */
.ebt-search-refine { margin-top: 20px; }
.ebt-search-refine form { display: flex; flex-direction: column; gap: 12px; max-width: 500px; }
.ebt-search-type-filters { display: flex; gap: 18px; font-size: 13px; color: var(--muted); }
.ebt-search-type-filters label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.ebt-search-type-filters input { accent-color: var(--primary); }

.ebt-search-section { margin-bottom: 40px; }
.ebt-search-section-head {
  display: flex; align-items: center; gap: 12px;
  font-size: 18px; font-weight: 700;
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
}
.ebt-search-type-badge {
  display: inline-block; padding: 3px 10px;
  background: #eff6ff; color: var(--primary);
  border-radius: 6px; font-size: 12px; font-weight: 600;
}
.ebt-search-type-badge--product { background: #ecfdf5; color: #059669; }

.ebt-search-results-list { display: flex; flex-direction: column; gap: 14px; }
.ebt-search-result-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-soft);
}
.ebt-search-result-title { margin: 8px 0 8px; font-size: 17px; letter-spacing: -.02em; }
.ebt-search-result-title a { color: inherit; text-decoration: none; }
.ebt-search-result-title a:hover { color: var(--primary); }
.ebt-search-result-excerpt { margin: 0 0 12px; font-size: 13px; color: var(--muted); line-height: 1.85; }
.ebt-search-result-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 600; color: var(--primary);
  text-decoration: none;
}
.ebt-search-result-link:hover { gap: 8px; }

.ebt-search-no-results { text-align: center; padding: 40px 20px; }
.ebt-search-no-icon { margin-bottom: 16px; }
.ebt-search-no-results h2 { margin: 0 0 8px; font-size: 22px; }
.ebt-search-no-results > p { color: var(--muted); margin: 0 0 20px; }
.ebt-search-suggestions { display: inline-block; text-align: start; list-style: disc; padding-inline-start: 20px; color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.ebt-search-suggestions li { margin-bottom: 6px; }
.ebt-search-no-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Single Post ────────────────────────────────────────────── */
.ebt-post-hero {
  background:
    radial-gradient(circle at 10% 40%, rgba(15,98,254,.07), transparent 30%),
    linear-gradient(180deg, #fff, var(--bg));
  padding: 36px 0 40px;
  border-bottom: 1px solid var(--line);
}
.ebt-post-hero-inner { max-width: 760px; }
.ebt-post-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.ebt-post-cat-badge {
  display: inline-block; padding: 4px 12px;
  background: rgba(15,98,254,.1); color: var(--primary);
  border-radius: 20px; font-size: 12px; font-weight: 600;
  text-decoration: none; transition: background .18s ease;
}
.ebt-post-cat-badge:hover { background: var(--primary); color: #fff; }
.ebt-post-hero-title { margin-bottom: 16px; }
.ebt-post-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; color: var(--muted); }
.ebt-post-meta-item { display: flex; align-items: center; gap: 5px; }
.ebt-post-meta-item a { color: inherit; text-decoration: none; }
.ebt-post-meta-item a:hover { color: var(--primary); }

.ebt-post-layout { max-width: 760px; }
.ebt-post-article {}
.ebt-post-thumbnail { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 32px; }
.ebt-post-featured-img { width: 100%; height: auto; display: block; }
.ebt-post-content { font-size: 15px; line-height: 1.95; color: var(--text); }
.ebt-post-content h2, .ebt-post-content h3 { margin-top: 2em; letter-spacing: -.02em; }
.ebt-post-content p { margin-bottom: 1.4em; }
.ebt-post-content a { color: var(--primary); }
.ebt-post-content img { max-width: 100%; border-radius: 12px; }

.ebt-post-tags-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.ebt-post-tags-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.ebt-tag-link {
  display: inline-block; padding: 4px 12px;
  background: #f1f5f9; border: 1px solid var(--line);
  border-radius: 8px; font-size: 12px; color: var(--muted);
  text-decoration: none; transition: .16s ease;
}
.ebt-tag-link:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.ebt-author-bio {
  display: flex; gap: 20px; align-items: flex-start;
  background: #f8fafc; border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 22px 24px;
  margin-top: 32px;
}
.ebt-author-avatar { border-radius: 50%; width: 64px; height: 64px; flex-shrink: 0; }
.ebt-author-name { margin: 0 0 6px; font-size: 15px; }
.ebt-author-name a { color: inherit; text-decoration: none; }
.ebt-author-name a:hover { color: var(--primary); }
.ebt-author-desc { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.85; }

.ebt-post-nav { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.ebt-post-nav-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ebt-post-nav-link {
  display: flex; flex-direction: column; gap: 5px;
  padding: 16px 18px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-decoration: none; color: inherit;
  transition: border-color .18s ease, transform .18s ease;
}
.ebt-post-nav-link:hover { border-color: var(--primary); transform: translateY(-2px); }
.ebt-post-nav-label { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); font-weight: 600; }
.ebt-post-nav-title { font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.4; }
.ebt-post-nav-next .ebt-post-nav-label { justify-content: flex-end; }

.ebt-related-posts { margin-top: 48px; }

/* ── Page Template ──────────────────────────────────────────── */
.ebt-page-layout { min-width: 0; }
.ebt-page-layout--sidebar { display: grid; grid-template-columns: 1fr 280px; gap: 32px; align-items: start; }
.ebt-page-main { min-width: 0; }
.ebt-page-featured-image { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 28px; }
.ebt-page-featured-image img { width: 100%; height: auto; display: block; }
.ebt-page-content { font-size: 15px; line-height: 1.9; color: var(--text); }
.ebt-page-content h2, .ebt-page-content h3 { margin-top: 1.8em; letter-spacing: -.02em; }
.ebt-page-content p { margin-bottom: 1.3em; }
.ebt-page-content a { color: var(--primary); }
.ebt-page-content img { max-width: 100%; border-radius: 10px; }

/* ── My Account ─────────────────────────────────────────────── */
.ebt-account-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: start;
  padding: 36px 0 60px;
}
.ebt-account-sidebar {
  position: sticky;
  top: calc(var(--topbar-height) + var(--navbar-height) + 16px);
}
.ebt-account-nav {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.ebt-account-nav-user {
  display: flex; gap: 12px; align-items: center;
  padding: 18px 16px;
  background: linear-gradient(135deg, rgba(15,98,254,.05), rgba(20,184,166,.04));
  border-bottom: 1px solid var(--line);
}
.ebt-account-nav-avatar { border-radius: 50%; width: 44px; height: 44px; flex-shrink: 0; }
.ebt-account-nav-name  { display: block; font-size: 14px; font-weight: 700; color: var(--text); }
.ebt-account-nav-email { display: block; font-size: 12px; color: var(--muted); margin-top: 1px; }
.ebt-account-nav-list  { list-style: none; margin: 0; padding: 8px 0; }
.ebt-account-nav-item  {}
.ebt-account-nav-item a {
  display: block; padding: 10px 18px;
  font-size: 14px; font-weight: 500; color: var(--muted);
  text-decoration: none;
  transition: color .16s ease, background .16s ease;
}
.ebt-account-nav-item a:hover { color: var(--primary); background: rgba(15,98,254,.05); }
.ebt-account-nav-item.is-active a { color: var(--primary); font-weight: 700; background: rgba(15,98,254,.08); }
.ebt-account-content {}
.ebt-account-content-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  box-shadow: var(--shadow-soft);
  min-height: 300px;
}

/* ── Dashboard ──────────────────────────────────────────────── */
.ebt-dashboard { display: flex; flex-direction: column; gap: 24px; }

.ebt-dashboard-welcome {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: linear-gradient(135deg, rgba(15,98,254,.06), rgba(20,184,166,.04));
  border: 1px solid rgba(15,98,254,.1);
  border-radius: var(--radius-md);
  padding: 22px 24px;
}
.ebt-dashboard-welcome-title { margin: 0 0 6px; font-size: 18px; font-weight: 700; }
.ebt-dashboard-welcome-desc { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.8; }
.ebt-dashboard-welcome-desc a { color: var(--primary); }
.ebt-dashboard-avatar { border-radius: 50%; width: 56px; height: 56px; }

.ebt-dashboard-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.ebt-dashboard-action-card {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  text-decoration: none; color: var(--text);
  box-shadow: var(--shadow-soft);
  transition: border-color .18s ease, transform .18s ease;
}
.ebt-dashboard-action-card:hover { border-color: var(--primary); transform: translateY(-2px); color: var(--text); }
.ebt-dashboard-action-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(15,98,254,.1), rgba(20,184,166,.08));
  display: grid; place-items: center;
  color: var(--primary);
}
.ebt-dashboard-action-text { flex: 1; min-width: 0; }
.ebt-dashboard-action-text h3 { margin: 0 0 2px; font-size: 14px; font-weight: 700; }
.ebt-dashboard-action-text span { font-size: 12px; color: var(--muted); }
.ebt-dashboard-action-arrow { flex-shrink: 0; color: var(--muted); }

.ebt-dashboard-orders {}
.ebt-dashboard-orders-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.ebt-dashboard-orders-title { margin: 0; font-size: 15px; font-weight: 700; }
.ebt-dashboard-orders-link { font-size: 13px; color: var(--primary); font-weight: 600; text-decoration: none; }
.ebt-dashboard-orders-link:hover { text-decoration: underline; }

.ebt-dashboard-orders-table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--line); }
.ebt-dashboard-orders-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ebt-dashboard-orders-table th { padding: 11px 14px; background: #f8fafc; font-weight: 700; font-size: 12px; text-align: start; border-bottom: 1px solid var(--line); color: var(--muted); }
.ebt-dashboard-orders-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ebt-dashboard-orders-table tr:last-child td { border-bottom: none; }

.ebt-order-status-badge {
  display: inline-block; padding: 3px 10px;
  border-radius: 20px; font-size: 11px; font-weight: 700;
  background: #f1f5f9; color: var(--muted);
}
.ebt-order-status-badge--processing { background: #eff6ff; color: #2563eb; }
.ebt-order-status-badge--completed  { background: #ecfdf5; color: #059669; }
.ebt-order-status-badge--pending    { background: #fffbeb; color: #d97706; }
.ebt-order-status-badge--on-hold    { background: #fef3c7; color: #92400e; }
.ebt-order-status-badge--cancelled, .ebt-order-status-badge--failed { background: #fef2f2; color: #dc2626; }

.ebt-dashboard-orders-empty { text-align: center; padding: 36px 20px; }
.ebt-dashboard-orders-empty-icon { margin-bottom: 12px; }
.ebt-dashboard-orders-empty p { margin: 0 0 16px; color: var(--muted); font-size: 14px; }

/* Structural sub-elements */
.ebt-contact-form-col { min-width: 0; }
.ebt-contact-info-col { display: flex; flex-direction: column; gap: 0; }
.ebt-contact-form, .ebt-quote-form { display: flex; flex-direction: column; gap: 18px; }
.ebt-author-info { flex: 1; min-width: 0; }
.ebt-account-nav-user-info { min-width: 0; overflow: hidden; }
.ebt-dashboard-welcome-text { flex: 1; }
.ebt-dashboard-welcome-avatar { flex-shrink: 0; }
.ebt-post-nav-prev {}
.ebt-post-nav-next { text-align: end; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — new templates
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .ebt-sectors-grid { grid-template-columns: repeat(3, 1fr); }
  .ebt-sol-items-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .ebt-about-grid { grid-template-columns: 1fr; gap: 28px; }
  .ebt-contact-layout { grid-template-columns: 1fr; }
  .ebt-quote-why-strip { grid-template-columns: 1fr 1fr; }
  .ebt-stats-row { grid-template-columns: repeat(2, 1fr); }
  .ebt-dashboard-actions { grid-template-columns: 1fr; }
  .ebt-account-layout { grid-template-columns: 1fr; }
  .ebt-account-sidebar { position: static; }
  .ebt-post-nav-inner { grid-template-columns: 1fr; }
  .ebt-404-links-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .ebt-about-why-list { grid-template-columns: 1fr; }
  .ebt-about-stats { grid-template-columns: 1fr 1fr; }
  .ebt-sol-items-grid { grid-template-columns: 1fr; }
  .ebt-sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .ebt-form-row { grid-template-columns: 1fr; }
  .ebt-checkbox-grid { grid-template-columns: 1fr 1fr; }
  .ebt-page-layout--sidebar { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
  .ebt-quote-why-strip { grid-template-columns: 1fr; }
  .ebt-stats-row { grid-template-columns: 1fr 1fr; }
  .ebt-sectors-grid { grid-template-columns: repeat(3, 1fr); }
  .ebt-404-links-grid { grid-template-columns: repeat(2, 1fr); }
  .ebt-checkbox-grid { grid-template-columns: 1fr; }
  .ebt-card { padding: 20px 18px; }
  .ebt-dashboard-welcome { flex-direction: column; align-items: flex-start; }
}

/* =====================================================
   No Results (content-none.php)
   ===================================================== */
.ebt-no-results {
  padding: 64px 0;
}
.ebt-no-results-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.ebt-no-results-icon {
  color: var(--muted);
  opacity: .5;
}
.ebt-no-results-content { display: flex; flex-direction: column; gap: 8px; }
.ebt-no-results-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--heading, #0f172a);
  margin: 0;
}
.ebt-no-results-desc {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.7;
  margin: 0;
}
.ebt-no-results-search { width: 100%; max-width: 420px; }
.ebt-no-results-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.ebt-no-results-cats { width: 100%; }
.ebt-no-results-cats-title {
  font-size: .85rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 0 0 12px;
}
.ebt-no-results-cats-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.ebt-no-results-cat-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--bg, #f4f7fb);
  border: 1px solid var(--line, #e2e8f0);
  color: var(--muted);
  font-size: .85rem;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.ebt-no-results-cat-tag:hover {
  background: var(--primary, #0f62fe);
  border-color: var(--primary, #0f62fe);
  color: #fff;
}
.ebt-no-results-cat-count { opacity: .7; }

/* ═══════════════════════════════════════════════════════════════
   EBT PV2 — Single Product v2 Advanced Design
   ═══════════════════════════════════════════════════════════════ */

/* Sub-topbar */
.ebt-pv2-topbar {
  position: sticky;
  top: calc(var(--topbar-height, 42px) + var(--navbar-height, 86px));
  z-index: 90;
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,.88);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(15,23,42,.06);
}
.ebt-pv2-topbar-inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 10px 0;
}
.ebt-pv2-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  align-items: center;
}
.ebt-pv2-breadcrumbs a { color: var(--muted); }
.ebt-pv2-breadcrumbs a:hover { color: var(--primary); }
.ebt-pv2-top-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Page wrapper */
.ebt-pv2-page { padding: 28px 0 80px; }
.ebt-pv2-product { }

/* Hero layout */
.ebt-pv2-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 24px;
}

/* Card base */
.ebt-pv2-card {
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl, 28px);
  box-shadow: var(--shadow-soft);
}
.ebt-card-pad { padding: 22px; }

/* Gallery card */
.ebt-pv2-gallery { padding: 16px; overflow: hidden; }
.ebt-pv2-gallery .woocommerce-product-gallery { margin: 0 !important; }

/* Info column */
.ebt-pv2-info { display: grid; gap: 18px; }

/* Copy card */
.ebt-pv2-copy { padding: 22px; }
.ebt-pv2-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.ebt-pv2-copy .ebt-badge-primary,
.ebt-pv2-copy .ebt-badge-soft,
.ebt-pv2-copy .ebt-badge-success { }
.ebt-pv2-copy h1.product_title {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  line-height: 1.12;
  letter-spacing: -.04em;
}
.ebt-pv2-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}
.ebt-pv2-meta a { color: var(--primary); }
.ebt-pv2-summary { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.9; }
.ebt-pv2-highlight-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ebt-pv2-highlight {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 800;
  color: #334155;
}

/* Sticky purchase card */
.ebt-pv2-sticky-card {
  position: sticky;
  top: calc(var(--topbar-height, 42px) + var(--navbar-height, 86px) + 58px + 16px);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ebt-pv2-price { }
.ebt-pv2-price .price {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--primary);
}
.ebt-pv2-price .price del { font-size: 16px; color: var(--muted); }
.ebt-pv2-cta-stack { display: grid; gap: 10px; }
.ebt-pv2-cta-stack .cart { display: contents; }
.ebt-pv2-cta-stack .cart .woocommerce-variation-add-to-cart,
.ebt-pv2-cta-stack .ebt-atc-form { display: contents; }
.ebt-pv2-cta-stack .ebt-atc-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
}
.ebt-pv2-cta-stack .single_add_to_cart_button,
.ebt-pv2-cta-stack .ebt-atc-btn {
  width: 100%;
  justify-content: center;
}
.ebt-pv2-trust-list { display: grid; gap: 8px; }
.ebt-pv2-trust-list div {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(15,98,254,.03);
  border: 1px solid rgba(15,23,42,.06);
  font-size: 13px;
  color: #334155;
  line-height: 1.6;
}
.ebt-pv2-note {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(20,184,166,.08);
  color: var(--text);
  font-size: 13px;
  line-height: 1.7;
  border: 1px solid rgba(20,184,166,.16);
}
.ebt-pv2-meta-strip .product_meta { font-size: 12px; color: var(--muted); margin: 0; }
.ebt-pv2-meta-strip .product_meta a { color: var(--primary); }

/* Section titles */
.ebt-section-title {
  margin: 0 0 14px;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.18;
  letter-spacing: -.03em;
}
.ebt-section-sub { margin: 0 0 16px; color: var(--muted); line-height: 1.9; font-size: 14px; }

/* Trust strip */
.ebt-pv2-trust-strip { padding: 22px; margin-bottom: 24px; }
.ebt-pv2-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.ebt-pv2-trust-box {
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg,#fff,#f8fbff);
  border: 1px solid var(--line);
}
.ebt-pv2-trust-box strong { display: block; margin-bottom: 6px; font-size: 14px; }
.ebt-pv2-trust-box p { margin: 0; color: var(--muted); line-height: 1.75; font-size: 12px; }

/* Specs */
.ebt-pv2-specs { padding: 22px; margin-bottom: 24px; }
.ebt-pv2-specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ebt-pv2-spec-group {
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg,#fff,#f9fbff);
  border: 1px solid var(--line);
}
.ebt-pv2-spec-group h3 { margin: 0 0 10px; font-size: 16px; }
.ebt-pv2-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.ebt-pv2-chip {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(15,98,254,.07);
  color: #163259;
  font-size: 12px;
  font-weight: 800;
}

/* Description / tabs section */
.ebt-pv2-description { padding: 22px; margin-bottom: 24px; }
.ebt-pv2-tabs-wrap { margin-top: 0; }

/* Product tabs override */
.ebt-product-tabs .ebt-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  border-bottom: 2px solid var(--line);
}
.ebt-product-tabs .ebt-tab-item { margin: 0; padding: 0; }
.ebt-product-tabs .ebt-tab-item a {
  display: block;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color .2s, border-color .2s;
}
.ebt-product-tabs .ebt-tab-item.active a,
.ebt-product-tabs .ebt-tab-item a:hover { color: var(--primary); border-bottom-color: var(--primary); }
.ebt-product-tabs .ebt-tab-panel { padding: 0; }

/* Related products grid */
.ebt-pv2-related { padding: 22px; margin-bottom: 24px; }
.ebt-pv2-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.ebt-pv2-related-card {
  padding: 16px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: .24s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ebt-pv2-related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ebt-pv2-related-media {
  display: block;
  min-height: 180px;
  border-radius: 16px;
  background: linear-gradient(135deg,#f7fbff,#edf4fb);
  border: 1px solid rgba(15,23,42,.05);
  overflow: hidden;
}
.ebt-pv2-related-media img,
.ebt-related-img { width: 100%; height: 180px; object-fit: cover; border-radius: 16px; display: block; }
.ebt-pv2-related-card h3 { margin: 0; font-size: 16px; line-height: 1.3; }
.ebt-pv2-related-card h3 a { color: var(--text); }
.ebt-pv2-related-card h3 a:hover { color: var(--primary); }
.ebt-pv2-related-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.ebt-related-price { font-size: 14px; font-weight: 800; color: var(--primary); }
.ebt-pv2-related-card .ebt-btn-secondary { align-self: flex-start; margin-top: auto; }

/* Final CTA */
.ebt-pv2-final {
  padding: 28px;
  margin-bottom: 24px;
  background:
    radial-gradient(circle at 12% 20%, rgba(15,98,254,.08), transparent 22%),
    radial-gradient(circle at 88% 18%, rgba(20,184,166,.08), transparent 18%),
    linear-gradient(180deg,#ffffff,#f7fbff);
}
.ebt-pv2-final-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.ebt-pv2-final-copy h2 { margin: 0 0 10px; font-size: clamp(1.2rem,2.2vw,1.7rem); line-height: 1.2; letter-spacing: -.03em; }
.ebt-pv2-final-copy p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.ebt-pv2-final-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── Cart v2 redesign ─────────────────────────────────────────── */
.ebt-flow-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) 360px;
  gap: 22px;
  align-items: start;
  padding: 32px 0 80px;
}
.ebt-flow-title {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -.04em;
}
.ebt-flow-sub { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.ebt-cart-cards-list { display: grid; gap: 14px; margin-top: 20px; }
.ebt-cart-item-card {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  transition: box-shadow .2s;
}
.ebt-cart-item-card:hover { box-shadow: var(--shadow-soft); }
.ebt-cart-item-media {
  min-height: 90px;
  border-radius: 14px;
  background: linear-gradient(135deg,#f7fbff,#edf4fb);
  border: 1px solid rgba(15,23,42,.05);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ebt-cart-item-media img,
.ebt-cart-item-img { width: 100%; height: 90px; object-fit: cover; border-radius: 14px; display: block; }
.ebt-cart-item-name { margin: 0 0 6px; font-size: 16px; }
.ebt-cart-item-name a { color: var(--text); }
.ebt-cart-item-name a:hover { color: var(--primary); }
.ebt-cart-item-desc { margin: 0 0 10px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.ebt-cart-item-qty-wrap { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.ebt-cart-qty-label { font-size: 12px; font-weight: 700; color: var(--muted); }
.ebt-cart-item-qty-wrap .quantity { display: flex; align-items: center; }
.ebt-cart-item-qty-wrap .quantity input { min-height: 36px; width: 60px; border-radius: 10px; }
.ebt-cart-item-side { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; min-width: 100px; }
.ebt-cart-item-price { font-size: 18px; font-weight: 900; color: var(--primary); }
.ebt-cart-item-unit-price { font-size: 12px; color: var(--muted); display: flex; gap: 4px; align-items: center; }
.ebt-cart-unit-label { }
.ebt-cart-item-remove { margin-top: auto; }
.ebt-cart-remove-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  transition: color .2s, border-color .2s;
}
.ebt-cart-remove-btn:hover { color: #dc2626; border-color: rgba(220,38,38,.3); }
.ebt-cart-backorder { margin: 4px 0 0; font-size: 12px; color: #f59e0b; }
.ebt-cart-actions-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.ebt-cart-coupon { flex: 1; min-width: 240px; }
.ebt-coupon-group { display: flex; gap: 8px; }
.ebt-coupon-group input { flex: 1; min-height: 44px; border-radius: 12px; border: 1px solid var(--line); padding: 0 14px; font: inherit; }
.ebt-cart-update-btn { display: flex; align-items: center; gap: 6px; }
.ebt-cart-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 20px;
}
.ebt-cart-continue { margin-top: 16px; }

/* Flow summary sidebar */
.ebt-flow-summary-card { padding: 22px; position: sticky; top: calc(var(--topbar-height,42px) + var(--navbar-height,86px) + 16px); }
.ebt-flow-summary-title { margin: 0 0 14px; font-size: 20px; font-weight: 800; }
.ebt-flow-cta-stack { display: grid; gap: 10px; margin-top: 16px; }
.ebt-btn-full { width: 100%; justify-content: center; }

/* ── Thank-you page v2 ────────────────────────────────────────── */
.ebt-ty-hero {
  padding: 28px;
  background:
    radial-gradient(circle at 12% 18%, rgba(15,98,254,.10), transparent 20%),
    radial-gradient(circle at 88% 16%, rgba(20,184,166,.10), transparent 18%),
    linear-gradient(180deg,#ffffff,#f8fbff);
  margin-bottom: 24px;
}
.ebt-ty-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(22,163,74,.10);
  color: #166534;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 14px;
}
.ebt-ty-steps { display: grid; gap: 12px; margin-top: 20px; }
.ebt-ty-step {
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}
.ebt-ty-step strong { display: block; margin-bottom: 6px; font-size: 15px; }
.ebt-ty-step p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.ebt-ty-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 22px;
  align-items: start;
  margin-bottom: 24px;
}
.ebt-ty-main { display: flex; flex-direction: column; gap: 16px; }
.ebt-ty-sidebar { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--topbar-height,42px) + var(--navbar-height,86px) + 16px); }
.ebt-ty-card-title { margin: 0 0 14px; font-size: 18px; font-weight: 800; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.ebt-ty-meta { display: flex; flex-direction: column; }
.ebt-ty-meta-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: #334155; }
.ebt-ty-meta-row:last-child { border-bottom: none; }
.ebt-ty-meta-total { font-weight: 700; }
.ebt-ty-meta-total strong { color: var(--primary); font-size: 18px; }
.ebt-ty-items { display: flex; flex-direction: column; gap: 12px; }
.ebt-ty-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; }
.ebt-ty-item-media { border-radius: 12px; overflow: hidden; background: #f7fbff; }
.ebt-ty-img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; display: block; }
.ebt-ty-item-info h3 { margin: 0 0 4px; font-size: 15px; }
.ebt-ty-item-info p { margin: 0; color: var(--muted); font-size: 13px; }
.ebt-ty-item-price { font-weight: 800; font-size: 15px; color: var(--primary); white-space: nowrap; }
.ebt-ty-address { font-style: normal; color: var(--muted); font-size: 14px; line-height: 1.9; margin: 0; }
.ebt-ty-cta-card { display: flex; flex-direction: column; }
.ebt-ty-failed { text-align: center; }
.ebt-ty-alert {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 18px; border-radius: 14px;
  background: rgba(220,38,38,.08); color: #991b1b;
  border: 1px solid rgba(220,38,38,.18);
  font-weight: 700; margin-bottom: 16px;
}
.ebt-ty-alert-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.ebt-ty-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.ebt-ty-related-img { width: 100%; height: 160px; object-fit: cover; border-radius: 14px; display: block; }

/* ── My Account sub-pages ─────────────────────────────────────── */
.ebt-account-orders { }
.ebt-orders-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.ebt-orders-table thead tr { background: rgba(15,98,254,.04); }
.ebt-orders-table th {
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  text-align: start;
  border-bottom: 2px solid var(--line);
}
.ebt-orders-table td {
  padding: 14px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.ebt-orders-table tr:last-child td { border-bottom: none; }
.ebt-order-link { font-weight: 800; color: var(--primary); }
.ebt-order-link:hover { text-decoration: underline; }
.ebt-order-status {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.ebt-order-status--processing { background: rgba(15,98,254,.1); color: var(--primary); }
.ebt-order-status--completed { background: rgba(22,163,74,.1); color: #16a34a; }
.ebt-order-status--pending,
.ebt-order-status--on-hold { background: rgba(245,158,11,.1); color: #b45309; }
.ebt-order-status--cancelled,
.ebt-order-status--failed,
.ebt-order-status--refunded { background: rgba(220,38,38,.1); color: #dc2626; }
.ebt-order-action-btn { font-size: 13px; min-height: 36px; padding: 0 12px; }
.ebt-account-pagination { display: flex; gap: 10px; margin-top: 16px; }
.ebt-account-empty { padding: 40px 20px; text-align: center; display: flex; flex-direction: column; gap: 16px; align-items: center; color: var(--muted); }
.ebt-account-view-order { }
.ebt-order-notes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ebt-order-note { }
.ebt-order-note-meta { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.ebt-order-note-content { font-size: 14px; color: var(--text); line-height: 1.8; }
.ebt-account-form-wrap { }
.ebt-account-form { }
.ebt-account-downloads { }
.ebt-account-form .ebt-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ebt-account-form .ebt-field.full { grid-column: 1 / -1; }
.ebt-account-form .ebt-field { display: flex; flex-direction: column; gap: 6px; }
.ebt-account-form .ebt-field label { font-size: 13px; font-weight: 700; color: #334155; }
.ebt-account-form .ebt-field input { min-height: 48px; border-radius: 12px; border: 1px solid var(--line); padding: 0 14px; font: inherit; transition: border-color .2s; }
.ebt-account-form .ebt-field input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(15,98,254,.12); }

/* ── Add-to-cart form ─────────────────────────────────────────── */
.ebt-atc-form { }
.ebt-atc-row { display: grid; grid-template-columns: 120px 1fr; gap: 10px; align-items: center; }
.ebt-atc-qty .quantity { display: flex; }
.ebt-atc-qty .qty { min-height: 48px; width: 100%; border-radius: 12px; border: 1px solid var(--line); padding: 0 12px; font: inherit; font-size: 16px; text-align: center; }
.ebt-atc-btn { font-size: 15px; min-height: 48px; }

/* ── Checkout review table ────────────────────────────────────── */
.ebt-review-order-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ebt-review-order-table th { font-weight: 700; padding: 8px 0; border-bottom: 2px solid var(--line); }
.ebt-review-order-table td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.ebt-review-order-table tfoot td, .ebt-review-order-table tfoot th { padding: 8px 0; }
.ebt-review-order-table tr.order-total td, .ebt-review-order-table tr.order-total th { font-size: 16px; font-weight: 800; border-top: 2px solid var(--line); padding-top: 12px; }

/* ── Checkout payment section ─────────────────────────────────── */
.ebt-checkout-payment { }
.ebt-payment-methods { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.ebt-payment-methods li { padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.ebt-payment-methods .payment_method_title { font-weight: 700; font-size: 15px; }
.ebt-place-order { margin-top: 16px; display: grid; gap: 12px; }
.ebt-place-order-btn { font-size: 16px; min-height: 54px; border-radius: 16px; }

/* ── Cross-sells ──────────────────────────────────────────────── */
.ebt-cross-sells { margin-top: 28px; }
.ebt-cross-sells-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 16px; }
.ebt-cs-img { width: 100%; height: 160px; object-fit: cover; border-radius: 14px; display: block; }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .ebt-pv2-hero { grid-template-columns: 1fr; }
  .ebt-pv2-sticky-card { position: static; }
  .ebt-pv2-trust-grid { grid-template-columns: 1fr 1fr; }
  .ebt-pv2-related-grid { grid-template-columns: 1fr 1fr; }
  .ebt-flow-grid { grid-template-columns: 1fr; }
  .ebt-flow-summary-card { position: static; }
  .ebt-cart-trust-strip { grid-template-columns: 1fr 1fr; }
  .ebt-ty-grid { grid-template-columns: 1fr; }
  .ebt-ty-sidebar { position: static; }
  .ebt-ty-related-grid { grid-template-columns: 1fr 1fr; }
  .ebt-cross-sells-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .ebt-pv2-topbar-inner { flex-direction: column; align-items: flex-start; min-height: unset; padding: 10px 0; }
  .ebt-pv2-trust-grid { grid-template-columns: 1fr; }
  .ebt-pv2-specs-grid { grid-template-columns: 1fr; }
  .ebt-pv2-related-grid { grid-template-columns: 1fr; }
  .ebt-cart-item-card { grid-template-columns: 1fr; }
  .ebt-cart-item-side { align-items: flex-start; flex-direction: row; flex-wrap: wrap; gap: 10px; }
  .ebt-cart-trust-strip { grid-template-columns: 1fr; }
  .ebt-ty-item { grid-template-columns: 1fr; }
  .ebt-ty-related-grid { grid-template-columns: 1fr; }
  .ebt-cross-sells-grid { grid-template-columns: 1fr; }
  .ebt-account-form .ebt-form-grid { grid-template-columns: 1fr; }
  .ebt-atc-row { grid-template-columns: 100px 1fr; }
}

/* ==========================================================================
   24. BACK TO TOP BUTTON
   Dynamically injected by main.js with class "back-to-top-btn".
   Hidden by default; shown when user scrolls past 400px via .is-visible.
   ========================================================================== */

.back-to-top-btn {
  position: fixed;
  bottom: 28px;
  inset-inline-end: 28px;
  z-index: 1200;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(15, 98, 254, 0.35);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease, box-shadow 0.22s ease;
  outline: none;
}

.back-to-top-btn.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.back-to-top-btn:hover {
  box-shadow: 0 12px 32px rgba(15, 98, 254, 0.48);
  transform: translateY(-3px);
}

.back-to-top-btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(15, 98, 254, 0.4);
}

@media (max-width: 480px) {
  .back-to-top-btn {
    bottom: 16px;
    inset-inline-end: 16px;
    width: 42px;
    height: 42px;
  }
}

/* ==========================================================================
   Scroll Animations
   ========================================================================== */

.ebt-animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.ebt-animate-on-scroll.ebt-in-view {
  opacity: 1;
  transform: translateY(0);
}

.ebt-animate-delay-1 { transition-delay: 0.1s; }
.ebt-animate-delay-2 { transition-delay: 0.2s; }
.ebt-animate-delay-3 { transition-delay: 0.3s; }
.ebt-animate-delay-4 { transition-delay: 0.4s; }
.ebt-animate-delay-5 { transition-delay: 0.5s; }

.ebt-fade-in {
  animation: ebtFadeIn 0.8s ease-out forwards;
}

@keyframes ebtFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ebt-floating {
  animation: ebtFloating 3s ease-in-out infinite;
}

@keyframes ebtFloating {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.ebt-scale-in {
  animation: ebtScaleIn 0.5s ease-out forwards;
}

@keyframes ebtScaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Marquee Animation */
.ebt-marquee-container {
  overflow: hidden;
  white-space: nowrap;
}

.ebt-marquee-content {
  display: inline-flex;
  animation: ebtMarquee 30s linear infinite;
}

@keyframes ebtMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Advanced Animations & Interactions
   ========================================================================== */

/* Pulse Animation for CTA buttons */
.ebt-pulse {
  animation: ebtPulse 2s ease-in-out infinite;
}

@keyframes ebtPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 15px rgba(15, 98, 254, 0.3); }
  50% { transform: scale(1.02); box-shadow: 0 8px 25px rgba(15, 98, 254, 0.5); }
}

/* Ripple Effect on Click */
.ebt-ripple {
  position: relative;
  overflow: hidden;
}

.ebt-ripple::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.3) 10%, transparent 10.01%);
  background-repeat: no-repeat;
  background-position: 50%;
  transform: scale(10, 10);
  opacity: 0;
  transition: transform .5s, opacity 1s;
}

.ebt-ripple:active::after {
  transform: scale(0, 0);
  opacity: .3;
  transition: 0s;
}

/* Glow Effect on Hover */
.ebt-glow {
  transition: all 0.3s ease;
}

.ebt-glow:hover {
  box-shadow: 0 0 30px rgba(15, 98, 254, 0.4);
}

/* Slide Up Animation */
.ebt-slide-up {
  animation: ebtSlideUp 0.5s ease-out forwards;
}

@keyframes ebtSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Slide In from Left */
.ebt-slide-left {
  animation: ebtSlideLeft 0.5s ease-out forwards;
}

@keyframes ebtSlideLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Slide In from Right */
.ebt-slide-right {
  animation: ebtSlideRight 0.5s ease-out forwards;
}

@keyframes ebtSlideRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Bounce Animation */
.ebt-bounce {
  animation: ebtBounce 1s ease infinite;
}

@keyframes ebtBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* Spin Animation */
.ebt-spin {
  animation: ebtSpin 1s linear infinite;
}

@keyframes ebtSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Shimmer Loading Effect */
.ebt-shimmer {
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.2) 50%,
    rgba(255,255,255,0) 100%
  );
  background-size: 200% 100%;
  animation: ebtShimmer 1.5s infinite;
}

@keyframes ebtShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Typing Cursor Effect */
.ebt-typing-cursor::after {
  content: '|';
  animation: ebtCursor 0.7s infinite;
}

@keyframes ebtCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Counter Number Animation Class */
.ebt-counter {
  transition: all 0.3s ease;
}

/* Card Hover Lift Effect */
.ebt-card-hover {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.ebt-card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Image Zoom on Hover */
.ebt-img-zoom {
  overflow: hidden;
}

.ebt-img-zoom img,
.ebt-img-zoom .ebt-product-image {
  transition: transform 0.5s ease;
}

.ebt-img-zoom:hover img,
.ebt-img-zoom:hover .ebt-product-image {
  transform: scale(1.1);
}

/* Gradient Shift Animation */
.ebt-gradient-animate {
  background-size: 200% 200%;
  animation: ebtGradient 3s ease infinite;
}

@keyframes ebtGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Wiggle Animation */
.ebt-wiggle {
  animation: ebtWiggle 1s ease infinite;
}

@keyframes ebtWiggle {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}

/* Focus Ring Animation */
.ebt-focus-ring:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(15, 98, 254, 0.3);
  transition: box-shadow 0.3s ease;
}

/* Progress Bar Animation */
.ebt-progress-bar {
  position: relative;
  overflow: hidden;
}

.ebt-progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 30%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: ebtProgressShine 1.5s infinite;
}

@keyframes ebtProgressShine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(400%); }
}

/* Notification Badge Bounce */
.ebt-badge-bounce {
  animation: ebtBadgeBounce 0.5s ease;
}

@keyframes ebtBadgeBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

/* Menu Item Underline Animation */
.ebt-nav-link {
  position: relative;
}

.ebt-nav-link::after {
  content: '';
  position:absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.ebt-nav-link:hover::after,
.ebt-nav-link.active::after {
  width: 100%;
}

/* Button Morph Effect */
.ebt-btn-morph {
  transition: all 0.3s ease;
}

.ebt-btn-morph:hover {
  transform: scale(1.05);
  border-radius: 50px;
}

.ebt-btn-morph:active {
  transform: scale(0.95);
}

/* Smooth Page Transitions */
.page-transition-enter {
  opacity: 0;
  transform: translateY(20px);
}

.page-transition-enter-active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.page-transition-exit {
  opacity: 1;
}

.page-transition-exit-active {
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Parallax Effect */
.ebt-parallax {
  transition: transform 0.1s ease-out;
}

/* Interactive Cursor Effect */
.ebt-cursor-pointer {
  cursor: pointer;
}

.ebt-cursor-grab {
  cursor: grab;
}

.ebt-cursor-grab:active {
  cursor: grabbing;
}

/* Staggered Animation Delays */
.ebt-stagger-1 { animation-delay: 0.1s; }
.ebt-stagger-2 { animation-delay: 0.2s; }
.ebt-stagger-3 { animation-delay: 0.3s; }
.ebt-stagger-4 { animation-delay: 0.4s; }
.ebt-stagger-5 { animation-delay: 0.5s; }
.ebt-stagger-6 { animation-delay: 0.6s; }
.ebt-stagger-7 { animation-delay: 0.7s; }
.ebt-stagger-8 { animation-delay: 0.8s; }

/* Product Card Hover Effects */
.ebt-product-card {
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.ebt-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(15,23,42,.13);
}

/* Price Tag Animation */
.ebt-price-tag {
  transition: all 0.3s ease;
}

.ebt-price-tag:hover {
  transform: scale(1.1) rotate(-3deg);
}

/* Add to Cart Button */
.ebt-add-to-cart-btn {
  position: relative;
  overflow: hidden;
}

.ebt-add-to-cart-btn::before {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.3s ease;
}

.ebt-add-to-cart-btn.added::before {
  transform: translate(-50%, -50%) scale(1);
}

.ebt-add-to-cart-btn.added .btn-text {
  opacity: 0;
}

/* Notification Toast Animation */
.ebt-toast {
  animation: ebtToastIn 0.5s ease forwards;
}

@keyframes ebtToastIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.ebt-toast-close {
  animation: ebtToastOut 0.3s ease forwards;
}

@keyframes ebtToastOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

/* Scroll Progress Bar */
.ebt-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 9999;
  transition: width 0.1s ease;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Active Tab Indicator */
.ebt-tabs-nav .ebt-tab-btn {
  position: relative;
}

.ebt-tabs-nav .ebt-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  border-radius: 3px 3px 0 0;
  animation: ebtTabSlide 0.3s ease;
}

@keyframes ebtTabSlide {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Loading Skeleton Animation */
.ebt-skeleton {
  background: linear-gradient(
    90deg,
    #f0f0f0 25%,
    #e0e0e0 50%,
    #f0f0f0 75%
  );
  background-size: 200% 100%;
  animation: ebtSkeleton 1.5s infinite;
}

@keyframes ebtSkeleton {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Feature Icon Hover Rotate */
.ebt-feature-icon {
  transition: transform 0.4s ease;
}

.ebt-feature-card:hover .ebt-feature-icon {
  transform: rotateY(180deg);
}

/* Number Counter Animation */
.ebt-stat-number {
  font-variant-numeric: tabular-nums;
}

/* Smooth Accordion */
.ebt-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.ebt-accordion-content.open {
  max-height: 1000px;
}

/* Hero Section Animations */
.ebt-hero-title {
  animation: ebtHeroFadeIn 0.8s ease-out;
}

.ebt-hero-subtitle {
  animation: ebtHeroFadeIn 0.8s ease-out 0.2s both;
}

.ebt-hero-cta {
  animation: ebtHeroFadeIn 0.8s ease-out 0.4s both;
}

@keyframes ebtHeroFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Logo Text Animation on Hover */
.ebt-logo-text {
  transition: all 0.3s ease;
}

.ebt-logo-text:hover {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Social Share Button Hover */
.ebt-social-btn {
  transition: all 0.3s ease;
}

.ebt-social-btn:hover {
  transform: translateY(-3px) scale(1.1);
}

/* Mobile Menu Slide Animation */
.ebt-mobile-menu {
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.ebt-mobile-menu.open {
  transform: translateX(0);
}

/* Dropdown Fade In */
.ebt-dropdown {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.ebt-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ==========================================================================
   PREVIEW-SYNC ADDITIONS — matching preview/index.html exactly
   ========================================================================== */

/* ── Topbar: new msg + links layout ─────────────────────────────────────── */
.ebt-topbar-inner { justify-content: space-between !important; display: flex !important; grid-template-columns: unset !important; }
.ebt-topbar-msg {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,.9);
}
.ebt-topbar-msg strong { color: #fff; font-weight: 700; }
.ebt-topbar-links {
  display: flex;
  gap: 16px;
  opacity: .92;
}
.ebt-topbar-links a {
  color: rgba(255,255,255,.82);
  font-size: 12px;
  text-decoration: none;
  transition: color .2s;
}
.ebt-topbar-links a:hover { color: #fff; }

/* ── Section header (new variant used in solutions/products) ─────────────── */
.ebt-section-header {
  text-align: center;
  margin-bottom: 44px;
}
.ebt-section-header .ebt-eyebrow { justify-content: center; }
.ebt-section-title {
  margin: 12px 0 14px;
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text);
}
.ebt-section-desc {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
  max-width: 620px;
  margin: 0 auto;
}
.ebt-section-footer {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

/* ── Hero updates ──────────────────────────────────────────────────────── */
.ebt-h1-highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* Extra breathing room so Arabic dots/hamzas above letters are not clipped */
  display: inline;
  padding-top: 0.12em;
  line-height: 1.55;
}
.ebt-hero-desc {
  color: rgba(15,23,42,.72);
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.85;
  max-width: 520px;
  margin-bottom: 28px;
}
/* Trust chips with SVG */
.ebt-trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(15,23,42,.05);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
}

/* ── Panel updates: new structure ────────────────────────────────────────── */
.ebt-panel-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.ebt-panel-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ebt-panel-dot--red    { background: #ff5f57; }
.ebt-panel-dot--yellow { background: #ffbd2e; }
.ebt-panel-dot--green  { background: #28c840; }
.ebt-panel-title {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  margin-inline-start: 4px;
}
.ebt-panel-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ebt-panel-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ebt-panel-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,.6);
}
.ebt-panel-stat-val {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.ebt-panel-stat-val--green { color: #4ade80; }
.ebt-panel-stat-val--blue  { color: #60a5fa; }

/* ── Mini card: new icon variant ─────────────────────────────────────────── */
.ebt-mini-card-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ebt-mini-card-icon--blue   { background: rgba(14,165,233,.15); color: #0ea5e9; }
.ebt-mini-card-icon--purple { background: rgba(139,92,246,.15); color: #8b5cf6; }
.ebt-mini-card-icon--green  { background: rgba(16,185,129,.15); color: #10b981; }
.ebt-mini-card-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ebt-mini-card-body strong { font-size: 13px; color: var(--text); }
.ebt-mini-card-body span   { font-size: 11px; color: var(--muted); }

/* Update mini-card layout for new icon+body structure */
.ebt-mini-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 14px !important;
  flex: 1 !important;
}

/* ── Float card: new icon+text structure ─────────────────────────────────── */
.ebt-float-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  bottom: 0 !important;
  inset-inline-end: 20px !important;
  top: auto !important;
}
.ebt-float-card-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.ebt-float-card-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ebt-float-card-text strong { font-size: 14px; color: var(--text); font-weight: 700; }
.ebt-float-card-text span   { font-size: 11px; color: var(--muted); }

/* ── Solution cards: color variants ─────────────────────────────────────── */
.ebt-solution-icon--blue   { background: rgba(14,165,233,.12); color: #0ea5e9; }
.ebt-solution-icon--indigo { background: rgba(99,102,241,.12); color: #6366f1; }
.ebt-solution-icon--green  { background: rgba(16,185,129,.12); color: #10b981; }
.ebt-solution-icon--orange { background: rgba(249,115,22,.12); color: #f97316; }
.ebt-solution-icon--red    { background: rgba(239,68,68,.12);  color: #ef4444; }
.ebt-solution-icon--teal   { background: rgba(20,184,166,.12); color: #14b8a6; }
.ebt-solution-icon--violet { background: rgba(139,92,246,.12); color: #8b5cf6; }
.ebt-solution-icon--amber  { background: rgba(245,158,11,.12); color: #f59e0b; }
.ebt-solutions-grid { grid-template-columns: repeat(4, 1fr) !important; }
@media (max-width: 1100px) { .ebt-solutions-grid { grid-template-columns: repeat(3, 1fr) !important; } }
@media (max-width: 768px)  { .ebt-solutions-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 480px)  { .ebt-solutions-grid { grid-template-columns: 1fr !important; } }
.ebt-solution-title { margin: 0 0 8px; font-size: 17px; font-weight: 700; color: var(--text); letter-spacing: -.02em; }
.ebt-solution-desc  { margin: 0 0 16px; color: var(--muted); font-size: 14px; line-height: 1.85; flex: 1; }
.ebt-solution-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: gap .2s;
}
.ebt-solution-link:hover { gap: 10px; }
.ebt-solution-card {
  display: flex !important;
  flex-direction: column !important;
}
.ebt-solution-icon {
  width: 52px !important;
  height: 52px !important;
  border-radius: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 16px !important;
}

/* ── Metrics: simpler layout (no icon, just number + label) ──────────────── */
.ebt-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 32px;
  color: #fff;
  flex: 1;
  min-width: 140px;
}
.ebt-metric strong,
.ebt-metric-val {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 6px;
  display: block;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.2);
}
.ebt-metric span { font-size: 13px; opacity: .85; font-weight: 500; text-transform: uppercase; letter-spacing: .5px; }
.ebt-metrics-strip { padding: 36px 0 !important; }

/* ── CTA: new copy/actions layout ────────────────────────────────────────── */
.ebt-section--solutions { padding-top: 60px; padding-bottom: 60px; }
.ebt-final-cta { border-radius: 0 !important; padding: 80px 0 !important; }
.ebt-final-cta-inner { grid-template-columns: 1fr 1fr !important; }
.ebt-final-cta-copy { color: #fff; }
.ebt-final-cta-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.15;
}
.ebt-final-cta-desc {
  color: rgba(255,255,255,.75);
  font-size: 17px;
  line-height: 1.85;
  margin: 0 0 24px;
}
.ebt-final-cta-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ebt-final-cta-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.85);
  font-size: 15px;
}
.ebt-final-cta-list li svg { color: #4ade80; flex-shrink: 0; }
.ebt-final-cta-actions {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 16px !important;
  justify-content: center !important;
}
.ebt-final-cta-note {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  margin: 0;
}
.ebt-final-cta-note a { color: rgba(255,255,255,.8); text-decoration: underline; }
.ebt-eyebrow--light {
  color: var(--accent) !important;
  background: rgba(20,184,166,.15) !important;
  border-color: rgba(20,184,166,.3) !important;
}

/* ── Button size variants ─────────────────────────────────────────────────── */
.ebt-btn-primary--lg, .ebt-btn-secondary--lg {
  min-height: 52px;
  padding: 0 28px;
  font-size: 16px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ebt-btn-primary--xl, .ebt-btn-secondary--xl {
  min-height: 56px;
  padding: 0 32px;
  font-size: 17px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.ebt-btn-secondary--light {
  background: rgba(255,255,255,.1) !important;
  border-color: rgba(255,255,255,.3) !important;
  color: #fff !important;
}
.ebt-btn-secondary--light:hover {
  background: rgba(255,255,255,.18) !important;
}

/* ── Footer: new layout ──────────────────────────────────────────────────── */
.ebt-footer { margin-top: 0 !important; }
.ebt-footer-brand-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
  margin: 12px 0 16px;
  max-width: 360px;
}
.ebt-footer-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.ebt-footer-social {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(15,23,42,.06);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  transition: all .2s ease;
}
.ebt-footer-social:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.ebt-footer-social.ebt-social-linkedin:hover  { background: #0a66c2; border-color: #0a66c2; }
.ebt-footer-social.ebt-social-instagram:hover { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); border-color: #dc2743; }
.ebt-footer-social.ebt-social-snapchat:hover  { background: #fffc00; border-color: #e6e300; color: #111; }
.ebt-footer-social.ebt-social-tiktok:hover    { background: #010101; border-color: #ff0050; color: #fff; }
.ebt-footer-cta-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
}
.ebt-footer-cta-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 16px;
}
.ebt-footer-cta {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
}
.ebt-footer-form {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
}
.ebt-footer-input {
  flex: 1;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color .2s;
}
.ebt-footer-input:focus { border-color: var(--primary); }
.ebt-footer-form-note {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}
.ebt-footer-col-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 14px;
}
.ebt-footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
}
.ebt-footer-contact-item svg { flex-shrink: 0; margin-top: 2px; }
.ebt-footer-contact-item a { color: var(--muted); text-decoration: none; transition: color .2s; }
.ebt-footer-contact-item a:hover { color: var(--primary); }
.ebt-footer-col--contact .ebt-footer-contact-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: transparent;
  border: none;
}
.ebt-footer-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.ebt-footer-legal {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}
.ebt-footer-legal-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.ebt-footer-legal-links a { color: var(--muted); font-size: 12px; text-decoration: none; transition: color .2s; }
.ebt-footer-legal-links a:hover { color: var(--primary); }
.ebt-footer-legal-links span { color: var(--muted); font-size: 12px; }
.ebt-footer-bottom {
  justify-content: space-between !important;
  padding: 20px 26px !important;
}
.ebt-footer-legal p { margin: 0; }

@media (max-width: 768px) {
  .ebt-topbar-links { display: none; }
  .ebt-final-cta-inner { grid-template-columns: 1fr !important; }
  .ebt-footer-form { flex-direction: column; }
  .ebt-footer-badges { justify-content: flex-start; }
}

/* ==========================================================================
   Animations & Effects (Added for Ibtikar Store)
   ========================================================================== */

/* 1. Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* 2. Smooth Hover for Buttons & Links */
.ebt-btn-primary, .button, .add_to_cart_button, .checkout-button, .ebt-cat2-card, .ebt-product-card {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Hover effects for buttons */
.ebt-btn-primary:hover, .button:hover, .add_to_cart_button:hover, .checkout-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

/* Hover effect for product cards */
.ebt-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

/* Category cards hover */
.ebt-cat2-card:hover {
    transform: translateY(-5px);
}

/* 3. Pulse effect for Add to Cart */
@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0 rgba(28, 142, 60, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(28, 142, 60, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(28, 142, 60, 0);
    }
}
.add_to_cart_button:not(.added), .single_add_to_cart_button:not(.disabled) {
    animation: pulse-animation 2s infinite;
}
.add_to_cart_button:hover, .single_add_to_cart_button:hover {
    animation: none !important;
}

/* RTL Support for Shimmer */
html[dir="rtl"] .ebt-product-media img.loading {
    animation-direction: reverse;
}

/* 4. Loading/Shimmer effect for images */
@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}
img.lazy-image-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    color: transparent;
}

/* 5. fadeInUp Scroll Animation */
.ebt-animate-fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
    will-change: opacity, transform;
}
.ebt-animate-fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 6. Parallax effect for sections (Light) */
.ebt-parallax-bg {
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ════════════════════════════════════════════════════════════════════
   HERO v4 — Premium dynamic floating cards + parallax + animated gradient
   ════════════════════════════════════════════════════════════════════ */

/* ── Eyebrow: pulsing green dot ──────────────────────────────────── */
.ebt-eyebrow-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #14b8a6;
  box-shadow: 0 0 0 0 rgba(20,184,166,.5);
  animation: ebtDotPulse 2.4s ease-out infinite;
  flex-shrink: 0;
}
@keyframes ebtDotPulse {
  0%   { box-shadow: 0 0 0 0   rgba(20,184,166,.55); }
  60%  { box-shadow: 0 0 0 8px rgba(20,184,166,.0);  }
  100% { box-shadow: 0 0 0 0   rgba(20,184,166,.0);  }
}

/* ── Ghost / third CTA button ────────────────────────────────────── */
.ebt-hero-ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  background: transparent;
  border: 1.5px solid rgba(15,23,42,.16);
  text-decoration: none;
  transition: background .22s, border-color .22s, color .22s, transform .22s;
  white-space: nowrap;
}
.ebt-hero-ghost-btn:hover {
  background: rgba(15,98,254,.06);
  border-color: rgba(15,98,254,.4);
  color: var(--primary);
  transform: translateY(-2px);
}

/* ── Animated gradient on visual-main ───────────────────────────── */
.ebt-visual-main {
  background: linear-gradient(-45deg, #0f62fe, #1a3ecf, #0d9488, #14b8a6) !important;
  background-size: 300% 300% !important;
  animation: ebtGradFlow 9s ease infinite !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  /* explicit z-index so float cards (z:10) always appear above the gradient */
  z-index: 2;
  isolation: isolate;
}
@keyframes ebtGradFlow {
  0%   { background-position: 0%   60%; }
  50%  { background-position: 100% 40%; }
  100% { background-position: 0%   60%; }
}
/* ebt-mockup-top inside the animated gradient */
.ebt-visual-main .ebt-mockup-top {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 14px;
  flex: 1;
}
/* mini-cards row stays 3-column inside gradient */
.ebt-visual-main .ebt-mockup-cards {
  grid-template-columns: repeat(3, 1fr) !important;
}

/* ── Panel big: restore to grid child (not flex-fill) ────────────── */
.ebt-panel.big {
  min-height: 180px;
}

/* ── Live indicator dot inside panel ────────────────────────────── */
.ebt-live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74,222,128,.5);
  animation: ebtLivePulse 2s ease-out infinite;
  display: inline-block;
}
@keyframes ebtLivePulse {
  0%   { box-shadow: 0 0 0 0   rgba(74,222,128,.5); }
  70%  { box-shadow: 0 0 0 7px rgba(74,222,128,.0); }
  100% { box-shadow: 0 0 0 0   rgba(74,222,128,.0); }
}

/* ── Dashboard panel kicker ──────────────────────────────────────── */
.ebt-vpanel-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 800;
  color: rgba(255,255,255,.75);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ── Bar row with fill animation ─────────────────────────────────── */
.ebt-bars    { display: grid; gap: 12px; margin-top: 16px; }
.ebt-bar-row { display: flex; flex-direction: column; gap: 5px; }
.ebt-bar-label {
  font-size: 11px;
  color: rgba(255,255,255,.65);
  font-weight: 600;
}
.ebt-bar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  width: 0;
  animation: ebtBarFill 1.6s cubic-bezier(.4,0,.2,1) forwards;
  animation-play-state: paused;
}
.ebt-bar-fill.is-visible { animation-play-state: running; }
.ebt-bar-fill:nth-child(1) { animation-delay: .1s; }
.ebt-bar-fill:nth-child(2) { animation-delay: .3s; }
.ebt-bar-fill:nth-child(3) { animation-delay: .5s; }
@keyframes ebtBarFill {
  from { width: 0; }
  to   { width: var(--bar-w, 70%); }
}

/* ── Bottom strip: 3 solution pillars ───────────────────────────── */
.ebt-vstrip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.ebt-vstrip-card {
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 13px 14px;
  color: #fff;
  transition: background .22s, transform .22s;
}
.ebt-vstrip-card:hover {
  background: rgba(255,255,255,.22);
  transform: translateY(-3px);
}
.ebt-vstrip-kicker {
  display: block;
  font-size: 10px;
  font-weight: 800;
  color: rgba(255,255,255,.6);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.ebt-vstrip-card strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.3;
}
.ebt-vstrip-card p {
  margin: 0;
  font-size: 11.5px;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
}

/* ── Decorative ambient orbs ─────────────────────────────────────── */
.ebt-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  transform: translate(var(--px,0), var(--py,0));
  will-change: transform;
}
.ebt-orb--a {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(15,98,254,.1) 0%, transparent 68%);
  top: -40px;
  inset-inline-start: 22%;
  animation: ebtOrb1 11s ease-in-out infinite;
}
.ebt-orb--b {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(20,184,166,.09) 0%, transparent 65%);
  bottom: -50px;
  inset-inline-end: 8%;
  animation: ebtOrb2 14s ease-in-out infinite;
  animation-delay: 2s;
}
.ebt-orb--c {
  width: 150px; height: 150px;
  background: radial-gradient(circle, rgba(139,92,246,.08) 0%, transparent 70%);
  top: 48%;
  inset-inline-start: 6%;
  animation: ebtOrb3 8s ease-in-out infinite;
  animation-delay: 1.4s;
}
@keyframes ebtOrb1 {
  0%,100% { transform: translate(var(--px,0), calc(var(--py,0) + 0px)) scale(1);    }
  50%      { transform: translate(var(--px,0), calc(var(--py,0) - 22px)) scale(1.1); }
}
@keyframes ebtOrb2 {
  0%,100% { transform: translate(var(--px,0), calc(var(--py,0) + 0px)) scale(1);    }
  50%      { transform: translate(var(--px,0), calc(var(--py,0) - 16px)) scale(1.06); }
}
@keyframes ebtOrb3 {
  0%,100% { transform: translate(var(--px,0), calc(var(--py,0) + 0px)); }
  50%      { transform: translate(var(--px,0), calc(var(--py,0) - 14px)); }
}

/* ── Floating solution cards ─────────────────────────────────────── */
.ebt-fcard {
  position: absolute;
  z-index: 10;          /* always above ebt-visual-main (z:2) */
  display: flex;
  align-items: flex-start;
  gap: 13px;
  width: 228px;
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(15,23,42,.09);
  border-radius: 20px;
  box-shadow:
    0 24px 60px rgba(15,23,42,.18),
    0 4px 14px  rgba(15,23,42,.07),
    inset 0 1px 0 rgba(255,255,255,.9);
  padding: 15px 16px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  will-change: transform;
  transform: translateY(var(--py,0)) translateX(var(--px,0));
}

/* ── Card positions: LTR (visual on right column) ────────────────── */
/* Card 1 — top-right of gradient */
.ebt-fcard--one {
  top: 0;
  right: 4px;
  animation: ebtFC1 5.8s ease-in-out infinite;
}
/* Card 2 — left-center, hangs off the gradient's left edge */
.ebt-fcard--two {
  left: -10px;
  top: 168px;
  animation: ebtFC2 6.5s ease-in-out infinite;
  animation-delay: 1.4s;
}
/* Card 3 — bottom-right inside gradient */
.ebt-fcard--three {
  bottom: 18px;
  right: 28px;
  animation: ebtFC3 5.2s ease-in-out infinite;
  animation-delay: 2.6s;
}

/* ── RTL overrides (visual on left column — positions mirror) ──── */
[dir="rtl"] .ebt-fcard--one  { right: auto; left: 4px; }
[dir="rtl"] .ebt-fcard--two  { left: auto;  right: -10px; }
[dir="rtl"] .ebt-fcard--three{ right: auto; left: 28px; }

/* ── Rich multi-point animations — each card has its own character ── */
@keyframes ebtFC1 {
  0%   { transform: translateY(var(--py,0)) translateX(var(--px,0)) rotate(0deg)    scale(1); }
  20%  { transform: translateY(calc(var(--py,0) - 6px))  translateX(var(--px,0)) rotate(.25deg)  scale(1.01); }
  50%  { transform: translateY(calc(var(--py,0) - 11px)) translateX(var(--px,0)) rotate(.4deg)   scale(1.015); }
  75%  { transform: translateY(calc(var(--py,0) - 5px))  translateX(var(--px,0)) rotate(.1deg)   scale(1.005); }
  100% { transform: translateY(var(--py,0)) translateX(var(--px,0)) rotate(0deg)    scale(1); }
}
@keyframes ebtFC2 {
  0%   { transform: translateY(var(--py,0)) translateX(var(--px,0))          rotate(0deg);   }
  30%  { transform: translateY(calc(var(--py,0) - 7px))  translateX(calc(var(--px,0) + 4px))  rotate(-.3deg); }
  55%  { transform: translateY(calc(var(--py,0) - 12px)) translateX(calc(var(--px,0) - 3px))  rotate(.15deg); }
  80%  { transform: translateY(calc(var(--py,0) - 4px))  translateX(calc(var(--px,0) + 2px))  rotate(-.1deg); }
  100% { transform: translateY(var(--py,0)) translateX(var(--px,0))          rotate(0deg);   }
}
@keyframes ebtFC3 {
  0%   { transform: translateY(var(--py,0)) translateX(var(--px,0)) rotate(0deg) scale(1);    }
  40%  { transform: translateY(calc(var(--py,0) - 9px))  translateX(var(--px,0)) rotate(.2deg)  scale(1.02);  }
  60%  { transform: translateY(calc(var(--py,0) - 13px)) translateX(var(--px,0)) rotate(.35deg) scale(1.025); }
  100% { transform: translateY(var(--py,0)) translateX(var(--px,0)) rotate(0deg) scale(1);    }
}

/* ── Shadow glow pulse on each card ─────────────────────────────── */
.ebt-fcard--one:hover,
.ebt-fcard--two:hover,
.ebt-fcard--three:hover {
  box-shadow:
    0 28px 70px rgba(15,98,254,.22),
    0 6px 18px  rgba(15,23,42,.08),
    inset 0 1px 0 rgba(255,255,255,.9);
  transition: box-shadow .3s ease;
}

/* ── Card icon ───────────────────────────────────────────────────── */
.ebt-fcard-ico {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ebt-fcard-ico--blue   { background: rgba(14,165,233,.13);  color: #0ea5e9; }
.ebt-fcard-ico--teal   { background: rgba(20,184,166,.13);  color: #0d9488; }
.ebt-fcard-ico--purple { background: rgba(139,92,246,.13);  color: #8b5cf6; }
.ebt-fcard-ico--green  { background: rgba(16,185,129,.13);  color: #10b981; }

/* ── Card body ───────────────────────────────────────────────────── */
.ebt-fcard-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ebt-fcard-kicker {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 3px;
}
.ebt-fcard-body strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.ebt-fcard-body p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .ebt-fcard--two { display: none; }
  .ebt-fcard--one   { top: 8px; inset-inline-end: 6px; }
  .ebt-fcard--three { bottom: 10px; inset-inline-end: 8px; }
  .ebt-vstrip { grid-template-columns: 1fr 1fr; }
  .ebt-vstrip-card:last-child { display: none; }
}
@media (max-width: 900px) {
  .ebt-fcard { width: 212px; }
  .ebt-fcard--three { display: none; }
}
@media (max-width: 680px) {
  .ebt-fcard    { display: none; }
  .ebt-vstrip   { grid-template-columns: repeat(3, 1fr); }
  .ebt-vstrip-card:last-child { display: block; }
  .ebt-hero-ghost-btn { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   Product Card — Responsive Fixes
   ═══════════════════════════════════════════════════════════════════ */

/* ── Tablet: 2 columns ─────────────────────────────────────────── */
@media (max-width: 900px) {
  #featured-products .ebt-products-grid,
  .ebt-section .ebt-products-grid:not(.woocommerce-loop) {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .ebt-product-media { height: 180px; }
  .ebt-product-title { font-size: 15px; }
  .ebt-product-content { padding: 16px 16px 14px; }
  .ebt-product-price { font-size: 19px; }
}

/* ── Mobile: 1 column (portrait phone) ────────────────────────── */
@media (max-width: 560px) {
  #featured-products .ebt-products-grid,
  .ebt-section .ebt-products-grid:not(.woocommerce-loop) {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .ebt-product-card {
    flex-direction: row;
    align-items: stretch;
    border-radius: 18px;
    min-height: 0;
  }
  .ebt-product-badge-row {
    display: none; /* keep card compact on mobile */
  }
  .ebt-product-media {
    width: 120px;
    min-width: 120px;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 12px 0 12px 12px;
    border-radius: 14px;
    flex-shrink: 0;
  }
  html[dir="rtl"] .ebt-product-media {
    margin: 12px 12px 12px 0;
  }
  .ebt-product-content {
    padding: 12px 14px;
    flex: 1;
    min-width: 0;
  }
  .ebt-product-title {
    font-size: 13.5px;
    margin-bottom: 5px;
    -webkit-line-clamp: 3;
  }
  .ebt-product-summary { display: none; }
  .ebt-product-highlights { margin-bottom: 8px; gap: 5px; }
  .ebt-product-chip { font-size: 11px; padding: 3px 8px; }
  .ebt-product-price { font-size: 17px; margin-bottom: 10px; }
  .ebt-product-actions {
    gap: 8px;
    flex-wrap: wrap;
  }
  .ebt-product-actions .add_to_cart_button,
  .ebt-product-actions .ebt-btn-primary,
  .ebt-product-actions .ebt-btn-secondary,
  .ebt-product-actions .ebt-product-details-btn {
    font-size: 12px;
    padding: 0 12px;
    height: 38px;
  }
}

/* ── Very small screens: stack image above content ─────────────── */
@media (max-width: 380px) {
  .ebt-product-card { flex-direction: column; }
  .ebt-product-media {
    width: auto;
    min-width: 0;
    height: 140px;
    margin: 12px 12px 0;
    aspect-ratio: unset;
  }
}

