/* ============================================================
   Eduplus Shop — Custom Styles
   Overrides Bootstrap 5 with a soft mint-green palette
   designed for students, parents, and children.
   Psychology: calming greens + trust blues + warm gold accents
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&display=swap');

/* ── Design Tokens ──────────────────────────────────────────── */
:root {
  /* Brand palette */
  --ep-mint:        #3BAFA8;
  --ep-mint-dark:   #2D9E97;
  --ep-mint-darker: #1A7A75;
  --ep-mint-light:  #E8F5F4;
  --ep-mint-xlight: #F0FAF9;

  --ep-gold:        #F5A623;
  --ep-gold-dark:   #D4891A;
  --ep-gold-light:  #FFF8EC;

  --ep-blue:        #4A90D9;
  --ep-blue-light:  #EBF4FF;

  --ep-coral:       #FF6B6B;
  --ep-coral-light: #FFF0F0;

  --ep-purple:      #6C5CE7;
  --ep-purple-light:#F0EEFF;

  /* Neutrals */
  --ep-ink:         #1A3C3A;
  --ep-ink-2:       #4A6B68;
  --ep-ink-3:       #8AA8A5;
  --ep-bg:          #F6FAFA;
  --ep-card:        #FFFFFF;
  --ep-line:        #D8EEEC;
  --ep-line-light:  #EEF7F6;

  /* Typography */
  --ep-font:        'Nunito', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --ep-radius:      12px;
  --ep-radius-lg:   18px;
  --ep-radius-sm:   8px;
  --ep-radius-pill: 999px;

  /* Shadows — soft, never harsh */
  --ep-shadow-sm:   0 2px 8px rgba(59,175,168,.08);
  --ep-shadow:      0 4px 16px rgba(59,175,168,.12);
  --ep-shadow-md:   0 8px 28px rgba(59,175,168,.14);
  --ep-shadow-lg:   0 16px 48px rgba(26,60,58,.12);

  /* Transitions */
  --ep-trans:       0.22s ease;
}

/* ── Base Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 15px;
}

body {
  font-family: var(--ep-font);
  background: var(--ep-bg);
  color: var(--ep-ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Bootstrap Font Override ────────────────────────────────── */
.btn, .form-control, .form-select, .nav-link,
.badge, .card, .modal, .offcanvas, .dropdown-menu,
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ep-font) !important;
}

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  color: var(--ep-ink);
  font-weight: 800;
  line-height: 1.25;
}
p { color: var(--ep-ink-2); margin-bottom: 0; }
a { color: var(--ep-mint); text-decoration: none; transition: color var(--ep-trans); }
a:hover { color: var(--ep-mint-dark); }

