
.ep-shop, .ep-shop * { box-sizing: border-box; margin: 0; padding: 0; }
.ep-shop {
  --navy: #0b1f44; --navy2: #16335f; --orange: #f97316; --orange2: #fb8c2e;
  --green: #15803d; --red: #dc2626; --gold: #f5a623;
  --line: #e4e8f0; --bg: #f6f7fa; --ink: #1a2440; --muted: #6b7488;
  font-family: 'Barlow', sans-serif;
  color: var(--ink);
  background: var(--bg);
  padding: 18px 14px 50px;
}
.ep-shop a { text-decoration: none !important; }
.ep-shop-inner { max-width: 1320px; margin: 0 auto; }

/* breadcrumb */
.eps-crumbs { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.eps-crumbs a { color: var(--muted) !important; }
.eps-crumbs a:hover { color: var(--orange) !important; }
.eps-crumbs span[aria-current] { color: var(--navy); font-weight: 600; }

/* intro SEO copy */
.eps-intro { font-size: 15px; line-height: 1.6; color: #3a4358; max-width: 880px; margin: 0 0 16px; }
.eps-intro a { color: var(--orange) !important; font-weight: 600; text-decoration: underline !important; text-underline-offset: 2px; }

/* trust strip */
.eps-trust2 { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 11px 16px; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; margin: 0 0 16px; font-size: 13.5px; font-weight: 600; color: var(--navy); }
.eps-trust2 span { white-space: nowrap; }

/* internal links */
.eps-links { margin: 30px 0 6px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 760px) { .eps-links { grid-template-columns: 1fr; gap: 14px; } }
.eps-linkgroup h2 { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 16px; letter-spacing: 1px; text-transform: uppercase; color: var(--navy); margin-bottom: 9px; }
.eps-linkrow { display: flex; flex-wrap: wrap; gap: 7px; }
.eps-linkrow a { background: #fff; border: 1.5px solid var(--line); border-radius: 99px; padding: 7px 13px; font-size: 13.5px; font-weight: 600; color: var(--navy) !important; }
.eps-linkrow a:hover { border-color: var(--orange); color: var(--orange) !important; }

/* FAQ */
.eps-faq { margin: 30px 0 0; max-width: 880px; }
.eps-faq h2 { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 22px; text-transform: uppercase; color: var(--navy); margin-bottom: 12px; }
.eps-faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.eps-faq summary { font-weight: 600; font-size: 15.5px; color: var(--navy); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.eps-faq summary::after { content: '+'; font-size: 22px; color: var(--orange); font-weight: 400; }
.eps-faq details[open] summary::after { content: '−'; }
.eps-faq summary::-webkit-details-marker { display: none; }
.eps-faq details p { margin-top: 9px; font-size: 14.5px; line-height: 1.6; color: #3a4358; }

/* ── Header row ── */
.eps-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.eps-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 34px; letter-spacing: .5px; text-transform: uppercase; color: var(--navy); line-height: 1; }
.eps-count { font-size: 14px; color: var(--muted); font-weight: 500; }
.eps-sort { display: flex; align-items: center; gap: 8px; }
.eps-sort label { font-size: 13px; font-weight: 600; color: var(--muted); }
.eps-sort select {
  font-family: 'Barlow', sans-serif; font-size: 14px; font-weight: 600; color: var(--navy);
  border: 1.5px solid var(--line); border-radius: 9px; background: #fff; padding: 9px 12px; cursor: pointer; outline: none;
}

/* ── Filter bar ── */
.eps-filters {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  padding: 10px 0;
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
}
.eps-fbtn {
  font-family: 'Barlow', sans-serif; font-size: 14px; font-weight: 600; color: var(--navy);
  background: #fff; border: 1.5px solid var(--line); border-radius: 99px;
  padding: 9px 16px; cursor: pointer; display: flex; align-items: center; gap: 7px;
  transition: border-color .12s;
  position: relative;
}
.eps-fbtn:hover { border-color: var(--navy); }
.eps-fbtn.eps-active { border-color: var(--orange); color: var(--orange); }
.eps-fbtn .eps-fcount {
  background: var(--orange); color: #fff; font-size: 11px; font-weight: 700;
  min-width: 17px; height: 17px; border-radius: 99px; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px;
}
.eps-fbtn svg { width: 10px; height: 10px; fill: currentColor; }
.eps-clear {
  font-size: 13px; font-weight: 600; color: var(--muted); background: none; border: none;
  cursor: pointer; padding: 9px 6px; text-decoration: underline; font-family: 'Barlow', sans-serif;
  display: none;
}
.eps-clear.eps-show { display: inline-block; }

/* dropdown panels */
.eps-panel {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 60;
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
  box-shadow: 0 12px 32px rgba(10,20,50,.14);
  padding: 12px; min-width: 220px; display: none;
}
.eps-panel.eps-open { display: block; }
.eps-opt { display: flex !important; align-items: center; gap: 9px; padding: 7px 6px; border-radius: 7px; cursor: pointer; font-size: 14px !important; font-weight: 500 !important; font-family: 'Barlow', sans-serif !important; color: #1a2440 !important; margin: 0 !important; line-height: 1.4 !important; }
.eps-opt:hover { background: #f4f6fa; }
.eps-opt input { width: 16px !important; height: 16px !important; accent-color: var(--orange); cursor: pointer; margin: 0 !important; position: static !important; opacity: 1 !important; appearance: auto !important; -webkit-appearance: checkbox !important; }
.eps-opt .eps-optl { color: #1a2440 !important; font-size: 14px !important; font-weight: 500 !important; text-indent: 0 !important; visibility: visible !important; }
.eps-opt .eps-optn { color: var(--muted) !important; font-size: 12px !important; margin-left: auto; }
/* range panels */
.eps-range { width: 250px; }
.eps-range-vals { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.eps-range input[type="range"] { width: 100%; accent-color: var(--orange); }
.eps-range-row { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.eps-range-row label { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }

/* chips */
.eps-chips { display: flex; gap: 7px; flex-wrap: wrap; margin: 4px 0 12px; }
.eps-chip {
  background: var(--navy); color: #fff; font-size: 12.5px; font-weight: 600;
  border-radius: 99px; padding: 5px 11px; display: inline-flex; align-items: center; gap: 7px; cursor: pointer; border: none; font-family: 'Barlow', sans-serif;
}
.eps-chip span { opacity: .7; }

/* ── Grid ── */
.eps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1080px) { .eps-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .eps-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

.eps-card {
  background: #fff; border: 1.5px solid var(--line); border-radius: 14px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .15s, transform .15s;
  position: relative;
}
.eps-card:hover { box-shadow: 0 10px 28px rgba(10,20,50,.12); transform: translateY(-2px); }
.eps-img {
  display: block; position: relative; background: #fff; padding: 14px;
}
.eps-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.eps-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 5px; z-index: 2; }
.eps-badge { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .6px; text-transform: uppercase; padding: 3px 9px; border-radius: 6px; color: #fff; width: max-content; }
.eps-badge.eps-b-sale { background: var(--red); }
.eps-badge.eps-b-best { background: var(--orange); }
.eps-badge.eps-b-new  { background: var(--green); }
.eps-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.eps-stars { color: var(--gold); font-size: 13px; letter-spacing: 1px; }
.eps-stars .eps-rc { color: var(--muted); font-size: 12px; letter-spacing: 0; margin-left: 4px; }
.eps-name:hover { color: var(--orange); }
.eps-spec { font-size: 11.5px; font-weight: 600; color: var(--muted); background: #f2f4f8; border-radius: 6px; padding: 3px 8px; display: inline-flex; align-items: center; gap: 5px; }
.eps-price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.eps-was { color: var(--muted); text-decoration: line-through; font-size: 14px; font-weight: 500; }
.eps-now { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 24px; color: var(--navy); }
.eps-now.eps-sale { color: var(--red); }
.eps-stock { font-size: 12.5px; font-weight: 700; }
.eps-stock.eps-low { color: var(--orange); }
.eps-stock.eps-in  { color: var(--green); }
.eps-add {
  margin-top: 4px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange2) 100%);
  color: #fff; border: none; border-radius: 10px; padding: 11px 10px;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 16px; letter-spacing: .8px; text-transform: uppercase;
  cursor: pointer; transition: filter .12s; width: 100%;
}
.eps-add:hover { filter: brightness(1.07); }
.eps-add:disabled { opacity: .6; cursor: default; }
.eps-add.eps-added { background: var(--green); }
.eps-oos { margin-top: 4px; text-align: center; font-size: 13px; font-weight: 700; color: var(--muted); padding: 11px 10px; background: #f2f4f8; border-radius: 10px; }

/* hover image swap */
.eps-img img { transition: opacity .22s ease; }
.eps-img .eps-img2 { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); object-fit: contain; opacity: 0; }
@media (hover: hover) {
  .eps-card:hover .eps-img2 { opacity: 1; }
  .eps-card:hover .eps-img1.eps-hasalt { opacity: 0; }
}

/* spec chips with icons */
.eps-spec { display: inline-flex; align-items: center; gap: 5px; }
.eps-spec svg { width: 11px; height: 11px; fill: currentColor; flex-shrink: 0; }

/* card tools (quick view / compare) */
.eps-cardtools { position: absolute; top: 10px; right: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 3; }
.eps-tool { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff !important; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; transition: border-color .12s, background .12s; box-shadow: 0 2px 6px rgba(10,20,50,.1); }
.eps-tool svg { width: 16px !important; height: 16px !important; display: block; fill: #0b1f44 !important; }
.eps-tool svg path { fill: #0b1f44 !important; }
.eps-tool:hover { border-color: var(--orange); background: #fff7f0 !important; }
.eps-tool.eps-on { background: #0b1f44 !important; border-color: #0b1f44; }
.eps-tool.eps-on svg, .eps-tool.eps-on svg path { fill: #fff !important; }

/* equal-height cards: fixed image box + clamped title */
.eps-img { display: block; position: relative; background: #fff; padding: 14px; height: 230px; }
.eps-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.eps-name {
  font-size: 15px; font-weight: 600; color: var(--navy); line-height: 1.3;
  min-height: 2.6em; max-height: 2.6em; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.eps-name:hover { color: var(--orange); }
.eps-specs { display: flex; gap: 5px; flex-wrap: wrap; min-height: 26px; }

/* load more */
.eps-more { display: none; justify-content: center; margin-top: 22px; }
.eps-more.eps-show { display: flex; }
.eps-more button { background: var(--navy); color: #fff; border: none; border-radius: 11px; padding: 13px 30px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 17px; letter-spacing: .8px; text-transform: uppercase; cursor: pointer; }
.eps-more button:hover { background: var(--navy2); }

/* ── quick view modal ── */
.eps-qv-overlay { position: fixed; inset: 0; background: rgba(4,12,30,.6); z-index: 1200; opacity: 0; visibility: hidden; transition: opacity .18s; }
.eps-qv-overlay.eps-open { opacity: 1; visibility: visible; }
.eps-qv { position: fixed; left: 50%; top: 50%; transform: translate(-50%,-50%) scale(.97); z-index: 1201; background: #fff; border-radius: 16px; width: min(880px, calc(100vw - 24px)); max-height: 88vh; max-height: 88dvh; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s; font-family: 'Barlow', sans-serif; color: #1a2440; box-shadow: 0 24px 70px rgba(4,12,30,.4); }
.eps-qv.eps-open { opacity: 1; visibility: visible; transform: translate(-50%,-50%) scale(1); }
.eps-qv-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: none; background: #f2f4f8; color: #0b1f44; font-size: 16px; cursor: pointer; }
.eps-qv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
@media (max-width: 720px) { .eps-qv-grid { grid-template-columns: 1fr; } }
.eps-qv-imgcol { padding: 26px; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.eps-qv-main { width: 100%; aspect-ratio: 1/1; object-fit: contain; }
.eps-qv-thumbs { display: flex; gap: 8px; }
.eps-qv-thumb { width: 56px; height: 56px; border: 2px solid #e4e8f0; border-radius: 9px; background: #fff; padding: 4px; cursor: pointer; }
.eps-qv-thumb.eps-on { border-color: #f97316; }
.eps-qv-thumb img { width: 100%; height: 100%; object-fit: contain; }
.eps-qv-info { padding: 30px 28px 26px 4px; display: flex; flex-direction: column; gap: 11px; }
@media (max-width: 720px) { .eps-qv-info { padding: 0 22px 24px; } }
.eps-qv-name { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 27px; line-height: 1.1; color: #0b1f44; text-transform: uppercase; letter-spacing: .3px; }
.eps-qv-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 14px; background: #f6f7fa; border-radius: 12px; padding: 14px 16px; }
.eps-qv-spec { font-size: 13px; }
.eps-qv-spec b { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: #6b7488; margin-bottom: 1px; }
.eps-qv-link { font-size: 14px; font-weight: 600; color: #0b1f44 !important; text-decoration: underline !important; text-underline-offset: 3px; }
.eps-qv-link:hover { color: #f97316 !important; }

/* ── compare tray + modal ── */
.eps-tray { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%) translateY(140%); z-index: 1190; background: #0b1f44; border-radius: 99px; padding: 9px 12px 9px 14px; display: flex; align-items: center; gap: 10px; box-shadow: 0 14px 40px rgba(4,12,30,.45); transition: transform .25s ease; font-family: 'Barlow', sans-serif; max-width: calc(100vw - 20px); }
.eps-tray.eps-show { transform: translateX(-50%) translateY(0); }
.eps-tray-thumb { width: 40px; height: 40px; border-radius: 50%; background: #fff; padding: 3px; position: relative; flex-shrink: 0; }
.eps-tray-thumb img { width: 100%; height: 100%; object-fit: contain; }
.eps-tray-thumb button { position: absolute; top: -5px; right: -5px; width: 17px; height: 17px; border-radius: 50%; border: none; background: #dc2626; color: #fff; font-size: 10px; line-height: 1; cursor: pointer; padding: 0; }
.eps-tray-go { background: linear-gradient(135deg, #f97316, #fb8c2e); color: #fff; border: none; border-radius: 99px; padding: 11px 20px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 16px; letter-spacing: .7px; text-transform: uppercase; cursor: pointer; white-space: nowrap; }
.eps-tray-clear { background: none; border: none; color: rgba(255,255,255,.7); font-size: 12px; cursor: pointer; padding: 4px 6px; font-family: 'Barlow', sans-serif; }
.eps-cmp-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 0 22px 24px; }
.eps-cmp-table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 13.5px; }
.eps-cmp-table th, .eps-cmp-table td { border-bottom: 1px solid #eef0f4; padding: 9px 12px; text-align: left; vertical-align: top; }
.eps-cmp-table th { font-size: 10.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: #6b7488; white-space: nowrap; width: 110px; }
.eps-cmp-prod img { width: 110px; height: 110px; object-fit: contain; display: block; margin-bottom: 6px; }
.eps-cmp-prod a { color: #0b1f44 !important; font-weight: 700; font-size: 14px; line-height: 1.25; display: block; }
.eps-cmp-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 24px; text-transform: uppercase; color: #0b1f44; padding: 24px 22px 12px; }

/* skeletons */
.eps-skel { background: #fff; border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; }
.eps-skel > div { background: linear-gradient(90deg, #eef0f4 25%, #f7f8fb 50%, #eef0f4 75%); background-size: 200% 100%; animation: eps-sh 1.2s linear infinite; }
@keyframes eps-sh { to { background-position: -200% 0; } }
.eps-skel .s-img { aspect-ratio: 1/1; }
.eps-skel .s-l1 { height: 14px; margin: 14px 14px 8px; border-radius: 6px; }
.eps-skel .s-l2 { height: 14px; margin: 0 40px 14px 14px; border-radius: 6px; }
.eps-skel .s-l3 { height: 38px; margin: 0 14px 14px; border-radius: 9px; }

.eps-empty { text-align: center; padding: 60px 20px; color: var(--muted); font-size: 16px; grid-column: 1 / -1; }
.eps-empty button { margin-top: 12px; background: var(--navy); color: #fff; border: none; border-radius: 9px; padding: 10px 20px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .8px; text-transform: uppercase; cursor: pointer; }
.eps-error { text-align: center; padding: 50px 20px; grid-column: 1 / -1; font-size: 15px; color: var(--muted); }
.eps-error a { color: var(--orange) !important; font-weight: 700; }

/* ── Mobile filter sheet ── */
.eps-mfbtn { display: none; }
@media (max-width: 760px) {
  .eps-title { font-size: 27px; }
  .eps-filters .eps-fbtn:not(.eps-mfbtn), .eps-filters .eps-clear { display: none; }
  .eps-mfbtn {
    display: flex; flex: 1; justify-content: center;
    background: var(--navy); color: #fff; border-color: var(--navy);
    font-family: 'Barlow Condensed', sans-serif; font-size: 16px; letter-spacing: .8px; text-transform: uppercase; font-weight: 700;
  }
  .eps-sort select { padding: 9px 8px; font-size: 13px; }
}
.eps-sheet-overlay { position: fixed; inset: 0; background: rgba(4,12,30,.55); z-index: 1100; opacity: 0; visibility: hidden; transition: opacity .2s; }
.eps-sheet-overlay.eps-open { opacity: 1; visibility: visible; }
.eps-sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1101;
  background: #fff; border-radius: 18px 18px 0 0; max-height: 82vh; max-height: 82dvh;
  transform: translateY(105%); transition: transform .25s ease;
  display: flex; flex-direction: column;
  font-family: 'Barlow', sans-serif;
}
.eps-sheet.eps-open { transform: translateY(0); }
.eps-sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.eps-sheet-head h3 { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 20px; text-transform: uppercase; letter-spacing: .6px; color: var(--navy); }
.eps-sheet-close { background: #f2f4f8; border: none; border-radius: 50%; width: 34px; height: 34px; font-size: 17px; cursor: pointer; color: var(--navy); }
.eps-sheet-body { overflow-y: auto; padding: 6px 18px 14px; flex: 1; -webkit-overflow-scrolling: touch; }
.eps-sheet-sec { border-bottom: 1px solid var(--line); padding: 12px 0; }
.eps-sheet-sec h4 { font-size: 12px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.eps-sheet-opts { display: flex; flex-wrap: wrap; gap: 7px; }
.eps-tag {
  border: 1.5px solid var(--line); border-radius: 99px; background: #fff !important;
  font-size: 13.5px !important; font-weight: 600 !important; color: #1a2440 !important;
  padding: 7px 13px; cursor: pointer; font-family: 'Barlow', sans-serif !important;
  transition: background .12s, color .12s, border-color .12s;
}
.eps-tag.eps-on {
  background: #f97316 !important; border-color: #f97316 !important; color: #fff !important;
}
.eps-tag.eps-on:after { content: ' ✓'; }
.eps-sheet-foot { display: flex; gap: 10px; padding: 12px 18px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.eps-sheet-foot .eps-apply {
  flex: 1; background: linear-gradient(135deg, var(--orange), var(--orange2)); color: #fff; border: none; border-radius: 11px;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 17px; letter-spacing: .8px; text-transform: uppercase; padding: 13px; cursor: pointer;
}
.eps-sheet-foot .eps-reset { background: none; border: 1.5px solid var(--line); border-radius: 11px; padding: 13px 18px; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; font-family: 'Barlow', sans-serif; }

@media (prefers-reduced-motion: reduce) {
  .ep-shop *, .eps-sheet, .eps-sheet-overlay { transition: none !important; animation: none !important; }
}
.ep-shop button:focus-visible, .ep-shop select:focus-visible, .ep-shop input:focus-visible, .ep-shop a:focus-visible { outline: 3px solid #ffd166; outline-offset: 2px; }
