/*
 * Enigma Bytes shop styling, WooCommerce under Astra.
 * Colours and fonts come from the site's Elementor kit (--e-global-*), with the same values as fallbacks.
 * Radius rule: cards 20px, media inside cards 14px, buttons and inputs 10px, category chips full pill.
 */

:is(body.woocommerce, body.woocommerce-page) {
  --eb-ground: var(--e-global-color-ink, #05060A);
  --eb-ground-2: var(--e-global-color-inktwo, #0A0C13);
  --eb-panel: var(--e-global-color-inkthree, #11141E);
  --eb-panel-2: var(--e-global-color-inkfour, #171B27);
  --eb-text: var(--e-global-color-text, #EAEEF6);
  --eb-muted: var(--e-global-color-muted, #98A3BA);
  --eb-muted-2: var(--e-global-color-mutedtwo, #6C778F);
  --eb-accent: var(--e-global-color-accent, #3CB4FC);
  --eb-accent-hover: var(--e-global-color-cyanlift, #5FC4FF);
  --eb-on-accent: var(--e-global-color-oncyan, #04121F);
  --eb-line: var(--e-global-color-hairline, rgba(255, 255, 255, 0.10));
  --eb-line-2: var(--e-global-color-hairlinetwo, rgba(255, 255, 255, 0.16));
  --eb-tint: var(--e-global-color-iconbg, rgba(60, 180, 252, 0.16));
  --eb-ok: #4ADE80;
  --eb-wait: #F5B94A;
  --eb-display: "Space Grotesk", system-ui, sans-serif;
  --eb-body: "Inter", system-ui, sans-serif;

  /* Re-point Astra's own colour roles so everything it renders on shop pages is dark. */
  --ast-global-color-0: var(--eb-accent);
  --ast-global-color-1: var(--eb-accent-hover);
  --ast-global-color-2: var(--eb-text);
  --ast-global-color-3: var(--eb-muted);
  --ast-global-color-4: var(--eb-ground);
  --ast-global-color-5: var(--eb-panel);
  --ast-global-color-6: var(--eb-ground-2);
  --ast-global-color-7: var(--eb-panel-2);
  --ast-global-color-8: var(--eb-muted-2);
  --ast-border-color: var(--eb-line);
  --ast-wc-container-head-bg-color: var(--eb-panel-2);
  --ast-global-dark-lfs: var(--eb-panel-2);
  --ast-global-dark-bg-style: var(--eb-panel);
  --ast-widget-bg-color: var(--eb-panel);
  --ast-title-layout-bg: var(--eb-panel-2);
  --ast-search-border-color: var(--eb-line-2);
  --ast-lifter-hover-bg: var(--eb-panel-2);
  --ast-comment-inputs-background: var(--eb-panel);
  --ast-bg-style-guide: var(--eb-panel);

  background: var(--eb-ground);
  color: var(--eb-muted);
  font-family: var(--eb-body);
}

:is(body.woocommerce, body.woocommerce-page) :is(.site-content, #primary, .ast-container) { background: transparent; }

:is(body.woocommerce, body.woocommerce-page) :where(h1, h2, h3, h4, .product_title, .page-title, .woocommerce-loop-product__title) {
  font-family: var(--eb-display);
  color: var(--eb-text);
  letter-spacing: -0.02em;
  line-height: 1.12;
}

:is(body.woocommerce, body.woocommerce-page) a { color: var(--eb-accent); }
:is(body.woocommerce, body.woocommerce-page) a:hover { color: var(--eb-accent-hover); }

/* ---------- Page head ---------- */

:is(body.woocommerce, body.woocommerce-page) #primary { margin-top: 40px; margin-bottom: 72px; }
.woocommerce .woocommerce-breadcrumb { color: var(--eb-muted-2); font-size: 13px; margin-bottom: 12px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--eb-muted); }
.woocommerce-products-header__title.page-title { font-size: clamp(32px, 4vw, 46px); font-weight: 700; margin: 0 0 24px; }
.woocommerce .term-description { max-width: 64ch; color: var(--eb-muted); }

.eb-cats { margin: 0 0 22px; }
.eb-cats ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.eb-cats a {
  display: inline-block; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--eb-line-2); color: var(--eb-text);
  font: 600 14px/1.2 var(--eb-display); letter-spacing: -0.01em; text-decoration: none;
  transition: border-color .15s, background-color .15s;
}
.eb-cats a:hover { border-color: var(--eb-accent); color: var(--eb-text); }
.eb-cats a[aria-current="page"] { background: var(--eb-accent); border-color: var(--eb-accent); color: var(--eb-on-accent); }

/* Subcategories: a quieter second row under the departments. */
.eb-cats.eb-subcats { margin-top: -10px; }
.eb-subcats a { padding: 6px 13px; font-size: 13.5px; border-color: var(--eb-line); color: var(--eb-muted); }
.eb-subcats a[aria-current="page"] { background: rgba(60, 180, 252, .14); border-color: var(--eb-accent); color: var(--eb-text); }

/* Shopping space: a segmented switch above the categories. */
.eb-spaces { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 16px; }
.eb-spaces-label { font: 600 12px/1 var(--eb-body); letter-spacing: .08em; text-transform: uppercase; color: var(--eb-muted-2); }
.eb-spaces ul { display: inline-flex; gap: 4px; margin: 0; padding: 4px; list-style: none; background: var(--eb-panel); border: 1px solid var(--eb-line); border-radius: 12px; }
.eb-spaces :is(a, .is-empty) {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 9px;
  color: var(--eb-muted); font: 600 14.5px/1 var(--eb-display); text-decoration: none; transition: background-color .15s, color .15s;
}
.eb-spaces a:hover { background: rgba(255, 255, 255, .05); color: var(--eb-text); }
.eb-spaces a[aria-current="true"] { background: var(--eb-accent); color: var(--eb-on-accent); }
.eb-spaces em { font: 500 12.5px/1 var(--eb-body); font-style: normal; opacity: .75; font-variant-numeric: tabular-nums; }
.eb-spaces .is-empty { opacity: .4; }

/* Key specs on shop cards. */
.woocommerce ul.products li.product .eb-card-chips { display: flex; flex-wrap: wrap; gap: 4px; margin: 2px 0 8px; }
.woocommerce ul.products li.product .eb-card-chips span {
  padding: 4px 7px; border-radius: 6px; background: rgba(255, 255, 255, .06);
  color: var(--eb-muted); font: 500 11.5px/1.2 var(--eb-body); white-space: nowrap;
}

.woocommerce .woocommerce-result-count { color: var(--eb-muted-2); font-size: 14px; margin: 10px 0 24px; }
.woocommerce .woocommerce-ordering select,
:is(body.woocommerce, body.woocommerce-page) select {
  background-color: var(--eb-panel); color: var(--eb-text);
  border: 1px solid var(--eb-line-2); border-radius: 10px; padding: 8px 36px 8px 12px; font-family: var(--eb-body);
}

/* ---------- Product cards ---------- */

.woocommerce ul.products { gap: 20px; row-gap: 20px; }
.woocommerce ul.products li.product {
  display: flex; flex-direction: column; margin: 0;
  background: var(--eb-panel);
  border: 1px solid var(--eb-line);
  border-radius: 20px;
  padding: 6px 6px 18px;
  transition: border-color .2s, transform .2s;
}
.woocommerce ul.products li.product:hover { border-color: var(--eb-line-2); transform: translateY(-2px); }
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap { position: relative; border-radius: 14px; overflow: hidden; background: var(--eb-ground-2); }
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap img { border-radius: 14px; aspect-ratio: 1 / 1; object-fit: contain; background: var(--eb-ground-2); margin: 0; }
.woocommerce ul.products li.product .astra-shop-summary-wrap { display: flex; flex-direction: column; flex: 1; padding: 14px 12px 0; }

/* Supplier photos are shot on white: give real photos a white tile so they sit cleanly in the dark card.
   Products still waiting for a photo keep the dark placeholder. */
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap:has(img:not(.woocommerce-placeholder)) { background: #fff; }
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap img:not(.woocommerce-placeholder) { background: #fff; padding: 14px; box-sizing: border-box; }
.woocommerce div.product div.images .woocommerce-product-gallery__image:has(img:not(.woocommerce-placeholder)),
.woocommerce div.product div.images img:not(.woocommerce-placeholder) { background: #fff; }
.woocommerce div.product div.images .woocommerce-product-gallery__image img:not(.woocommerce-placeholder) { padding: 28px; box-sizing: border-box; }
:is(body.woocommerce-cart, body.woocommerce-checkout) img:not(.woocommerce-placeholder):is(.attachment-woocommerce_thumbnail, .wp-post-image) { background: #fff; padding: 4px; }
.woocommerce ul.products li.product .ast-woo-product-category {
  order: -1; color: var(--eb-muted-2); font: 600 11px/1.4 var(--eb-display);
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; color: var(--eb-text);
  margin: 0 0 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.woocommerce ul.products li.product a.ast-loop-product__link:hover .woocommerce-loop-product__title { color: var(--eb-accent); }
.woocommerce ul.products li.product .price { margin: auto 0 0; }
.woocommerce ul.products li.product .button { margin-top: 14px; align-self: flex-start; }

/* Astra's "out of stock" ribbon and the icon button on the image: our stock line says it already. */
.woocommerce ul.products li.product .ast-shop-product-out-of-stock { display: none; }
.woocommerce ul.products li.product .ast-on-card-button { display: none; }

/* ---------- Prices ---------- */

/* Specific enough to beat Astra's ".woocommerce ul.products li.product .price". */
:is(body.woocommerce, body.woocommerce-page) :is(ul.products li.product .price, div.product p.price, div.product span.price, .price) {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px;
  color: var(--eb-text) !important;
  font: 700 20px/1.2 var(--eb-display); letter-spacing: -0.02em;
}
:is(body.woocommerce, body.woocommerce-page) :is(ul.products li.product, div.product) .price ins { text-decoration: none; color: var(--eb-text); order: 1; font-weight: 700; }
:is(body.woocommerce, body.woocommerce-page) :is(ul.products li.product, div.product) .price del {
  order: 2; color: var(--eb-muted-2); opacity: 1; font-size: 14px; font-weight: 500;
}
:is(body.woocommerce, body.woocommerce-page) :is(ul.products li.product, div.product) .price del .woocommerce-Price-amount { color: var(--eb-muted-2); }
:is(body.woocommerce, body.woocommerce-page) :is(ul.products li.product, div.product) .price .woocommerce-price-suffix {
  order: 3; flex-basis: 100%; display: block;
  font: 400 12.5px/1.4 var(--eb-body); letter-spacing: 0; color: var(--eb-muted-2);
}
:is(body.woocommerce, body.woocommerce-page) div.product .summary p.price { font-size: 34px; margin: 8px 0 6px; }
:is(body.woocommerce, body.woocommerce-page) div.product .summary p.price del { font-size: 17px; }
:is(body.woocommerce, body.woocommerce-page) div.product .summary p.price .woocommerce-price-suffix { font-size: 14px; }

/* ---------- Stock ---------- */

:is(body.woocommerce, body.woocommerce-page) p.stock,
.eb-card-stock {
  display: flex; align-items: center; gap: 8px;
  margin: 8px 0 0; font: 500 13px/1.35 var(--eb-body); color: var(--eb-muted);
}
:is(body.woocommerce, body.woocommerce-page) p.stock::before,
.eb-card-stock::before {
  content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--eb-muted-2);
}
:is(body.woocommerce, body.woocommerce-page) .eb-stock-own { color: var(--eb-text); }
:is(body.woocommerce, body.woocommerce-page) .eb-stock-own::before { background: var(--eb-ok); box-shadow: 0 0 0 3px rgba(74, 222, 128, .14); }
:is(body.woocommerce, body.woocommerce-page) .eb-stock-supplier::before { background: var(--eb-accent); }
:is(body.woocommerce, body.woocommerce-page) .eb-stock-order::before { background: var(--eb-wait); }
:is(body.woocommerce, body.woocommerce-page) .eb-stock-out { color: var(--eb-muted-2); }
.woocommerce div.product .summary p.stock { font-size: 14px; margin: 4px 0 22px; }

/* Astra wraps the single-product stock line as "Availability: <span class=stock>"; the dot says it. */
.woocommerce div.product .summary .ast-stock-detail { margin: 4px 0 22px; }
.woocommerce div.product .summary .ast-stock-detail .ast-stock-avail { display: none; }
.woocommerce div.product .summary .ast-stock-detail .stock {
  display: inline-flex; align-items: center; gap: 8px; font: 500 14px/1.35 var(--eb-body); color: var(--eb-muted);
}
.woocommerce div.product .summary .ast-stock-detail .stock::before {
  content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--eb-muted-2);
}
.woocommerce div.product .summary .ast-stock-detail .stock.eb-stock-own { color: var(--eb-text); }
.woocommerce div.product .summary .ast-stock-detail .stock.eb-stock-own::before { background: var(--eb-ok); box-shadow: 0 0 0 3px rgba(74, 222, 128, .14); }
.woocommerce div.product .summary .ast-stock-detail .stock.eb-stock-supplier::before { background: var(--eb-accent); }
.woocommerce div.product .summary .ast-stock-detail .stock.eb-stock-order::before { background: var(--eb-wait); }

.woocommerce div.product .summary .single-product-category,
.woocommerce div.product .summary .ast-woo-product-category {
  font: 600 12px/1.4 var(--eb-display); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px;
}
.woocommerce div.product .summary :is(.single-product-category, .ast-woo-product-category) a { color: var(--eb-muted-2); }

/* ---------- Save badge ---------- */

.woocommerce span.onsale.eb-save,
.woocommerce ul.products li.product .onsale.eb-save {
  position: absolute; top: 12px; left: 12px; right: auto; z-index: 2;
  min-width: 0; min-height: 0; width: auto; height: auto; margin: 0;
  padding: 6px 10px; border-radius: 999px;
  background: var(--eb-accent); color: var(--eb-on-accent);
  font: 700 12.5px/1 var(--eb-display); letter-spacing: -0.01em;
  box-shadow: 0 6px 20px rgba(60, 180, 252, .28);
}
.woocommerce div.product span.onsale.eb-save {
  top: 18px; left: 18px; font-size: 14px; padding: 8px 14px;
  min-width: 0; min-height: 0; width: auto; height: auto; line-height: 1;
}

/* ---------- Buttons ---------- */

:is(body.woocommerce, body.woocommerce-page) :is(a.button, button.button, input.button, #respond input#submit, .wc-block-components-button:not(.is-link), .wp-element-button.wc-block-components-button) {
  background: var(--eb-accent); color: var(--eb-on-accent) !important;
  border: 0; border-radius: 10px; padding: 12px 20px;
  font: 600 15px/1.2 var(--eb-display); letter-spacing: -0.16px;
  box-shadow: 0 8px 30px rgba(60, 180, 252, .24);
  transition: background-color .15s, transform .1s;
}
:is(body.woocommerce, body.woocommerce-page) :is(a.button, button.button, input.button, .wc-block-components-button:not(.is-link)):hover {
  background: var(--eb-accent-hover); color: var(--eb-on-accent) !important;
}
:is(body.woocommerce, body.woocommerce-page) :is(a.button, button.button, .wc-block-components-button):active { transform: translateY(1px); }
:is(body.woocommerce, body.woocommerce-page) :is(a.button, button.button):disabled,
:is(body.woocommerce, body.woocommerce-page) :is(a.button, button.button).disabled { opacity: .45; box-shadow: none; }

/* Secondary: "Read more" on items that cannot be bought right now. */
.woocommerce ul.products li.product .button:not(.add_to_cart_button) {
  background: transparent; color: var(--eb-text) !important; box-shadow: none; border: 1px solid var(--eb-line-2);
}
.woocommerce ul.products li.product .button:not(.add_to_cart_button):hover { border-color: var(--eb-accent); background: transparent; }
.woocommerce ul.products li.product .added_to_cart { display: inline-block; margin-top: 10px; font: 600 14px var(--eb-display); }

/* ---------- Single product ---------- */

.woocommerce div.product { color: var(--eb-muted); }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper,
.woocommerce div.product div.images img {
  border-radius: 20px; background: var(--eb-ground-2);
}
.woocommerce div.product div.images .woocommerce-product-gallery__image { border: 1px solid var(--eb-line); border-radius: 20px; overflow: hidden; }
.woocommerce div.product .product_title { font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; margin-bottom: 4px; }
.woocommerce div.product .woocommerce-product-details__short-description { max-width: 60ch; color: var(--eb-muted); }

.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; margin: 0 0 22px; }
.woocommerce div.product form.cart .button { padding: 14px 28px; font-size: 16px; }
:is(body.woocommerce, body.woocommerce-page) .quantity input.qty,
:is(body.woocommerce, body.woocommerce-page) .quantity :is(.minus, .plus) {
  background: var(--eb-panel); color: var(--eb-text); border: 1px solid var(--eb-line-2); border-radius: 10px; min-height: 48px;
}

/* Key specs beside the price (short description). */
.woocommerce div.product .woocommerce-product-details__short-description .eb-keyspecs {
  list-style: none; margin: 4px 0 18px; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0;
  border: 1px solid var(--eb-line); border-radius: 14px; overflow: hidden;
}
.woocommerce div.product .eb-keyspecs li {
  display: flex; justify-content: space-between; gap: 16px; margin: 0; padding: 9px 14px;
  border-bottom: 1px solid var(--eb-line); color: var(--eb-text); font-size: 14px;
}
.woocommerce div.product .eb-keyspecs li:last-child { border-bottom: 0; }
.woocommerce div.product .eb-keyspecs li span { color: var(--eb-muted-2); }
.woocommerce div.product .woocommerce-tabs .panel p { max-width: 68ch; }

.eb-help {
  margin: 0 0 18px; padding: 16px 18px; border-radius: 14px;
  background: var(--eb-tint); border: 1px solid var(--e-global-color-panelborder, rgba(60, 180, 252, .26));
  color: var(--eb-muted); font-size: 14px; line-height: 1.55;
}
.eb-help strong { color: var(--eb-text); font-family: var(--eb-display); }
.woocommerce div.product .product_meta { font-size: 13px; color: var(--eb-muted-2); border-top: 1px solid var(--eb-line); padding-top: 16px; }
.woocommerce div.product .product_meta > span { display: block; margin-bottom: 4px; }
.woocommerce div.product .product_meta :is(.sku, a) { color: var(--eb-text); }

.woocommerce div.product .woocommerce-tabs { margin-top: 56px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 24px; border-bottom: 1px solid var(--eb-line); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none; border: 0; margin: 0 24px 0 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 12px 0; color: var(--eb-muted); font: 600 15px var(--eb-display); border-bottom: 2px solid transparent; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--eb-text); border-bottom-color: var(--eb-accent); }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 78ch; color: var(--eb-muted); }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { display: none; }

.woocommerce table.shop_attributes { border: 1px solid var(--eb-line); border-radius: 14px; border-collapse: separate; overflow: hidden; }
.woocommerce table.shop_attributes :is(th, td) { border: 0; border-bottom: 1px solid var(--eb-line); padding: 12px 16px; background: transparent; font-style: normal; }
.woocommerce table.shop_attributes tr:last-child :is(th, td) { border-bottom: 0; }
.woocommerce table.shop_attributes th { width: 34%; color: var(--eb-muted-2); font-weight: 500; }
.woocommerce table.shop_attributes td { color: var(--eb-text); }
.woocommerce table.shop_attributes td p { margin: 0; padding: 0; }
.woocommerce table.shop_attributes tr:nth-child(even) :is(th, td) { background: rgba(255, 255, 255, .02); }

.woocommerce .related.products, .woocommerce .upsells.products { margin-top: 64px; }
.woocommerce .related.products > h2, .woocommerce .upsells.products > h2 { font-size: 26px; margin-bottom: 20px; }

/* ---------- Notices ---------- */

:is(body.woocommerce, body.woocommerce-page) :is(.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner) {
  background: var(--eb-panel); color: var(--eb-text); border: 1px solid var(--eb-line-2); border-left: 3px solid var(--eb-accent); border-radius: 14px;
}
:is(body.woocommerce, body.woocommerce-page) .woocommerce-error,
:is(body.woocommerce, body.woocommerce-page) .wc-block-components-notice-banner.is-error { border-left-color: #F87171; }
:is(body.woocommerce, body.woocommerce-page) :is(.woocommerce-message, .woocommerce-info)::before { color: var(--eb-accent); }
:is(body.woocommerce, body.woocommerce-page) .wc-block-components-notice-banner > svg { fill: var(--eb-accent); background: transparent; }

/* ---------- Forms (account, classic checkout, coupon) ---------- */

:is(body.woocommerce, body.woocommerce-page) :is(input.input-text, input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], textarea) {
  background: var(--eb-panel); color: var(--eb-text); border: 1px solid var(--eb-line-2); border-radius: 10px; padding: 12px 14px;
}
:is(body.woocommerce, body.woocommerce-page) :is(input, textarea, select):focus {
  outline: 2px solid var(--eb-accent); outline-offset: 1px; border-color: transparent;
}
:is(body.woocommerce, body.woocommerce-page) ::placeholder { color: var(--eb-muted-2); }

/* WooCommerce's enhanced dropdowns (country, province). The open list is attached to <body>. */
:is(body.woocommerce, body.woocommerce-page) .select2-container .select2-selection--single {
  background: var(--eb-panel); border: 1px solid var(--eb-line-2); border-radius: 10px; height: auto; min-height: 46px; padding: 8px 6px;
}
:is(body.woocommerce, body.woocommerce-page) .select2-container .select2-selection--single .select2-selection__rendered { color: var(--eb-text); line-height: 28px; }
:is(body.woocommerce, body.woocommerce-page) .select2-container .select2-selection--single .select2-selection__arrow { height: 100%; }
:is(body.woocommerce, body.woocommerce-page) .select2-dropdown { background: var(--eb-panel-2); border-color: var(--eb-line-2); color: var(--eb-text); }
:is(body.woocommerce, body.woocommerce-page) .select2-search--dropdown .select2-search__field { background: var(--eb-panel); color: var(--eb-text); border: 1px solid var(--eb-line-2); border-radius: 8px; }
:is(body.woocommerce, body.woocommerce-page) .select2-results__option--highlighted[aria-selected],
:is(body.woocommerce, body.woocommerce-page) .select2-results__option--highlighted[data-selected] { background: var(--eb-accent); color: var(--eb-on-accent); }
:is(body.woocommerce, body.woocommerce-page) .select2-results__option[aria-selected="true"] { background: var(--eb-tint); color: var(--eb-text); }

/* Classic cart and checkout tables. */
:is(body.woocommerce-cart, body.woocommerce-checkout) table.shop_table { border-color: var(--eb-line); border-radius: 20px; overflow: hidden; }
:is(body.woocommerce-cart, body.woocommerce-checkout) table.shop_table :is(th, td) { border-color: var(--eb-line); color: var(--eb-muted); }
:is(body.woocommerce-cart, body.woocommerce-checkout) table.shop_table :is(thead th, .order-total th, .order-total td) { color: var(--eb-text); }
:is(body.woocommerce-cart, body.woocommerce-checkout) table.shop_table .product-name a { color: var(--eb-text); font-family: var(--eb-display); font-weight: 600; }
:is(body.woocommerce-cart, body.woocommerce-checkout) table.shop_table .order-total .amount { font: 700 20px var(--eb-display); color: var(--eb-text); }
.woocommerce-cart .cart-collaterals .cart_totals { border-color: var(--eb-line); border-radius: 20px; overflow: hidden; }
.woocommerce-cart .cart-collaterals .cart_totals > h2 { color: var(--eb-text); font-size: 22px; }
.woocommerce-cart table.cart img { border-radius: 8px; width: 56px; }
.woocommerce-cart table.cart td.product-remove a.remove { color: var(--eb-muted-2) !important; border-color: var(--eb-line-2); }
.woocommerce-cart table.cart td.product-remove a.remove:hover { color: #F87171 !important; background: transparent; }
.woocommerce-checkout #order_review_heading, .woocommerce-checkout form.checkout h3 { color: var(--eb-text); }
.woocommerce-checkout #payment { background: transparent; }
.woocommerce-checkout #payment ul.payment_methods { border-color: var(--eb-line); }
.woocommerce-checkout #payment div.payment_box { background: var(--eb-panel-2); color: var(--eb-muted); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--eb-panel-2); }
:is(body.woocommerce-cart, body.woocommerce-checkout) .blockUI.blockOverlay { background: var(--eb-ground) !important; opacity: .6 !important; }
.woocommerce form .form-row .required { color: #F87171; }
:is(body.woocommerce, body.woocommerce-page) label { color: var(--eb-muted); }

/* ---------- Cart and checkout blocks ---------- */

:is(body.woocommerce-cart, body.woocommerce-checkout) .wp-block-woocommerce-cart,
:is(body.woocommerce-cart, body.woocommerce-checkout) .wp-block-woocommerce-checkout { color: var(--eb-muted); }
:is(body.woocommerce-cart, body.woocommerce-checkout) :is(.wc-block-components-product-name, .wc-block-components-totals-item__label, .wc-block-components-totals-footer-item, .wc-block-components-title, .wc-block-components-checkout-step__title, .wc-block-cart-items__header, .wc-block-components-order-summary-item__description, .wc-block-components-product-price) { color: var(--eb-text); }
:is(body.woocommerce-cart, body.woocommerce-checkout) .wc-block-components-product-name { font-family: var(--eb-display); font-weight: 600; }
:is(body.woocommerce-cart, body.woocommerce-checkout) :is(.wc-block-cart-items, .wc-block-cart-items td, .wc-block-cart-items th, .wc-block-components-totals-wrapper, .wc-block-components-panel, .wc-block-components-order-summary) { border-color: var(--eb-line) !important; }
:is(body.woocommerce-cart, body.woocommerce-checkout) .wc-block-cart__sidebar .wp-block-woocommerce-cart-totals-block,
:is(body.woocommerce-cart, body.woocommerce-checkout) .wp-block-woocommerce-checkout-order-summary-block {
  background: var(--eb-panel); border: 1px solid var(--eb-line); border-radius: 20px; padding: 8px 20px 20px;
}
:is(body.woocommerce-cart, body.woocommerce-checkout) .wc-block-cart-item__image img { border-radius: 10px; background: var(--eb-ground-2); }
:is(body.woocommerce-cart, body.woocommerce-checkout) .wc-block-components-quantity-selector { border-color: var(--eb-line-2); border-radius: 10px; }
:is(body.woocommerce-cart, body.woocommerce-checkout) .wc-block-components-quantity-selector :is(input, button) { color: var(--eb-text); background: transparent; }
:is(body.woocommerce-cart, body.woocommerce-checkout) :is(.wc-block-components-text-input input, .wc-block-components-combobox .components-combobox-control__input, .wc-blocks-components-select__select, .wc-block-components-textarea, .wc-block-components-form .wc-block-components-text-input input) {
  background: var(--eb-panel) !important; color: var(--eb-text) !important; border-color: var(--eb-line-2) !important; border-radius: 10px !important;
}
:is(body.woocommerce-cart, body.woocommerce-checkout) :is(.wc-block-components-text-input label, .wc-blocks-components-select__label, .wc-block-components-combobox label) { color: var(--eb-muted) !important; }
:is(body.woocommerce-cart, body.woocommerce-checkout) .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font: 700 22px var(--eb-display); color: var(--eb-text); }
:is(body.woocommerce-cart, body.woocommerce-checkout) .wc-block-components-sale-badge { background: var(--eb-tint); color: var(--eb-accent); border: 0; border-radius: 999px; }
:is(body.woocommerce-cart, body.woocommerce-checkout) .wc-block-components-product-metadata,
:is(body.woocommerce-cart, body.woocommerce-checkout) .wc-block-components-product-metadata__description { color: var(--eb-muted-2); font-size: 13px; }
:is(body.woocommerce-cart, body.woocommerce-checkout) .wc-block-components-radio-control__option,
:is(body.woocommerce-cart, body.woocommerce-checkout) .wc-block-components-radio-control-accordion-option { border-color: var(--eb-line-2) !important; color: var(--eb-text); }
:is(body.woocommerce-cart, body.woocommerce-checkout) :is(.wc-block-components-checkbox__input, .wc-block-components-radio-control__input) { background: var(--eb-panel); border-color: var(--eb-line-2); }
:is(body.woocommerce-cart, body.woocommerce-checkout) .wc-block-components-checkbox__mark { fill: var(--eb-on-accent); }
:is(body.woocommerce-cart, body.woocommerce-checkout) .wc-block-components-checkbox__input:checked { background: var(--eb-accent); border-color: var(--eb-accent); }
:is(body.woocommerce-cart, body.woocommerce-checkout) .wc-block-cart__empty-cart__title { color: var(--eb-text); }
:is(body.woocommerce-cart, body.woocommerce-checkout) .wc-block-cart__empty-cart__title::before { background-color: var(--eb-muted-2); }

/* ---------- My account ---------- */

.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; border: 1px solid var(--eb-line); border-radius: 20px; overflow: hidden; background: var(--eb-panel); }
.woocommerce-account .woocommerce-MyAccount-navigation li { border-bottom: 1px solid var(--eb-line); margin: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li:last-child { border-bottom: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 12px 18px; color: var(--eb-muted); font: 600 15px var(--eb-display); }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { color: var(--eb-text); box-shadow: inset 3px 0 0 var(--eb-accent); }
.woocommerce-account .woocommerce form.login,
.woocommerce-account .woocommerce form.register { background: var(--eb-panel); border: 1px solid var(--eb-line); border-radius: 20px; padding: 28px; }

/* ---------- Pagination ---------- */

.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; gap: 6px; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li :is(a, span) { border: 1px solid var(--eb-line-2); border-radius: 10px; color: var(--eb-text); min-width: 40px; padding: 10px 12px; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--eb-accent); border-color: var(--eb-accent); color: var(--eb-on-accent); }

/* ---------- Small screens ---------- */

@media (max-width: 921px) {
  .woocommerce ul.products { gap: 14px; }
  .woocommerce div.product .woocommerce-tabs { margin-top: 36px; }
}
@media (max-width: 544px) {
  .woocommerce ul.products li.product { padding: 5px 5px 14px; }
  .woocommerce ul.products li.product .astra-shop-summary-wrap { padding: 10px 8px 0; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 14.5px; }
  :is(body.woocommerce, body.woocommerce-page) ul.products .price { font-size: 17px; }
  .woocommerce ul.products li.product .button { padding: 10px 14px; font-size: 14px; }
  .eb-cats ul { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .eb-cats a { white-space: nowrap; }
  .eb-spaces ul { display: flex; width: 100%; }
  .eb-spaces li { flex: 1 1 0; display: flex; }
  .eb-spaces :is(a, .is-empty) { flex: 1; justify-content: center; flex-direction: column; gap: 4px; padding: 9px 4px; font-size: 13px; text-align: center; }
  .woocommerce ul.products li.product .eb-card-chips span:nth-child(n+3) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .woocommerce ul.products li.product, :is(body.woocommerce, body.woocommerce-page) :is(a.button, button.button) { transition: none; }
  .woocommerce ul.products li.product:hover { transform: none; }
}

/* ------------------------------------------------------------------ browse-and-filter column */
/* Desktop: category tree and filters in a column beside the products, as on Evetech. */
.eb-archive { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 32px; align-items: start; }
.eb-main { min-width: 0; }
.eb-side { display: flex; flex-direction: column; gap: 14px; }
.eb-side-head, .eb-side-open, .eb-side-shade { display: none; }
.eb-side-block { background: var(--eb-panel); border: 1px solid var(--eb-line); border-radius: 14px; padding: 16px 14px 12px; }
.eb-side-title { margin: 0 0 10px; padding: 0 4px; font: 600 12px/1 var(--eb-body); letter-spacing: .08em; text-transform: uppercase; color: var(--eb-muted-2); }
.eb-side ul { margin: 0; padding: 0; list-style: none; }
.eb-side em { margin-left: auto; padding-left: 10px; font: 500 12.5px/1 var(--eb-body); font-style: normal; color: var(--eb-muted-2); }

/* Category tree: departments, then each level indented under a fine guide line. */
.eb-tree a { display: flex; align-items: center; gap: 6px; padding: 7px 8px; border-radius: 8px; color: var(--eb-text); font: 500 14px/1.3 var(--eb-body); text-decoration: none; }
.eb-tree a:hover { background: var(--eb-panel-2); color: var(--eb-text); }
.eb-tree a[aria-current="page"] { background: var(--eb-tint); color: var(--eb-accent); font-weight: 600; }
.eb-tree a[aria-current="page"] em { color: var(--eb-accent); }
.eb-tree > ul > li > a, .eb-tree > ul > li > details > summary > a { font-family: var(--eb-display); font-weight: 600; letter-spacing: -0.01em; }
.eb-tree details > ul { margin: 2px 0 4px 12px; padding-left: 8px; border-left: 1px solid var(--eb-line); }
.eb-tree details ul a { font-size: 13.5px; color: var(--eb-muted); }
.eb-tree details ul a:hover { color: var(--eb-text); }
.eb-tree summary { display: flex; align-items: center; list-style: none; cursor: pointer; }
.eb-tree summary::-webkit-details-marker { display: none; }
.eb-tree summary > a { flex: 1; min-width: 0; }
.eb-tree-toggle { flex: none; width: 28px; height: 28px; border-radius: 8px; position: relative; }
.eb-tree-toggle:hover { background: var(--eb-panel-2); }
.eb-tree-toggle::before { content: ""; position: absolute; left: 10px; top: 9px; width: 7px; height: 7px; border: solid var(--eb-muted); border-width: 0 2px 2px 0; transform: rotate(-45deg); transition: transform .15s; }
.eb-tree details[open] > summary .eb-tree-toggle::before { transform: rotate(45deg); top: 8px; }
.eb-tree-all { margin-bottom: 4px; padding-bottom: 4px; border-bottom: 1px solid var(--eb-line); }

/* Filters: links drawn as checkboxes (brand, stock) and radio buttons (price band). */
.eb-checks a { display: flex; align-items: center; gap: 10px; padding: 6px 6px; border-radius: 8px; color: var(--eb-text); font: 500 14px/1.3 var(--eb-body); text-decoration: none; }
.eb-checks a:hover { background: var(--eb-panel-2); color: var(--eb-text); }
.eb-box { flex: none; width: 16px; height: 16px; border: 1.5px solid var(--eb-line-2); border-radius: 4px; position: relative; }
.eb-box.eb-radio { border-radius: 50%; }
.eb-checks a:hover .eb-box { border-color: var(--eb-accent); }
.eb-checks a[aria-current="true"] .eb-box { background: var(--eb-accent); border-color: var(--eb-accent); }
.eb-checks a[aria-current="true"] .eb-box::after { content: ""; position: absolute; left: 4.5px; top: 1.5px; width: 4px; height: 8px; border: solid var(--eb-on-accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.eb-deals-only a { color: var(--eb-wait) !important; }
.eb-deals-only a[aria-current="true"] .eb-box { background: var(--eb-wait); border-color: var(--eb-wait); }
.eb-checks a[aria-current="true"] .eb-radio::after { left: 3.5px; top: 3.5px; width: 6px; height: 6px; border: 0; border-radius: 50%; background: var(--eb-on-accent); transform: none; }
.eb-more summary { padding: 8px 6px 2px; color: var(--eb-accent); font: 600 13.5px/1 var(--eb-body); cursor: pointer; list-style: none; }
.eb-more summary::-webkit-details-marker { display: none; }
.eb-more[open] summary { display: none; }
.eb-price-form { display: flex; align-items: center; gap: 6px; margin: 10px 4px 2px; }
.eb-price-form label { flex: 1; min-width: 0; }
.eb-price-form input[type="number"] { width: 100%; padding: 8px 9px; border-radius: 8px; border: 1px solid var(--eb-line-2); background: var(--eb-ground-2); color: var(--eb-text); font: 500 13.5px/1.2 var(--eb-body); -moz-appearance: textfield; }
.eb-price-form input::-webkit-outer-spin-button, .eb-price-form input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.eb-price-form input:focus { outline: none; border-color: var(--eb-accent); }
.eb-dash { color: var(--eb-muted-2); }
.eb-price-form button { flex: none; padding: 8px 12px; border: 0; border-radius: 8px; background: var(--eb-accent); color: var(--eb-on-accent); font: 600 13.5px/1.2 var(--eb-display); cursor: pointer; }
.eb-price-form button:hover { background: var(--eb-accent-hover); }

/* Filters in use, each removable. */
.eb-active ul { display: flex; flex-wrap: wrap; gap: 6px; }
.eb-active li a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 999px; background: var(--eb-tint); border: 1px solid rgba(60, 180, 252, .35); color: var(--eb-text); font: 500 13px/1.2 var(--eb-body); text-decoration: none; }
.eb-active li a span { color: var(--eb-accent); font-size: 16px; line-height: 1; }
.eb-active li a:hover { border-color: var(--eb-accent); }
.eb-clear { display: inline-block; margin: 10px 4px 2px; color: var(--eb-accent); font: 600 13px/1 var(--eb-body); text-decoration: none; }
.eb-clear:hover { text-decoration: underline; color: var(--eb-accent-hover); }

/* The department chips repeat the tree on desktop; the subcategory row stays as a shortcut. */
@media (min-width: 992px) {
  .eb-archive .eb-cats:not(.eb-subcats) { display: none; }
  .eb-archive .eb-cats.eb-subcats { margin-top: 0; }
  .woocommerce .eb-main ul.products.columns-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1400px) {
  .woocommerce .eb-main ul.products.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Phones and tablets: the column is a drawer from the left, opened by a button above the products. */
@media (max-width: 991px) {
  .eb-archive { display: block; }
  .eb-side-open {
    display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 10px 16px;
    border-radius: 10px; border: 1px solid var(--eb-line-2); background: var(--eb-panel); color: var(--eb-text);
    font: 600 14.5px/1 var(--eb-display); cursor: pointer;
  }
  .eb-side-open::before { content: ""; width: 16px; height: 12px; background: linear-gradient(var(--eb-accent) 0 0) 0 0 / 16px 2px no-repeat, linear-gradient(var(--eb-accent) 0 0) 3px 5px / 10px 2px no-repeat, linear-gradient(var(--eb-accent) 0 0) 6px 10px / 4px 2px no-repeat; }
  .eb-side-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--eb-accent); color: var(--eb-on-accent); font-size: 12px; }
  .eb-side {
    position: fixed; z-index: 100000; inset: 0 auto 0 0; width: min(86vw, 360px); padding: 0 14px 24px;
    background: var(--eb-ground); border-right: 1px solid var(--eb-line); overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(-102%); transition: transform .22s ease; visibility: hidden;
  }
  .eb-side.is-open { transform: none; visibility: visible; }
  .eb-side-head { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 1; margin: 0 -14px; padding: 14px; background: var(--eb-ground); border-bottom: 1px solid var(--eb-line); color: var(--eb-text); font: 600 16px/1 var(--eb-display); }
  .eb-side-close { width: 36px; height: 36px; border: 1px solid var(--eb-line-2); border-radius: 10px; background: transparent; color: var(--eb-text); font-size: 22px; line-height: 1; cursor: pointer; }
  .eb-side-shade:not([hidden]) { display: block; position: fixed; z-index: 99999; inset: 0; background: rgba(0, 0, 0, .6); }
  html.eb-side-locked { overflow: hidden; }
  /* The theme paints focused buttons solid blue; these two keep their own look and show a focus ring instead. */
  .eb-archive .eb-side-close, .eb-archive .eb-side-close:is(:hover, :focus) { background: transparent; color: var(--eb-text); border: 1px solid var(--eb-line-2); }
  .eb-archive .eb-side-open:is(:hover, :focus) { background: var(--eb-panel-2); color: var(--eb-text); border-color: var(--eb-accent); }
  .eb-archive :is(.eb-side-close, .eb-side-open):focus-visible { outline: 2px solid var(--eb-accent); outline-offset: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .eb-side, .eb-tree-toggle::before { transition: none; }
}

/* ------------------------------------------------------------------ what fits what */
/* On a cartridge: "Fits" and the printer models, the ones we sell linked. */
.eb-fits { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 10px; margin: 0 0 18px; }
.eb-fits-label { font: 600 12px/1 var(--eb-body); letter-spacing: .08em; text-transform: uppercase; color: var(--eb-muted-2); }
.eb-fits ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.eb-fits :is(a, span) { display: inline-block; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--eb-line-2); font: 500 13px/1.2 var(--eb-body); color: var(--eb-muted); text-decoration: none; }
.eb-fits a { border-color: rgba(60, 180, 252, .45); background: var(--eb-tint); color: var(--eb-text); }
.eb-fits a:hover { border-color: var(--eb-accent); color: var(--eb-text); }
.eb-fits details { flex-basis: 100%; }
.eb-fits summary { display: inline-block; color: var(--eb-accent); font: 600 13px/1 var(--eb-body); cursor: pointer; list-style: none; }
.eb-fits summary::-webkit-details-marker { display: none; }
.eb-fits details[open] summary { display: none; }
.eb-fits details ul { margin-top: 2px; }
/* Below a printer: its ink, toner and parts; below a cartridge: the printers that use it. */
.eb-compat { clear: both; margin: 48px 0 8px; }
.eb-compat > h2 { margin: 0 0 18px; font: 600 24px/1.2 var(--eb-display); letter-spacing: -0.02em; color: var(--eb-text); }
.eb-compat .woocommerce { margin: 0; }
.eb-compat-more { margin: 10px 0 0; color: var(--eb-muted-2); font-size: 14px; }

/* ------------------------------------------------------------------ phones: product page */
/* Supplier names run to six lines at the desktop size and push the price off the first screen. */
@media (max-width: 544px) {
  body.woocommerce div.product .product_title { font-size: 21px; line-height: 1.28; letter-spacing: -0.01em; }
  body.woocommerce .woocommerce-breadcrumb { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; }
}

/* ------------------------------------------------------------------ phones: add-to-cart bar */
.eb-buybar { display: none; }
@media (max-width: 767px) {
  .eb-buybar {
    display: flex; align-items: center; gap: 12px; position: fixed; z-index: 9990; left: 0; right: 0; bottom: 0;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--eb-panel); border-top: 1px solid var(--eb-line-2);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .45); transform: translateY(110%); transition: transform .2s ease;
  }
  .eb-buybar.is-shown { transform: none; }
  .eb-buybar-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
  .eb-buybar-name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--eb-muted); font: 500 12.5px/1.3 var(--eb-body); }
  .eb-buybar-price { color: var(--eb-text); font: 700 18px/1.2 var(--eb-display); }
  .eb-buybar-price .woocommerce-Price-amount { color: inherit; }
  .eb-buybar .eb-buybar-btn, .eb-buybar .eb-buybar-btn:is(:hover, :focus) {
    flex: none; padding: 12px 18px; border: 0; border-radius: 10px; background: var(--eb-accent); color: var(--eb-on-accent);
    font: 700 15px/1 var(--eb-display); cursor: pointer;
  }
  .eb-buybar .eb-buybar-btn:focus-visible { outline: 2px solid var(--eb-text); outline-offset: 2px; }
  /* Room at the foot of the page, and the theme's back-to-top button lifted clear of the bar. */
  html.eb-buybar-on body { padding-bottom: 76px; }
  html.eb-buybar-on #ast-scroll-top { bottom: 88px; }
}
@media (prefers-reduced-motion: reduce) { .eb-buybar { transition: none; } }

/* ------------------------------------------------------------------ readable small grey text */
/* The site's second grey (#6C778F) measures 4.1:1 on the dark panels; small text needs 4.5:1. Shop pages use a
   slightly lighter grey (5.7:1) for counts, labels and fine print. */
:is(body.woocommerce, body.woocommerce-page) { --eb-muted-2: #8590A8; }

/* ------------------------------------------------------------------ storefront on /shop/ (EBS_Storefront) */
.ebsf { margin: 0 0 8px; }
.ebsf a { text-decoration: none; }
.ebsf h2 { font-family: var(--eb-display); font-size: 22px; margin: 0; color: var(--eb-text); }
.ebsf-head { display: flex; align-items: baseline; gap: 14px; margin: 34px 0 14px; flex-wrap: wrap; }
.ebsf-head p { margin: 0; color: var(--eb-muted); font-size: 14px; }
.ebsf-all { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--eb-line); }

.ebsf-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; align-items: center;
  padding: 36px 40px; border-radius: 20px; overflow: hidden; border: 1px solid var(--eb-line);
  background: radial-gradient(120% 140% at 100% 0%, rgba(60, 180, 252, 0.22), transparent 55%),
              radial-gradient(90% 120% at 0% 100%, rgba(124, 92, 255, 0.18), transparent 60%), var(--eb-panel); }
.ebsf-kicker { margin: 0 0 8px; color: var(--eb-accent); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }
.ebsf-title { font-family: var(--eb-display); font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; margin: 0 0 14px; color: var(--eb-text); }
.ebsf-lede { margin: 0 0 22px; color: var(--eb-muted); font-size: 16px; max-width: 34em; }
.ebsf-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.ebsf-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 10px; font-weight: 600; font-size: 15px;
  border: 1px solid var(--eb-line-2); color: var(--eb-text); background: rgba(255, 255, 255, 0.04); }
.ebsf-btn:hover { border-color: var(--eb-accent); color: var(--eb-text); }
.ebsf-btn-main { background: var(--eb-accent); border-color: var(--eb-accent); color: var(--eb-on-accent); }
.ebsf-btn-main:hover { background: var(--eb-accent-hover); color: var(--eb-on-accent); }
.ebsf-btn-quiet { border-color: transparent; background: transparent; color: var(--eb-muted); }
.ebsf-hero-art { position: relative; height: 270px; }
.ebsf-hero-img { position: absolute; display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); overflow: hidden; }
.ebsf-hero-img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.ebsf-hero-img-1 { width: 54%; height: 72%; right: 2%; top: 0; transform: rotate(3deg); }
.ebsf-hero-img-2 { width: 50%; height: 64%; left: 0; bottom: 0; transform: rotate(-4deg); }
.ebsf-hero-img-3 { width: 34%; height: 44%; right: 18%; bottom: 2%; transform: rotate(2deg); }

.ebsf-strip { display: flex; gap: 10px; list-style: none; margin: 0; padding: 2px 2px 10px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
.ebsf-strip li { flex: 0 0 128px; scroll-snap-align: start; }
.ebsf-strip a { display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; padding: 10px 8px 12px; border-radius: 14px;
  background: var(--eb-panel); border: 1px solid var(--eb-line); text-align: center; }
.ebsf-strip a:hover { border-color: var(--eb-accent); }
.ebsf-strip-img { display: flex; width: 84px; height: 84px; border-radius: 12px; background: #fff; overflow: hidden; }
.ebsf-strip-img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.ebsf-strip-name { color: var(--eb-text); font-weight: 600; font-size: 14px; line-height: 1.2; }
.ebsf-strip-n { color: var(--eb-muted-2); font-size: 12px; }

.ebsf-tiles { display: grid; grid-template-columns: 1fr 1.2fr 1fr; grid-template-rows: repeat(2, minmax(190px, auto)); gap: 14px; margin-top: 30px; }
.ebsf-tile { position: relative; display: flex; align-items: stretch; gap: 10px; padding: 20px; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--eb-line); background: linear-gradient(135deg, var(--eb-panel-2), var(--eb-panel)); color: var(--eb-text); }
.ebsf-tile:hover { border-color: var(--eb-accent); color: var(--eb-text); }
.ebsf-tile:nth-child(1) { grid-column: 1; grid-row: 1; background: linear-gradient(135deg, #12223a, var(--eb-panel)); }
.ebsf-tile:nth-child(2) { grid-column: 1; grid-row: 2; background: linear-gradient(135deg, #2a1533, var(--eb-panel)); }
.ebsf-tile-builder { grid-column: 2; grid-row: 1 / span 2; flex-direction: column; background: radial-gradient(110% 80% at 50% 100%, rgba(60, 180, 252, 0.28), transparent 60%), linear-gradient(160deg, #1a1030, var(--eb-panel)); }
.ebsf-tile:nth-child(4) { grid-column: 3; grid-row: 1; background: linear-gradient(135deg, #10291f, var(--eb-panel)); }
.ebsf-tile:nth-child(5) { grid-column: 3; grid-row: 2; background: linear-gradient(135deg, #2b2210, var(--eb-panel)); }
.ebsf-tile-text { display: flex; flex-direction: column; gap: 6px; flex: 1 1 55%; min-width: 0; z-index: 1; }
.ebsf-tile-text strong { font-family: var(--eb-display); font-size: 22px; line-height: 1.1; text-transform: uppercase; letter-spacing: .02em; }
.ebsf-tile-builder .ebsf-tile-text strong { font-size: 30px; }
.ebsf-tile-text > span { color: var(--eb-muted); font-size: 14px; }
.ebsf-from { font-style: normal; color: var(--eb-accent); font-weight: 600; font-size: 14px; }
.ebsf-tile-cta { margin-top: auto; align-self: flex-start; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--eb-line-2); font-size: 13px; font-weight: 600; color: var(--eb-text) !important; }
.ebsf-tile:hover .ebsf-tile-cta { background: var(--eb-accent); border-color: var(--eb-accent); color: var(--eb-on-accent) !important; }
.ebsf-tile-img { flex: 0 0 42%; display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 14px; overflow: hidden; }
.ebsf-tile-img img { width: 100%; height: 100%; max-height: 170px; object-fit: contain; padding: 8px; }
.ebsf-tile-builder .ebsf-tile-img { flex: 1 1 auto; min-height: 220px; margin-top: 10px; }
.ebsf-tile-builder .ebsf-tile-img img { max-height: 260px; }

.ebsf-row { display: flex; gap: 12px; list-style: none; margin: 0; padding: 2px 2px 10px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
.ebsf-row li { flex: 0 0 190px; scroll-snap-align: start; }
.ebsf-row a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 10px; border-radius: 14px; background: var(--eb-panel); border: 1px solid var(--eb-line); }
.ebsf-row a:hover { border-color: var(--eb-accent); }
.ebsf-row-img { display: flex; aspect-ratio: 1; border-radius: 10px; background: #fff; overflow: hidden; }
.ebsf-row-img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.ebsf-row-name { color: var(--eb-text); font-size: 13px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ebsf-row-price { margin-top: auto; color: var(--eb-text); font-weight: 700; font-size: 15px; }
.ebsf-row-price .eb-exvat, .ebsf-row-price small { display: none; }

.ebsf-help { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 34px; }
.ebsf-card { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 16px; background: var(--eb-panel); border: 1px solid var(--eb-line); color: var(--eb-text); }
.ebsf-card:hover { border-color: var(--eb-accent); color: var(--eb-text); }
.ebsf-card strong { font-family: var(--eb-display); font-size: 19px; line-height: 1.15; text-transform: uppercase; }
.ebsf-card span { color: var(--eb-muted); font-size: 14px; }
.ebsf-card em { margin-top: auto; font-style: normal; color: var(--eb-accent); font-weight: 600; font-size: 14px; }

.ebsf-games { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 34px; padding: 30px 34px; border-radius: 20px;
  border: 1px solid var(--eb-line); color: var(--eb-text);
  background: radial-gradient(80% 160% at 0% 50%, rgba(124, 92, 255, 0.35), transparent 60%), radial-gradient(80% 160% at 100% 50%, rgba(60, 180, 252, 0.3), transparent 60%), var(--eb-ground-2); }
.ebsf-games:hover { border-color: var(--eb-accent); color: var(--eb-text); }
.ebsf-games-text { display: flex; flex-direction: column; gap: 6px; }
.ebsf-games-text strong { font-family: var(--eb-display); font-size: clamp(22px, 2.6vw, 32px); text-transform: uppercase; line-height: 1.1; }
.ebsf-games-text span { color: var(--eb-muted); }

@media (max-width: 1024px) {
  .ebsf-hero { grid-template-columns: 1fr; padding: 28px; }
  .ebsf-hero-art { height: 220px; }
  .ebsf-tiles { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .ebsf-tile:nth-child(n) { grid-column: auto; grid-row: auto; }
  .ebsf-tile-builder { grid-column: 1 / -1 !important; flex-direction: row; }
  .ebsf-tile-builder .ebsf-tile-img { min-height: 0; margin-top: 0; flex: 0 0 40%; }
  .ebsf-help { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ebsf-hero { padding: 22px 18px; }
  .ebsf-hero-art { height: 180px; }
  .ebsf-tiles { grid-template-columns: 1fr; }
  .ebsf-tile, .ebsf-tile-builder { flex-direction: row; padding: 16px; }
  .ebsf-tile-text strong, .ebsf-tile-builder .ebsf-tile-text strong { font-size: 19px; }
  .ebsf-tile-img img { max-height: 120px; }
  .ebsf-help { grid-template-columns: 1fr; }
  .ebsf-games { flex-direction: column; align-items: flex-start; padding: 22px 18px; }
  .ebsf-row li { flex-basis: 150px; }
}
/* The theme colours every link; the storefront's main buttons keep dark text on blue. */
.ebsf a.ebsf-btn-main, .ebsf a.ebsf-btn-main:hover, .ebsf a.ebsf-btn-main:focus { color: var(--eb-on-accent) !important; }
.ebsf-strip, .ebsf-row { scrollbar-color: var(--eb-line-2) transparent; }
.ebsf-strip::-webkit-scrollbar, .ebsf-row::-webkit-scrollbar { height: 6px; }
.ebsf-strip::-webkit-scrollbar-thumb, .ebsf-row::-webkit-scrollbar-thumb { background: var(--eb-line-2); border-radius: 3px; }
.ebsf-strip::-webkit-scrollbar-track, .ebsf-row::-webkit-scrollbar-track { background: transparent; }

/* ---------- Prices include VAT, said on every price ---------- */
.woocommerce-price-suffix.eb-incl { margin-left: 5px; color: var(--eb-muted); font: 500 12px/1 var(--eb-body); letter-spacing: 0; white-space: nowrap; }

/* ---------- Hover glow: a slight blue glow behind whatever the pointer (or keyboard) is on ---------- */
:root { --eb-glow: 0 0 0 1px rgba(60, 180, 252, .40), 0 10px 32px -8px rgba(60, 180, 252, .45); }
.woocommerce ul.products li.product { transition: border-color .2s, transform .2s, box-shadow .2s; }
.woocommerce ul.products li.product:hover,
.woocommerce ul.products li.product:focus-within { border-color: rgba(60, 180, 252, .55); box-shadow: var(--eb-glow); }
.ebsf-strip a, .ebsf-tile, .ebsf-row a, .ebsf-card, .ebsf-games, .eb-cats a, .ebsf-btn, .eb-price-form button,
.woocommerce a.button, .woocommerce button.button { transition: border-color .15s, background-color .15s, color .15s, box-shadow .2s; }
.ebsf-strip a:hover, .ebsf-tile:hover, .ebsf-row a:hover, .ebsf-card:hover, .ebsf-games:hover,
.ebsf-strip a:focus-visible, .ebsf-tile:focus-visible, .ebsf-row a:focus-visible, .ebsf-card:focus-visible, .ebsf-games:focus-visible { box-shadow: var(--eb-glow); }
.eb-cats a:hover, .eb-cats a:focus-visible { box-shadow: 0 0 18px -4px rgba(60, 180, 252, .55); }
.ebsf-btn:hover, .ebsf-btn:focus-visible, .eb-price-form button:hover,
.woocommerce a.button:hover, .woocommerce a.button:focus-visible, .woocommerce button.button:hover, .woocommerce button.button:focus-visible { box-shadow: 0 0 20px -4px rgba(60, 180, 252, .6); }
.eb-checks a:hover { box-shadow: inset 0 0 0 1px rgba(60, 180, 252, .35); }
@media (prefers-reduced-motion: reduce) {
  .woocommerce ul.products li.product { transition: none; }
  .woocommerce ul.products li.product:hover { transform: none; }
}

/* ---------- Price slider (sidebar.js), in place of the price bands ---------- */
.eb-price-block .eb-price-form { flex-direction: column; align-items: stretch; gap: 8px; }
.eb-price-boxes { display: flex; align-items: center; gap: 6px; }
.eb-price-form.has-slider .eb-price-boxes { display: none; }
.eb-price-slider { display: flex; flex-direction: column; gap: 6px; --eb-lo: 0%; --eb-hi: 100%; }
.eb-price-slider[hidden] { display: none; }
.eb-price-out { margin: 0; color: var(--eb-text); font: 600 14.5px/1.3 var(--eb-display); font-variant-numeric: tabular-nums; }
.eb-price-track { position: relative; height: 32px; }
.eb-price-track::before {
  content: ""; position: absolute; left: 11px; right: 11px; top: 14px; height: 4px; border-radius: 4px;
  background: linear-gradient(to right, var(--eb-line-2) var(--eb-lo), var(--eb-accent) var(--eb-lo), var(--eb-accent) var(--eb-hi), var(--eb-line-2) var(--eb-hi));
}
.eb-price-track input[type="range"] { position: absolute; inset: 0; width: 100%; height: 32px; margin: 0; padding: 0; background: transparent; pointer-events: none; -webkit-appearance: none; appearance: none; }
.eb-price-track input[type="range"]:focus { outline: none; }
.eb-price-track input[type="range"]::-webkit-slider-runnable-track { height: 32px; background: transparent; border: 0; }
.eb-price-track input[type="range"]::-moz-range-track { height: 32px; background: transparent; border: 0; }
.eb-price-track input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; pointer-events: auto; width: 22px; height: 22px; margin-top: 5px; border-radius: 50%;
  background: var(--eb-accent); border: 3px solid var(--eb-ground); box-shadow: 0 0 0 1px var(--eb-accent), 0 0 14px rgba(60, 180, 252, .5); cursor: grab;
}
.eb-price-track input[type="range"]::-moz-range-thumb {
  pointer-events: auto; width: 16px; height: 16px; border-radius: 50%;
  background: var(--eb-accent); border: 3px solid var(--eb-ground); box-shadow: 0 0 0 1px var(--eb-accent), 0 0 14px rgba(60, 180, 252, .5); cursor: grab;
}
.eb-price-track input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(60, 180, 252, .45); }
.eb-price-track input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px rgba(60, 180, 252, .45); }
.eb-price-reset { align-self: flex-start; margin: 0 4px; font: 500 13px/1.3 var(--eb-body); }

/* ---------- Honest deal badges (EBS_Cards): saving against the real RRP ---------- */
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap { position: relative; }
.eb-deal { position: absolute; left: 10px; top: 10px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.eb-deal-save, .eb-deal-pct { display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border-radius: 8px; font: 700 12px/1 var(--eb-body); white-space: nowrap; }
.eb-deal-save { background: var(--eb-wait); color: #1A1205; }
.eb-deal-pct { background: var(--eb-ground); color: var(--eb-wait); }
.eb-card-rrp { margin: 2px 0 0; color: var(--eb-muted); font: 400 13px/1.3 var(--eb-body); font-variant-numeric: tabular-nums; }
.eb-card-rrp s, .eb-product-rrp s { color: var(--eb-muted); }
.eb-product-rrp { margin: -4px 0 14px; color: var(--eb-muted); font: 400 14px/1.4 var(--eb-body); }
.eb-product-save { margin-left: 8px; padding: 3px 8px; border-radius: 6px; background: var(--eb-wait); color: #1A1205; font-weight: 700; font-size: 12.5px; white-space: nowrap; }

/* ---------- Wishlist (EBS_Wishlist + wishlist.js) ---------- */
.woocommerce ul.products li.product { position: relative; }
.ebs-heart { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--eb-line-2); background: rgba(5, 6, 10, .78); color: var(--eb-text); cursor: pointer; transition: color .15s, border-color .15s, box-shadow .2s, background-color .15s; }
.ebs-heart:hover, .ebs-heart:focus-visible { border-color: var(--eb-accent); box-shadow: 0 0 18px -4px rgba(60, 180, 252, .6); outline: none; }
.ebs-heart.is-on { color: #FF6B8B; border-color: rgba(255, 107, 139, .6); }
.ebs-heart.is-on svg path { fill: currentColor; }
.ebs-heart-card { position: absolute; top: 14px; right: 14px; z-index: 3; width: 40px; height: 40px; padding: 0; border-radius: 999px; }
.ebs-heart-product { height: 46px; margin-left: 8px; padding: 0 16px; border-radius: 10px; font: 600 14px/1 var(--eb-display); vertical-align: middle; background: transparent; }
.ebs-wl-bar { margin: 0 0 12px; display: flex; justify-content: flex-end; }
.ebs-wl-bar a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--eb-line-2); color: var(--eb-text); font: 600 14px/1 var(--eb-display); text-decoration: none; }
.ebs-wl-bar a:hover { border-color: var(--eb-accent); box-shadow: 0 0 18px -4px rgba(60, 180, 252, .55); color: var(--eb-text); }
.ebs-wl-count { min-width: 22px; height: 22px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--eb-accent); color: var(--eb-on-accent); font: 700 12px/1 var(--eb-body); }
.ebs-wl-empty { color: var(--eb-muted); font: 400 15px/1.5 var(--eb-body); }

/* ------------------------------------------------------------------ shop home, redesign step 3 (EBS_Storefront + EBS_Deals) */
.ebsf2-hero { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.ebsf2-spot { position: relative; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; border: 1px solid var(--eb-line);
  background: radial-gradient(120% 140% at 100% 0%, rgba(60, 180, 252, 0.20), transparent 55%), var(--eb-panel); }
.ebsf2-slides { flex: 1; }
.ebsf2-slide { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; align-items: center; padding: 30px 30px 14px; height: 100%; }
.ebsf2-slide[hidden] { display: none; }
.ebsf2-kicker { margin: 0 0 8px; color: var(--eb-wait); font: 700 12px/1.2 var(--eb-body); letter-spacing: .08em; text-transform: uppercase; }
.ebsf .ebsf2-slide-title { font-family: var(--eb-display); font-size: clamp(20px, 2.2vw, 28px); line-height: 1.15; margin: 0 0 12px; }
.ebsf2-slide-title a { color: var(--eb-text); }
.ebsf2-slide-title a:hover { color: var(--eb-accent); }
.ebsf2-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.ebsf2-chips span { padding: 4px 9px; border-radius: 999px; border: 1px solid var(--eb-line-2); color: var(--eb-muted); font-size: 12px; }
.ebsf2-slide-price { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; }
.ebsf2-price-xl { font: 700 clamp(26px, 3vw, 36px)/1 var(--eb-display); color: var(--eb-text); font-variant-numeric: tabular-nums; }
.ebsf2-price-xl small { font: 400 13px/1 var(--eb-body); color: var(--eb-muted); }
.ebsf2-save { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ebsf2-rrp { color: var(--eb-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.ebsf2-slide-actions { margin: 0; }
.ebsf2-stage { display: flex; align-items: center; justify-content: center; height: 250px; background: #fff; border-radius: 16px; overflow: hidden; }
.ebsf2-stage img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.ebsf2-spot-nav { display: flex; align-items: center; gap: 8px; padding: 6px 30px 18px; }
.ebsf2-arrow { width: 36px; height: 36px; padding: 0; border-radius: 999px; border: 1px solid var(--eb-line-2); background: transparent; color: var(--eb-text); font-size: 22px; line-height: 1; cursor: pointer; }
.ebsf2-arrow:hover, .ebsf2-arrow:focus-visible { border-color: var(--eb-accent); background: transparent; color: var(--eb-accent); }
.ebsf2-dots { display: flex; gap: 2px; }
.ebsf2-dot { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 36px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.ebsf2-dot:hover, .ebsf2-dot:focus { background: transparent; }
.ebsf2-dot span { width: 8px; height: 8px; border-radius: 999px; background: var(--eb-line-2); transition: width .2s; }
.ebsf2-dot.is-on span { width: 20px; background: var(--eb-wait); }
.ebsf2-see { margin-left: auto; color: var(--eb-accent); font-weight: 600; font-size: 14px; }
.ebsf2-see:hover { color: var(--eb-accent-hover); }

.ebsf2-side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.ebsf2-tile { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px 20px 18px; min-height: 160px; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--eb-line); background: var(--eb-panel); color: var(--eb-muted); font-size: 14px; }
.ebsf2-tile:hover { border-color: var(--eb-accent); box-shadow: 0 0 0 1px var(--eb-accent), 0 0 26px rgba(60, 180, 252, 0.25); color: var(--eb-muted); }
.ebsf2-tile > * { position: relative; z-index: 1; max-width: 64%; }
.ebsf2-tile strong { font: 700 18px/1.2 var(--eb-display); color: var(--eb-text); }
.ebsf2-tile-kicker { color: var(--eb-accent); font: 700 11px/1.2 var(--eb-body); letter-spacing: .08em; text-transform: uppercase; }
.ebsf2-tile-cta { margin-top: auto; color: var(--eb-accent); font-weight: 600; }
.ebsf2-tile > img { position: absolute; z-index: 0; right: 12px; bottom: 12px; width: 32%; max-width: 120px; height: auto; aspect-ratio: 1; object-fit: contain;
  background: #fff; border-radius: 12px; padding: 6px; }

.ebsf2-lanes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.ebsf2-lane { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--eb-line); background: var(--eb-panel); color: var(--eb-muted); font-size: 13px; }
.ebsf2-lane strong { color: var(--eb-text); font: 700 15px/1.25 var(--eb-display); }
.ebsf2-lane b { color: var(--eb-wait); }
.ebsf2-lane:hover { border-color: var(--eb-wait); color: var(--eb-muted); }
.ebsf2-lane-all { border-color: rgba(245, 185, 74, 0.45); }

.ebsf2-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 12px; scrollbar-width: thin; }
.ebsf2-tab { flex: 0 0 auto; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--eb-line-2); background: transparent; color: var(--eb-text);
  font: 600 14px/1 var(--eb-body); cursor: pointer; white-space: nowrap; }
.ebsf2-tab small { color: var(--eb-muted); font-weight: 400; margin-left: 4px; }
.ebsf2-tab:hover, .ebsf2-tab:focus { background: transparent; color: var(--eb-text); border-color: var(--eb-wait); }
.ebsf2-tab[aria-selected="true"], .ebsf2-tab[aria-selected="true"]:hover, .ebsf2-tab[aria-selected="true"]:focus { background: var(--eb-wait); border-color: var(--eb-wait); color: #1A1205; }
.ebsf2-tab[aria-selected="true"] small { color: #3A2A0A; }

.ebsf2-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ebsf2-grid[hidden] { display: none; }
.ebsf2-seeall { grid-column: 1 / -1; justify-self: end; color: var(--eb-accent); font-weight: 600; font-size: 14px; }
.ebsf2-card { position: relative; border-radius: 16px; border: 1px solid var(--eb-line); background: var(--eb-panel); overflow: hidden; }
.ebsf2-card:hover { border-color: var(--eb-accent); box-shadow: 0 0 0 1px var(--eb-accent), 0 0 26px rgba(60, 180, 252, 0.25); }
.ebsf2-card-link { display: flex; flex-direction: column; height: 100%; color: var(--eb-text); }
.ebsf2-card-link:hover { color: var(--eb-text); }
.ebsf2-well { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1; margin: 8px; background: #fff; border-radius: 12px; overflow: hidden; }
.ebsf2-well img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.ebsf2-body { display: flex; flex-direction: column; gap: 4px; padding: 4px 14px 16px; }
.ebsf2-brand { color: var(--eb-muted); font: 600 11px/1.2 var(--eb-body); letter-spacing: .06em; text-transform: uppercase; min-height: 1.2em; }
.ebsf2-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.35; min-height: 2.7em; }
.ebsf2-price { font: 700 17px/1.2 var(--eb-display); color: var(--eb-text); font-variant-numeric: tabular-nums; }
.ebsf2-price .woocommerce-price-suffix, .ebsf2-price small { font: 400 12px/1 var(--eb-body); color: var(--eb-muted); }

.ebsf2-why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ebsf2-why > div { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 14px; border: 1px solid var(--eb-line); background: var(--eb-panel); color: var(--eb-muted); font-size: 14px; }
.ebsf2-why strong { color: var(--eb-text); font: 700 16px/1.25 var(--eb-display); }
.ebsf2-why a { color: var(--eb-accent); }

@media (max-width: 1024px) {
  .ebsf2-hero { grid-template-columns: 1fr; }
  .ebsf2-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .ebsf2-lanes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ebsf2-grid, .ebsf2-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ebsf2-slide { grid-template-columns: 1fr; padding: 20px 18px 10px; }
  .ebsf2-stage { order: -1; height: 200px; }
  .ebsf2-spot-nav { padding: 4px 18px 14px; flex-wrap: wrap; }
  .ebsf2-side { grid-template-columns: 1fr; }
  .ebsf2-lanes { grid-template-columns: 1fr 1fr; }
  .ebsf2-grid { gap: 10px; }
  .ebsf2-why { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .ebsf2-dot span { transition: none; } }
/* The theme colours every link blue; names and titles on the shop home stay white, blue on hover. */
.ebsf a.ebsf2-card-link, .ebsf a.ebsf2-card-link:hover, .ebsf .ebsf2-slide-title a { color: var(--eb-text) !important; }
.ebsf .ebsf2-slide-title a:hover, .ebsf .ebsf2-card:hover .ebsf2-name { color: var(--eb-accent) !important; }
.ebsf a.ebsf2-tile, .ebsf a.ebsf2-lane { color: var(--eb-muted) !important; }