/* ── Scrollbar ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--ep-mint-xlight); }
::-webkit-scrollbar-thumb { background: var(--ep-mint); border-radius: 99px; }

/* ── Header sticky wrapper ───────────────────────────────────── */
.ep-header {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: #fff;
}
/* ── Navbar ──────────────────────────────────────────────────── */
.ep-navbar {
  background: #fff;
  border-bottom: 1px solid var(--ep-line);
  box-shadow: var(--ep-shadow-sm);
  padding: 0;
}
.ep-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex-shrink: 0;
}
.ep-brand-text {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ep-ink);
  white-space: nowrap;
}
.ep-brand-text b { color: var(--ep-mint); font-weight: 900; }
.ep-brand-mark {
  width: 36px;
  height: 36px;
  background: var(--ep-mint);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
}
.ep-brand-mark i { font-size: 18px; }
.ep-icon-btn {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--ep-line);
  border-radius: var(--ep-radius-sm);
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ep-ink-2);
  transition: all var(--ep-trans);
}
.ep-icon-btn:hover { border-color: var(--ep-mint); color: var(--ep-mint); background: var(--ep-mint-light); }
.ep-search-wrap { position: relative; }
.ep-search-wrap .form-control {
  border: 1.5px solid var(--ep-line);
  border-radius: var(--ep-radius-pill);
  padding: 8px 16px 8px 40px;
  font-size: .9rem;
  background: var(--ep-bg);
  color: var(--ep-ink);
  transition: all var(--ep-trans);
  box-shadow: none;
}
.ep-search-wrap .form-control:focus {
  border-color: var(--ep-mint);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(59,175,168,.15);
}
.ep-search-wrap .ep-search-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ep-ink-3);
  font-size: 16px;
  pointer-events: none;
}
.ep-points-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--ep-gold-light);
  color: var(--ep-gold-dark);
  border: 1px solid rgba(245,166,35,.25);
  border-radius: var(--ep-radius-pill);
  padding: 5px 12px;
  font-weight: 800;
  font-size: .82rem;
  white-space: nowrap;
}
.ep-cart-btn {
  position: relative;
  background: var(--ep-mint);
  color: #fff !important;
  border-radius: var(--ep-radius-pill);
  padding: 7px 18px !important;
  font-weight: 700;
  font-size: .88rem;
  display: flex;
  align-items: center;
  gap: 6px;
  border: none;
  transition: all var(--ep-trans);
}
.ep-cart-btn:hover { background: var(--ep-mint-dark); }
.ep-cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--ep-coral);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
}
.ep-avatar-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--ep-mint-light);
  cursor: pointer;
  transition: border-color var(--ep-trans);
}
.ep-avatar-btn:hover { border-color: var(--ep-mint); }
.ep-avatar-btn img { width: 100%; height: 100%; object-fit: cover; }

/* ── Category Nav Strip ─────────────────────────────────────── */
.ep-cat-strip {
  background: #fff;
  border-bottom: 1px solid var(--ep-line);
}
.ep-cat-strip-inner {
  display: flex;
  flex-wrap: wrap;        /* wrap on mobile — no horizontal scroll */
  gap: 6px;
  padding: 10px 16px;
  justify-content: center;
}
.ep-cat-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--ep-radius-pill);
  font-size: .84rem;
  font-weight: 700;
  color: var(--ep-ink-2);
  cursor: pointer;
  white-space: nowrap;
  border: 1.5px solid var(--ep-line);
  background: var(--ep-bg);
  transition: all var(--ep-trans);
}
@media (max-width: 767px) {
  .ep-cat-chip { font-size: .78rem; padding: 5px 11px; gap: 4px; }
  .ep-cat-chip i { font-size: 13px; }
}
.ep-cat-chip:hover {
  background: var(--ep-mint-light);
  color: var(--ep-mint-darker);
}
.ep-cat-chip.active {
  background: var(--ep-mint);
  color: #fff;
  border-color: var(--ep-mint);
}
.ep-cat-chip i { font-size: 15px; }

/* ── Hero Banner ────────────────────────────────────────────── */
.ep-hero {
  background: var(--ep-mint-light);
  border-bottom: 1px solid var(--ep-line);
  padding: 32px 0 0;
  overflow: hidden;
}
.ep-hero-content h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  color: var(--ep-ink);
  line-height: 1.15;
}
.ep-hero-content h1 span { color: var(--ep-mint-darker); }
.ep-hero-content p { font-size: 1rem; color: var(--ep-ink-2); }
.ep-hero-img {
  width: 100%;
  border-radius: var(--ep-radius-lg) var(--ep-radius-lg) 0 0;
  object-fit: cover;
}
.ep-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1.5px solid var(--ep-line);
  border-radius: var(--ep-radius-pill);
  padding: 5px 14px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--ep-ink-2);
  margin: 4px 4px 4px 0;
}

