/* Compare products (EBS_Compare): buttons, the bottom bar, and the compare table. */
.ebc-btn { display: inline-flex; align-items: center; gap: 7px; margin: 8px 0 0; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--eb-line-2, rgba(255,255,255,.16));
  background: transparent; color: var(--eb-muted, #98a3ba); font: 600 13px/1.2 var(--eb-body, inherit); cursor: pointer; }
.ebc-btn:hover { border-color: var(--eb-accent, #3cb4fc); color: var(--eb-text, #eaeef6); background: transparent; }
.ebc-box { width: 14px; height: 14px; border-radius: 4px; border: 2px solid currentColor; position: relative; flex: none; }
.ebc-btn.is-on { border-color: var(--eb-accent, #3cb4fc); color: var(--eb-text, #eaeef6); }
.ebc-btn.is-on .ebc-box { background: var(--eb-accent, #3cb4fc); border-color: var(--eb-accent, #3cb4fc); }
.ebc-btn.is-on .ebc-box::after { content: ""; position: absolute; left: 3px; top: 0; width: 4px; height: 8px; border: solid var(--eb-on-accent, #04121f); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.woocommerce ul.products li.product .ebc-loop { display: flex; margin: 8px auto 0; }
.ebc-single { margin: 12px 0 0; }

.ebc-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; background: rgba(10, 12, 19, 0.97); border-top: 1px solid var(--eb-line-2, rgba(255,255,255,.16));
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.45); color: var(--eb-text, #eaeef6); }
.ebc-bar[hidden] { display: none; }
body.ebc-bar-open { padding-bottom: 88px; }
.ebc-bar-in { display: flex; align-items: center; gap: 14px; max-width: 1240px; margin: 0 auto; padding: 10px 16px; }
.ebc-slots { display: flex; gap: 8px; flex: 1 1 auto; min-width: 0; margin: 0; padding: 0; list-style: none; }
.ebc-slot { position: relative; display: flex; align-items: center; gap: 8px; flex: 1 1 0; min-width: 0; height: 60px; padding: 6px 26px 6px 6px; border-radius: 10px;
  background: var(--eb-panel, #11141e); border: 1px solid var(--eb-line, rgba(255,255,255,.1)); }
.ebc-slot.is-empty { border-style: dashed; background: transparent; }
.ebc-thumb { flex: none; width: 46px; height: 46px; border-radius: 8px; background: #fff; overflow: hidden; }
.ebc-thumb img { width: 100%; height: 100%; object-fit: contain; }
.ebc-slot-name { font-size: 12px; line-height: 1.3; color: var(--eb-text, #eaeef6); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ebc-slot-x { position: absolute; top: 4px; right: 4px; width: 20px; height: 20px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--eb-muted, #98a3ba); font-size: 16px; line-height: 1; cursor: pointer; }
.ebc-slot-x:hover { color: var(--eb-text, #eaeef6); background: rgba(255,255,255,.08); }
.ebc-bar-act { display: flex; align-items: center; gap: 10px; flex: none; }
.ebc-bar-note { margin: 0; max-width: 220px; color: #f5b94a; font-size: 12px; }
.ebc-go { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 10px; background: var(--eb-accent, #3cb4fc); color: var(--eb-on-accent, #04121f) !important; font-weight: 700; text-decoration: none; }
.ebc-go.is-off { background: transparent; border: 1px dashed var(--eb-line-2, rgba(255,255,255,.16)); color: var(--eb-muted, #98a3ba) !important; font-weight: 600; }
.ebc-clear { padding: 8px 10px; border: 0; background: transparent; color: var(--eb-muted, #98a3ba); font-weight: 600; cursor: pointer; }
.ebc-clear:hover { color: var(--eb-text, #eaeef6); background: transparent; }
@media (max-width: 760px) {
  .ebc-bar-in { flex-wrap: wrap; gap: 8px; padding: 8px 10px; }
  .ebc-slots { flex-basis: 100%; }
  .ebc-slot { height: 50px; padding-right: 22px; }
  .ebc-thumb { width: 38px; height: 38px; }
  .ebc-slot-name { display: none; }
  .ebc-bar-act { width: 100%; justify-content: space-between; }
  body.ebc-bar-open { padding-bottom: 130px; }
}

.ebc-page { color: var(--eb-text, #eaeef6); }
.ebc-intro, .ebc-note { color: var(--eb-muted, #98a3ba); font-size: 14px; }
.ebc-note { font-size: 13px; margin-top: 10px; }
.ebc-scroll { overflow-x: auto; border: 1px solid var(--eb-line, rgba(255,255,255,.1)); border-radius: 14px; }
.ebc-table { width: 100%; min-width: calc(170px + var(--ebc-cols, 2) * 200px); border-collapse: separate; border-spacing: 0; margin: 0; font-size: 14px; table-layout: fixed; }
.ebc-table th, .ebc-table td { padding: 10px 12px; border-bottom: 1px solid var(--eb-line, rgba(255,255,255,.1)); vertical-align: top; text-align: left; background: var(--eb-panel, #11141e); color: var(--eb-text, #eaeef6); }
.ebc-table tbody th { width: 170px; color: var(--eb-muted, #98a3ba); font-weight: 600; font-size: 13px; }
.ebc-table thead th { position: relative; background: var(--eb-panel-2, #171b27); }
.ebc-table thead .ebc-corner, .ebc-table tbody th { position: sticky; left: 0; z-index: 1; }
.ebc-img { display: block; aspect-ratio: 1; max-width: 170px; margin: 0 auto 10px; background: #fff; border-radius: 10px; overflow: hidden; }
.ebc-img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.ebc-name { display: block; color: var(--eb-text, #eaeef6); font-weight: 600; line-height: 1.35; text-decoration: none; }
.ebc-name:hover { color: var(--eb-accent, #3cb4fc); }
.ebc-x { position: absolute; top: 6px; right: 8px; width: 26px; height: 26px; border-radius: 50%; color: var(--eb-muted, #98a3ba); font-size: 20px; line-height: 26px; text-align: center; text-decoration: none; }
.ebc-x:hover { background: rgba(255,255,255,.08); color: var(--eb-text, #eaeef6); }
.ebc-price { font-size: 17px; font-weight: 700; }
.ebc-price small { display: block; font-size: 12px; font-weight: 400; color: var(--eb-muted, #98a3ba); }
.ebc-table .ebc-cart { display: inline-block; padding: 8px 14px; border-radius: 8px; background: var(--eb-accent, #3cb4fc); color: var(--eb-on-accent, #04121f) !important; font-weight: 700; font-size: 13px; }
.ebc-same td { color: var(--eb-muted-2, #8590a8); }
.ebc-row-fps th { color: var(--eb-accent, #3cb4fc) !important; }
.ebc-row-fps .is-slow { color: #f87171; } .ebc-row-fps .is-ok { color: #f5b94a; } .ebc-row-fps .is-good { color: #4ade80; } .ebc-row-fps .is-fast { color: #5fc4ff; }
.ebc-row-fps td { font-weight: 700; font-variant-numeric: tabular-nums; }
.ebc-empty { padding: 30px; border: 1px dashed var(--eb-line-2, rgba(255,255,255,.16)); border-radius: 14px; text-align: center; }
/* The phone "add to cart" bar on product pages sits at the very bottom: the compare bar goes just above it. */
html.eb-buybar-on .ebc-bar { bottom: 64px; }
.ebc-page .ebc-table a, .ebc-page a.ebc-name { text-decoration: none !important; }