/* ── Filter / Sort Bar ──────────────────────────────────────── */
.ep-filter-bar {
  background: #fff;
  border-bottom: 1px solid var(--ep-line);
  padding: 10px 0;
  /* Not sticky — header is already sticky and contains categories.
     Sticking the filter bar too caused double-sticky overlap issues. */
}
.ep-sort-select {
  border: 1.5px solid var(--ep-line);
  border-radius: var(--ep-radius-pill);
  padding: 6px 14px;
  font-size: .84rem;
  font-weight: 700;
  color: var(--ep-ink);
  background: var(--ep-bg);
  appearance: none;
  cursor: pointer;
  outline: none;
  transition: border-color var(--ep-trans);
}
.ep-sort-select:focus { border-color: var(--ep-mint); }
.ep-view-btn {
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--ep-line);
  border-radius: var(--ep-radius-sm);
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ep-ink-3);
  transition: all var(--ep-trans);
}
.ep-view-btn.active, .ep-view-btn:hover {
  border-color: var(--ep-mint);
  background: var(--ep-mint-light);
  color: var(--ep-mint);
}
.ep-result-count {
  font-size: .84rem;
  color: var(--ep-ink-3);
  font-weight: 600;
}

/* ── Sidebar Filters ────────────────────────────────────────── */
.ep-sidebar { position: sticky; top: 120px; }
.ep-filter-card {
  background: #fff;
  border-radius: var(--ep-radius);
  border: 1px solid var(--ep-line);
  padding: 18px;
  margin-bottom: 16px;
}
.ep-filter-title {
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .7px;
  color: var(--ep-ink-2);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ep-filter-title a {
  font-size: .75rem;
  color: var(--ep-mint);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}
.ep-check-list { display: flex; flex-direction: column; gap: 6px; }
.ep-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ep-ink-2);
  cursor: pointer;
  padding: 4px 6px;
  border-radius: var(--ep-radius-sm);
  transition: background var(--ep-trans);
}
.ep-check-item:hover { background: var(--ep-mint-xlight); }
.ep-check-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--ep-mint);
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
}
.ep-check-count {
  margin-left: auto;
  background: var(--ep-bg);
  color: var(--ep-ink-3);
  border-radius: 99px;
  padding: 1px 7px;
  font-size: .72rem;
  font-weight: 700;
}
.ep-price-range { display: flex; gap: 8px; margin-top: 10px; }
.ep-price-range input {
  width: 100%;
  border: 1.5px solid var(--ep-line);
  border-radius: var(--ep-radius-sm);
  padding: 6px 10px;
  font-size: .84rem;
  font-family: var(--ep-font);
  color: var(--ep-ink);
  outline: none;
}
.ep-price-range input:focus { border-color: var(--ep-mint); }
.ep-star-filter { display: flex; flex-direction: column; gap: 4px; }
.ep-star-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  border-radius: var(--ep-radius-sm);
  cursor: pointer;
  transition: background var(--ep-trans);
}
.ep-star-row:hover { background: var(--ep-gold-light); }
.ep-stars { color: var(--ep-gold); font-size: .85rem; letter-spacing: -1px; }
.ep-star-label { font-size: .84rem; font-weight: 600; color: var(--ep-ink-2); }

/* ── Product Cards ──────────────────────────────────────────── */
.ep-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
  gap: 16px;
}
.ep-product-grid.list-view {
  grid-template-columns: 1fr;
}
.ep-prod-card {
  background: var(--ep-card);
  border-radius: var(--ep-radius);
  border: 1px solid var(--ep-line);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--ep-trans), border-color var(--ep-trans), box-shadow var(--ep-trans);
  position: relative;
}
.ep-prod-card:hover {
  transform: translateY(-4px);
  border-color: var(--ep-mint);
  box-shadow: var(--ep-shadow-md);
}

/* image container with zoom */
.ep-prod-img-wrap {
  position: relative;
  overflow: hidden;
  height: 185px;
  background: var(--ep-mint-xlight);
}
.ep-prod-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.ep-prod-card:hover .ep-prod-img-wrap img {
  transform: scale(1.07);
}
.ep-prod-badges {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ep-badge {
  font-size: .68rem;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: var(--ep-radius-pill);
  letter-spacing: .3px;
}
.ep-badge-hot     { background: var(--ep-gold-light); color: var(--ep-gold-dark); }
.ep-badge-new     { background: var(--ep-mint-light); color: var(--ep-mint-darker); }
.ep-badge-sale    { background: var(--ep-coral-light); color: #c0392b; }
.ep-badge-featured{ background: var(--ep-purple-light); color: var(--ep-purple); }
.ep-prod-wishlist {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ep-ink-3);
  font-size: 14px;
  transition: all var(--ep-trans);
  opacity: 0;
}
.ep-prod-card:hover .ep-prod-wishlist { opacity: 1; }
.ep-prod-wishlist.active { color: var(--ep-coral); }
.ep-prod-wishlist:hover { color: var(--ep-coral); background: #fff; }
.ep-quick-view {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(59,175,168,.92);
  color: #fff;
  font-weight: 700;
  font-size: .82rem;
  text-align: center;
  padding: 8px;
  transform: translateY(100%);
  transition: transform var(--ep-trans);
}
.ep-prod-card:hover .ep-quick-view { transform: translateY(0); }
.ep-prod-body { padding: 12px 13px 13px; }
.ep-prod-brand {
  font-size: .72rem;
  font-weight: 700;
  color: var(--ep-mint-dark);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 3px;
}
.ep-prod-name {
  font-size: .9rem;
  font-weight: 700;
  color: var(--ep-ink);
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ep-prod-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}
.ep-rating-stars { color: var(--ep-gold); font-size: .8rem; letter-spacing: -1px; }
.ep-rating-count { font-size: .75rem; color: var(--ep-ink-3); font-weight: 600; }
.ep-prod-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 2px;
}
.ep-prod-price { font-size: 1.05rem; font-weight: 800; color: var(--ep-ink); }
.ep-prod-price-old {
  font-size: .8rem;
  color: var(--ep-ink-3);
  text-decoration: line-through;
  font-weight: 600;
  margin-left: 4px;
}
.ep-prod-points {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: .72rem;
  font-weight: 800;
  color: var(--ep-gold-dark);
  background: var(--ep-gold-light);
  border-radius: var(--ep-radius-pill);
  padding: 2px 7px;
  margin-top: 4px;
}
.ep-add-btn {
  width: 30px;
  height: 30px;
  border: none;
  background: var(--ep-mint);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 15px;
  flex-shrink: 0;
  transition: background var(--ep-trans), transform var(--ep-trans);
}
.ep-add-btn:hover { background: var(--ep-mint-dark); transform: scale(1.1); }
.ep-out-of-stock {
  font-size: .75rem;
  font-weight: 700;
  color: var(--ep-coral);
  background: var(--ep-coral-light);
  border-radius: var(--ep-radius-pill);
  padding: 2px 8px;
}

/* List view card */
.ep-product-grid.list-view .ep-prod-card {
  display: flex;
  flex-direction: row;
}
.ep-product-grid.list-view .ep-prod-img-wrap {
  width: 180px;
  height: 160px;
  flex-shrink: 0;
  border-radius: 0;
}
.ep-product-grid.list-view .ep-quick-view { display: none; }
.ep-product-grid.list-view .ep-prod-body { flex: 1; padding: 16px 18px; }
.ep-product-grid.list-view .ep-prod-name { -webkit-line-clamp: 3; font-size: 1rem; }

/* ── Skeleton Loader ────────────────────────────────────────── */
.ep-skeleton {
  background: linear-gradient(90deg, var(--ep-line-light) 25%, var(--ep-line) 50%, var(--ep-line-light) 75%);
  background-size: 200% 100%;
  animation: ep-shimmer 1.4s infinite;
  border-radius: var(--ep-radius-sm);
}
@keyframes ep-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.ep-skeleton-card {
  background: #fff;
  border-radius: var(--ep-radius);
  border: 1px solid var(--ep-line);
  overflow: hidden;
}
.ep-skeleton-img  { height: 185px; }
.ep-skeleton-body { padding: 12px 13px 13px; }
.ep-skeleton-line { height: 12px; margin-bottom: 8px; }
.ep-skeleton-line.w-80  { width: 80%; }
.ep-skeleton-line.w-60  { width: 60%; }
.ep-skeleton-line.w-40  { width: 40%; }

/* ── Product Detail Modal ───────────────────────────────────── */
.ep-modal .modal-content {
  border: none;
  border-radius: var(--ep-radius-lg);
  overflow: hidden;
  box-shadow: var(--ep-shadow-lg);
}
.ep-modal .modal-header {
  background: var(--ep-mint-xlight);
  border-bottom: 1px solid var(--ep-line);
  padding: 16px 20px;
}
.ep-modal .modal-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--ep-ink);
}
.ep-modal .btn-close { filter: none; opacity: .5; }
.ep-modal .btn-close:hover { opacity: 1; }

/* Product gallery */
.ep-gallery-main {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--ep-radius);
  overflow: hidden;
  background: var(--ep-mint-xlight);
  position: relative;
  cursor: zoom-in;
}
.ep-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.ep-gallery-main:hover img { transform: scale(1.12); }
.ep-gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.ep-gallery-thumbs::-webkit-scrollbar { display: none; }
.ep-thumb {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: var(--ep-radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--ep-trans);
  background: var(--ep-mint-xlight);
}
.ep-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ep-thumb.active { border-color: var(--ep-mint); }
.ep-thumb:hover { border-color: var(--ep-mint-dark); }

/* Variant selectors */
.ep-variant-label {
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--ep-ink-2);
  margin-bottom: 8px;
}
.ep-color-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.ep-color-swatch {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid transparent;
  outline: 2px solid transparent;
  transition: all var(--ep-trans);
  position: relative;
}
.ep-color-swatch.active {
  border-color: #fff;
  outline-color: var(--ep-mint);
  box-shadow: 0 0 0 4px rgba(59,175,168,.25);
}
.ep-color-swatch:hover { transform: scale(1.12); }
.ep-color-swatch[data-hex="#FFFFFF"] {
  border-color: var(--ep-line);
  outline-offset: 2px;
}
.ep-size-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.ep-size-btn {
  min-width: 44px;
  padding: 5px 12px;
  border: 1.5px solid var(--ep-line);
  border-radius: var(--ep-radius-sm);
  font-size: .85rem;
  font-weight: 700;
  color: var(--ep-ink-2);
  background: transparent;
  cursor: pointer;
  transition: all var(--ep-trans);
  text-align: center;
}
.ep-size-btn:hover { border-color: var(--ep-mint); color: var(--ep-mint); }
.ep-size-btn.active {
  border-color: var(--ep-mint);
  background: var(--ep-mint);
  color: #fff;
}
.ep-size-btn.out { opacity: .4; cursor: not-allowed; text-decoration: line-through; }

/* Qty stepper */
.ep-qty {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--ep-line);
  border-radius: var(--ep-radius-sm);
  overflow: hidden;
  width: fit-content;
}
.ep-qty-btn {
  width: 34px;
  height: 34px;
  border: none;
  background: var(--ep-mint-xlight);
  color: var(--ep-mint);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: background var(--ep-trans);
  display: grid;
  place-items: center;
}
.ep-qty-btn:hover { background: var(--ep-mint-light); }
.ep-qty-val {
  width: 46px;
  text-align: center;
  font-weight: 800;
  font-size: .95rem;
  color: var(--ep-ink);
  border: none;
  outline: none;
  background: transparent;
  padding: 0;
}

/* Product detail tabs */
.ep-tabs .nav-link {
  color: var(--ep-ink-2) !important;
  font-weight: 700;
  font-size: .9rem;
  padding: 8px 16px;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  transition: all var(--ep-trans);
}
.ep-tabs .nav-link.active {
  color: var(--ep-mint) !important;
  border-bottom-color: var(--ep-mint);
  background: transparent;
}
.ep-tabs .nav-link:hover:not(.active) { color: var(--ep-mint-dark) !important; }

/* Reviews */
.ep-review-card {
  background: var(--ep-mint-xlight);
  border-radius: var(--ep-radius);
  padding: 14px;
  margin-bottom: 12px;
}
.ep-review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.ep-review-name { font-weight: 700; font-size: .9rem; color: var(--ep-ink); }
.ep-review-date { font-size: .75rem; color: var(--ep-ink-3); }
.ep-review-text { font-size: .88rem; color: var(--ep-ink-2); margin-top: 6px; }
.ep-verified { font-size: .72rem; font-weight: 700; color: var(--ep-mint-dark); background: var(--ep-mint-light); padding: 1px 7px; border-radius: 99px; }

/* ── Cart Offcanvas ──────────────────────────────────────────── */
.ep-cart-offcanvas .offcanvas-header {
  background: var(--ep-mint-xlight);
  border-bottom: 1px solid var(--ep-line);
  padding: 14px 18px;
}
.ep-cart-offcanvas .offcanvas-title {
  font-weight: 800;
  color: var(--ep-ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.ep-cart-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ep-line-light);
}
.ep-cart-item-img {
  width: 72px;
  height: 72px;
  border-radius: var(--ep-radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--ep-mint-xlight);
}
.ep-cart-item-name { font-weight: 700; font-size: .9rem; color: var(--ep-ink); margin-bottom: 2px; }
.ep-cart-item-variant { font-size: .78rem; color: var(--ep-ink-3); font-weight: 600; }
.ep-cart-item-price { font-weight: 800; color: var(--ep-ink); font-size: .95rem; }
.ep-cart-remove { background: none; border: none; color: var(--ep-ink-3); padding: 0; cursor: pointer; font-size: 14px; transition: color var(--ep-trans); }
.ep-cart-remove:hover { color: var(--ep-coral); }
.ep-cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: .92rem;
}
.ep-cart-total-row.grand {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ep-ink);
  border-top: 2px solid var(--ep-line);
  padding-top: 12px;
  margin-top: 4px;
}
.ep-cart-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--ep-ink-3);
}
.ep-cart-empty i { font-size: 3rem; margin-bottom: 12px; color: var(--ep-line); }

/* ── Checkout Modal ──────────────────────────────────────────── */
.ep-checkout-modal .modal-content {
  border: none;
  border-radius: var(--ep-radius-lg);
  box-shadow: var(--ep-shadow-lg);
}
.ep-checkout-modal .modal-header {
  background: var(--ep-mint-xlight);
  border-bottom: 1px solid var(--ep-line);
  padding: 16px 22px;
}
.ep-checkout-steps {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
}
.ep-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
}
.ep-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--ep-line);
}
.ep-step.done:not(:last-child)::after { background: var(--ep-mint); }
.ep-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ep-line);
  color: var(--ep-ink-3);
  font-weight: 800;
  font-size: .82rem;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  transition: all var(--ep-trans);
}
.ep-step.active .ep-step-num { background: var(--ep-mint); color: #fff; }
.ep-step.done .ep-step-num { background: var(--ep-mint-dark); color: #fff; }
.ep-step-label { font-size: .72rem; font-weight: 700; color: var(--ep-ink-3); }
.ep-step.active .ep-step-label { color: var(--ep-mint); }
.ep-pay-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 2px solid var(--ep-line);
  border-radius: var(--ep-radius);
  cursor: pointer;
  transition: all var(--ep-trans);
  margin-bottom: 10px;
}
.ep-pay-option:hover { border-color: var(--ep-mint); background: var(--ep-mint-xlight); }
.ep-pay-option.active { border-color: var(--ep-mint); background: var(--ep-mint-xlight); }
.ep-pay-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--ep-radius-sm);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.ep-pay-label strong { display: block; font-size: .9rem; font-weight: 800; color: var(--ep-ink); }
.ep-pay-label span { font-size: .8rem; color: var(--ep-ink-3); }
.ep-pay-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--ep-line);
  margin-left: auto;
  flex-shrink: 0;
  transition: all var(--ep-trans);
  position: relative;
}
.ep-pay-option.active .ep-pay-radio { border-color: var(--ep-mint); }
.ep-pay-option.active .ep-pay-radio::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: var(--ep-mint);
  border-radius: 50%;
}
.ep-order-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: .9rem;
  padding: 6px 0;
  color: var(--ep-ink-2);
  border-bottom: 1px solid var(--ep-line-light);
}
.ep-order-summary-row:last-child { border-bottom: none; }
.ep-order-grand {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ep-ink);
  padding: 12px 0 0;
  margin-top: 4px;
  border-top: 2px solid var(--ep-line);
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn-ep-primary {
  background: var(--ep-mint);
  color: #fff;
  border: none;
  border-radius: var(--ep-radius-pill);
  padding: 10px 26px;
  font-weight: 800;
  font-size: .95rem;
  font-family: var(--ep-font);
  transition: all var(--ep-trans);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-ep-primary:hover { background: var(--ep-mint-dark); color: #fff; transform: translateY(-1px); }
.btn-ep-primary:active { transform: translateY(1px); }
.btn-ep-outline {
  background: transparent;
  color: var(--ep-mint);
  border: 2px solid var(--ep-mint);
  border-radius: var(--ep-radius-pill);
  padding: 9px 24px;
  font-weight: 800;
  font-size: .95rem;
  font-family: var(--ep-font);
  transition: all var(--ep-trans);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-ep-outline:hover { background: var(--ep-mint); color: #fff; }
.btn-ep-gold {
  background: var(--ep-gold);
  color: #fff;
  border: none;
  border-radius: var(--ep-radius-pill);
  padding: 10px 26px;
  font-weight: 800;
  font-size: .95rem;
  font-family: var(--ep-font);
  transition: all var(--ep-trans);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-ep-gold:hover { background: var(--ep-gold-dark); color: #fff; }
.btn-ep-danger {
  background: var(--ep-coral);
  color: #fff;
  border: none;
  border-radius: var(--ep-radius-pill);
  padding: 9px 22px;
  font-weight: 800;
  font-size: .9rem;
  font-family: var(--ep-font);
  transition: all var(--ep-trans);
}
.btn-ep-danger:hover { background: #e05555; color: #fff; }

/* ── Forms ───────────────────────────────────────────────────── */
.ep-form-label {
  font-size: .82rem;
  font-weight: 800;
  color: var(--ep-ink-2);
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: 5px;
  display: block;
}
.ep-input {
  width: 100%;
  border: 1.5px solid var(--ep-line);
  border-radius: var(--ep-radius-sm);
  padding: 9px 13px;
  font-size: .92rem;
  font-family: var(--ep-font);
  color: var(--ep-ink);
  background: var(--ep-bg);
  outline: none;
  transition: all var(--ep-trans);
}
.ep-input:focus {
  border-color: var(--ep-mint);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(59,175,168,.12);
}

/* ── Footer ──────────────────────────────────────────────────── */
.ep-footer {
  background: var(--ep-ink);
  color: rgba(255,255,255,.7);
  padding: 48px 0 0;
  margin-top: 48px;
}
.ep-footer h5 {
  color: #fff;
  font-size: .9rem;
  font-weight: 800;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.ep-footer-links { list-style: none; padding: 0; margin: 0; }
.ep-footer-links li { margin-bottom: 8px; }
.ep-footer-links a {
  color: rgba(255,255,255,.6);
  font-size: .88rem;
  transition: color var(--ep-trans);
}
.ep-footer-links a:hover { color: var(--ep-mint); }
.ep-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 16px 0;
  margin-top: 32px;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}

/* ── Dashboard Sidebar ───────────────────────────────────────── */
.ep-dash-sidebar {
  background: #fff;
  border-radius: var(--ep-radius);
  border: 1px solid var(--ep-line);
  overflow: hidden;
}
.ep-dash-profile {
  background: var(--ep-mint-light);
  padding: 20px;
  text-align: center;
}
.ep-dash-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 10px;
  border: 3px solid #fff;
  overflow: hidden;
  box-shadow: var(--ep-shadow);
}
.ep-dash-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ep-dash-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  font-weight: 700;
  font-size: .9rem;
  color: var(--ep-ink-2);
  border-left: 3px solid transparent;
  transition: all var(--ep-trans);
}
.ep-dash-nav a:hover {
  background: var(--ep-mint-xlight);
  color: var(--ep-mint);
  border-left-color: var(--ep-mint);
}
.ep-dash-nav a.active {
  background: var(--ep-mint-light);
  color: var(--ep-mint-darker);
  border-left-color: var(--ep-mint);
}
.ep-dash-nav a i { font-size: 17px; }

/* ── Order Status Badges ─────────────────────────────────────── */
.ep-status { font-size: .76rem; font-weight: 800; padding: 3px 10px; border-radius: var(--ep-radius-pill); }
.ep-status-pending   { background: var(--ep-gold-light); color: var(--ep-gold-dark); }
.ep-status-confirmed { background: var(--ep-blue-light); color: #1a5fa8; }
.ep-status-shipped   { background: var(--ep-purple-light); color: var(--ep-purple); }
.ep-status-delivered { background: var(--ep-mint-light); color: var(--ep-mint-darker); }
.ep-status-cancelled { background: var(--ep-coral-light); color: #c0392b; }

/* ── Order Tracker ───────────────────────────────────────────── */
.ep-tracker { display: flex; flex-direction: column; gap: 0; position: relative; padding-left: 24px; }
.ep-tracker::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: var(--ep-line);
}
.ep-track-step {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  position: relative;
}
.ep-track-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ep-line);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--ep-line);
  flex-shrink: 0;
  margin-left: -24px;
  margin-right: 14px;
  position: relative;
  z-index: 1;
  transition: all var(--ep-trans);
}
.ep-track-step.done .ep-track-dot { background: var(--ep-mint); box-shadow: 0 0 0 2px var(--ep-mint-light); }
.ep-track-step.active .ep-track-dot { background: var(--ep-gold); box-shadow: 0 0 0 2px var(--ep-gold-light); }
.ep-track-title { font-weight: 800; font-size: .9rem; color: var(--ep-ink); }
.ep-track-time { font-size: .78rem; color: var(--ep-ink-3); }
.ep-track-desc { font-size: .84rem; color: var(--ep-ink-2); margin-top: 2px; }

/* ── Toast Notifications ─────────────────────────────────────── */
.ep-toast-wrap {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.ep-toast {
  background: var(--ep-ink);
  color: #fff;
  padding: 11px 18px;
  border-radius: var(--ep-radius);
  font-size: .88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: all;
  animation: ep-toastin .3s ease;
  min-width: 220px;
  box-shadow: var(--ep-shadow-md);
}
@keyframes ep-toastin {
  from { transform: translateX(120%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
.ep-toast.success { border-left: 4px solid var(--ep-mint); }
.ep-toast.error   { border-left: 4px solid var(--ep-coral); }
.ep-toast.info    { border-left: 4px solid var(--ep-blue); }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 991px) {
  .ep-sidebar { position: static; }
  .ep-filter-bar { /* static on mobile too */ }
}
@media (max-width: 767px) {
  .ep-product-grid { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 12px; }
  .ep-hero-content h1 { font-size: 1.5rem; }
  .ep-points-pill { display: none; }
  .ep-gallery-main { aspect-ratio: 4/3; }
}
@media (max-width: 480px) {
  .ep-product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ep-prod-img-wrap { height: 145px; }
  .ep-prod-name { font-size: .82rem; }
}
