:root {
  --eb-charcoal: var(--store-primary);
  --eb-navy: var(--store-primary-dark);
  --eb-orange: var(--store-accent);
  --eb-orange-dark: var(--store-accent-hover);
  --eb-yellow: var(--store-highlight);
  --eb-white: var(--store-bg);
  --eb-bg: var(--store-bg-soft);
  --eb-border: var(--store-border);
  --eb-text: var(--store-text);
  --eb-muted: var(--store-muted);
  --eb-radius: 12px;
  --eb-shadow: 0 8px 24px rgba(24,36,51,.06);
  --bs-primary: var(--store-accent);
  --bs-primary-rgb: var(--store-accent-rgb);
  --bs-link-color: var(--store-text);
  --bs-link-hover-color: var(--store-accent);
  /* Bootstrap compiles a few tokens as fixed values derived from its own
     default blue rather than from --bs-primary (they don't recalculate just
     because --bs-primary is overridden here) — override them explicitly so
     no default-blue #0d6efd/#0b69f6 leaks through in focus rings or
     "emphasis" text/badge variants. */
  --bs-primary-text-emphasis: var(--store-accent-hover);
  --bs-focus-ring-color: rgba(var(--store-accent-rgb), .35);
  --store-warning: #a8471e;
}
/* Shared storefront v5. Legacy eb-* classes are retained for compatibility. */
body { background: var(--store-bg); color: var(--eb-text); font-family: var(--store-font); font-size: 16px; font-weight: 400; line-height: 1.6; }
h1,h2,h3 { font-family: var(--store-font); color: var(--eb-charcoal); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
a { text-underline-offset: 4px; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--store-accent); }
a,button { transition: color .18s, background .18s, border-color .18s, box-shadow .18s; }
a:focus-visible,button:focus-visible { outline: 3px solid var(--eb-orange); outline-offset: 4px; }
.eb-container { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: 32px; box-sizing: border-box; }
/* Homepage: scoped demo selectors verified against the live DOM. */
body#index .ps-imageslider,body#index #ps_imageslider,body#index #carousel,body#index .ps-customtext,body#index #custom-text,body#index .ps-banner { display: none; }
body#index #content-wrapper,body#index #center-column { width: 100%; max-width: none; padding-inline: 0; }
.eb-home { padding-top: 28px; padding-bottom: 48px; }
.eb-eyebrow { display: block; font-size: 11px; font-weight: 750; letter-spacing: .13em; color: var(--store-accent-hover); margin-bottom: 16px; }
.eb-hero { display: grid; grid-template-columns: 1.04fr 1fr; min-height: 400px; background: var(--eb-bg); border: 1px solid var(--eb-border); border-radius: 16px; overflow: hidden; }
.eb-hero__copy { display: flex; flex-direction: column; justify-content: center; padding: 40px 48px; }
.eb-hero h1 { margin: 0 0 18px; font-weight: 700; font-size: clamp(38px,3.6vw,52px); line-height: 1.06; letter-spacing: -.025em; }
.eb-hero h1 span { color: var(--eb-orange-dark); }
.eb-hero__copy p { color: var(--eb-muted); font-size: 16px; margin-bottom: 24px; max-width: 46ch; }
.eb-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.eb-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 12px 22px; border: 1px solid transparent; border-radius: 10px; font-weight: 600; font-size: 14px; text-decoration: none; }
.eb-button--primary { background: var(--eb-orange); color: var(--eb-navy); }
.eb-button--primary:hover { background: var(--store-accent-hover); color: var(--eb-navy); }
.eb-button--outline { background: transparent; border-color: var(--store-border); color: var(--eb-charcoal); }
.eb-button--outline:hover { border-color: var(--eb-charcoal); color: var(--eb-charcoal); background: var(--store-bg); }
.eb-button--dark { background: var(--eb-charcoal); color: var(--store-bg); }
.eb-button--dark:hover { background: var(--eb-navy); color: var(--store-bg); }
/* Abstract brand composition — CSS only. */
.eb-hero__art { position: relative; min-width: 0; overflow: hidden; background-color: color-mix(in srgb, var(--store-bg-soft) 65%, var(--store-border)); background-image: linear-gradient(color-mix(in srgb, var(--store-primary) 4%, transparent) 1px,transparent 1px),linear-gradient(90deg,color-mix(in srgb, var(--store-primary) 4%, transparent) 1px,transparent 1px); background-size: 32px 32px; }
.eb-art__caption { position: absolute; top: 24px; left: 26px; font-size: 10px; letter-spacing: .18em; font-weight: 700; }
.eb-art__block { position: absolute; display: flex; flex-direction: column; justify-content: space-between; padding: 20px 24px; border: 1px solid color-mix(in srgb, var(--store-on-dark) 13%, transparent); }
.eb-art__block span { font-size: 11px; letter-spacing: .08em; opacity: .65; }
.eb-art__block strong { font-size: clamp(24px,3vw,40px); letter-spacing: -.04em; line-height: 1; }
.eb-art__block--build { left: 7%; top: 18%; width: 78%; height: 145px; background: var(--eb-charcoal); color: var(--store-bg); transform: rotate(-7deg); }
.eb-art__block--renovate { right: -4%; top: 43%; width: 68%; height: 132px; background: var(--eb-orange); color: var(--eb-navy); transform: rotate(5deg); }
.eb-art__block--garden { left: 5%; bottom: 8%; width: 45%; height: 110px; background: var(--store-bg); color: var(--eb-charcoal); transform: rotate(-4deg); }
.eb-art__block--tools { right: -6%; bottom: -6%; width: 56%; height: 132px; background: var(--eb-navy); color: var(--store-bg); transform: rotate(5deg); }
.eb-art__block--garden strong,.eb-art__block--tools strong { font-size: 28px; }
.eb-art__cross { position: absolute; top: 2%; right: 8%; color: var(--eb-orange); font-size: 70px; font-weight: 300; }
/* Categories */
.eb-categories { padding-block: 54px; scroll-margin-top: 210px; }
.eb-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 26px; }
.eb-section-heading .eb-eyebrow { margin-bottom: 10px; }
.eb-section-heading h2 { font-size: clamp(26px,2.6vw,34px); margin: 0 0 12px; }
.eb-section-heading p { margin: 0; color: var(--eb-muted); }
.eb-section-number { white-space: nowrap; color: var(--eb-muted); font-size: 12px; letter-spacing: .12em; }
.eb-category-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
/* Media zone is a fixed aspect-ratio box so the grid stays even whether a
   card shows a real PrestaShop category image or falls back to the neutral
   icon -- see templates/index.tpl for the {if $store_category.image} check. */
.eb-category-card { display: flex; flex-direction: column; border: 1px solid var(--eb-border); border-radius: 14px; color: var(--eb-charcoal); background: var(--store-bg); text-decoration: none; overflow: hidden; transition: border-color .18s, box-shadow .18s; }
.eb-category-card__media { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; background: var(--eb-bg); }
.eb-category-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.eb-category-card__icon { font-size: 30px; color: var(--eb-muted); }
.eb-category-card__body { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; }
.eb-category-card__name { font-size: 15px; font-weight: 650; line-height: 1.35; }
.eb-category-card__arrow { flex: 0 0 auto; color: var(--eb-muted); transition: transform .18s, color .18s; }
.eb-category-card:hover { border-color: var(--eb-orange); box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--store-primary-dark) 22%, transparent); }
.eb-category-card:hover .eb-category-card__name { color: var(--eb-charcoal); }
.eb-category-card:hover .eb-category-card__arrow { transform: translate(3px,-3px); color: var(--eb-orange-dark); }
/* Editorial offers */
.eb-promos { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin-bottom: 54px; }
.eb-promo { min-height: 300px; padding: 36px; border-radius: 14px; position: relative; overflow: hidden; }
.eb-promo > :not(.eb-promo__graphic) { position: relative; z-index: 1; }
.eb-promo h2 { font-size: 32px; margin-bottom: 12px; max-width: 400px; }
.eb-promo p { margin-bottom: 24px; }
.eb-promo--pro { background: var(--eb-charcoal); color: var(--store-border); }
.eb-promo--pro h2 { color: var(--store-bg); }
.eb-promo--pro .eb-eyebrow { color: color-mix(in srgb, var(--store-accent) 70%, var(--store-bg)); }
.eb-promo--sale { background: color-mix(in srgb, var(--store-accent) 10%, var(--store-bg)); }
.eb-promo--sale .eb-button { margin-top: 16px; }
.eb-promo__graphic { position: absolute; right: -14px; bottom: -85px; font-size: 280px; line-height: 1; color: color-mix(in srgb, var(--store-on-dark) 4%, transparent); font-weight: 800; transform: rotate(-12deg); pointer-events: none; }
.eb-promo--sale .eb-promo__graphic { color: color-mix(in srgb, var(--store-accent) 12%, transparent); }
/* Native product modules, no product data or templates changed. */
.eb-home-products > section { margin-block: 48px; }
.eb-home-products > section > .container { max-width: none; padding-inline: 0; }
.eb-home-products h2 { font-size: 28px; margin-bottom: 28px; font-weight: 700; }
.product-miniature { height: 100%; }
.product-miniature__inner { height: 100%; display: flex; flex-direction: column; background: var(--store-bg); border: 1px solid var(--store-border); border-radius: 14px; overflow: hidden; transition: box-shadow .18s, border-color .18s, transform .18s; }
.product-miniature__inner:hover { box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--store-primary-dark) 20%, transparent); border-color: var(--store-accent); transform: translateY(-2px); }
.product-miniature__image-link { display: block; color: var(--store-text); }
.product-miniature__image-link:hover { color: var(--store-text); }
.product-miniature__image-container { background: var(--store-bg-soft); }
.product-miniature__image { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; padding: 20px; }
.product-miniature__inner:hover .product-miniature__image { transform: none; }
/* Neutral placeholder for products with no cover image (see the child-theme
   product.tpl override) -- replaces the browser's broken-image fallback,
   which was rendering PrestaShop's own missing default picture file as raw
   "No image available" text. */
.product-miniature__image--placeholder { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1; background: var(--store-bg-soft); }
.product-miniature__image--placeholder .material-icons { font-size: 40px; color: color-mix(in srgb, var(--eb-muted) 70%, transparent); }

/* Same neutral placeholder pattern on the PDP gallery (see the child-theme
   product-cover-thumbnails.tpl override) -- larger icon since the gallery
   area is much bigger than a listing thumbnail. */
.product__image--placeholder { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1; background: var(--store-bg-soft); }
.product__image--placeholder .material-icons { font-size: 72px; color: color-mix(in srgb, var(--eb-muted) 70%, transparent); }

/* PDP-only: Bootstrap's .text-danger utility sets color via
   rgba(var(--bs-danger-rgb), var(--bs-text-opacity)) !important, so a plain
   color override loses to it. Instead we rescope the --bs-danger-rgb custom
   property itself on this exact element -- Bootstrap's own !important rule
   then resolves against our value. .text-danger keeps its normal (bright)
   meaning everywhere else on the site (form validation, etc.); text, markup
   and stock logic are untouched. */
.product__availability-status.text-danger { --bs-danger-rgb: 168, 71, 30; }
.product-miniature__bottom { display: flex; flex-direction: column; flex: 1 1 auto; padding: 16px 18px 18px; gap: 10px; }
.product-miniature__infos { display: flex; flex-direction: column; gap: 6px; }
.product-miniature__title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; min-height: calc(1.4em * 3); color: var(--eb-charcoal); font-family: var(--store-font); font-size: 14.5px; font-weight: 600; line-height: 1.4; text-decoration: none; }
.product-miniature__title:hover { color: var(--store-accent); }
.product-miniature__price { font-size: 19px; font-weight: 700; color: var(--eb-charcoal); letter-spacing: -.02em; }
.product-miniature__prices:has(.product-miniature__regular-price) .product-miniature__price { color: var(--store-accent-hover); }
.product-miniature__regular-price { font-size: 13px; color: var(--eb-muted); text-decoration: line-through; }
.product-miniature__actions { margin-top: auto; }
/* Review stars/count are populated client-side by productcomments' own AJAX
   (see ebudowlani.js); hidden by default so a product with 0 reviews never
   shows 5 empty stars, and revealed only once a real, non-zero count lands. */
.product-list-review { display: none; }
.product-list-review.is-visible { display: block; margin-top: 2px; }
.product-flags .badge.discount { background: var(--eb-orange); color: var(--eb-navy); }
.product-flags .badge.new { background: var(--store-highlight); color: var(--eb-navy); }
.product-miniature__form { flex-wrap: wrap; gap: 10px; }
.product-miniature__add { flex: 1 1 auto; min-height: 42px; border-radius: 8px; }
.product-miniature__add-text { display: inline; font-size: 13px; white-space: normal; }
.btn-primary { --bs-btn-bg: var(--store-accent); --bs-btn-border-color: var(--store-accent); --bs-btn-color: var(--store-primary-dark); --bs-btn-hover-bg: var(--store-accent-hover); --bs-btn-hover-border-color: var(--store-accent-hover); --bs-btn-hover-color: var(--store-primary-dark); --bs-btn-active-bg: var(--store-accent-hover); --bs-btn-active-border-color: var(--store-accent-hover); --bs-btn-active-color: var(--store-primary-dark); --bs-btn-disabled-bg: var(--store-accent); --bs-btn-disabled-border-color: var(--store-accent); --bs-btn-disabled-color: var(--store-primary-dark); font-weight: 700; }
.btn-outline-primary { --bs-btn-color: var(--store-accent-hover); --bs-btn-border-color: var(--store-accent-hover); --bs-btn-hover-bg: var(--store-primary); --bs-btn-hover-border-color: var(--store-primary); --bs-btn-hover-color: var(--store-bg); }
.form-control:focus,.form-select:focus { border-color: var(--eb-orange); box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--store-accent) 15%, transparent); }
.search-filters,.category-tree { border-color: var(--eb-border); }
.page-product .product-cover { border: 1px solid var(--eb-border); border-radius: 12px; overflow: hidden; background: var(--store-bg); }
.page-product .current-price { color: var(--eb-charcoal); font-weight: 800; }
.footer__main { background: var(--eb-charcoal); color: var(--store-bg-soft); padding-block: 40px; }
.footer__main a { color: var(--store-bg-soft); }
.footer__main a:hover { color: var(--eb-yellow); }
.footer-block__title,.footer__main h2,.footer__main h3 { color: var(--store-bg); font-weight: 700; }
footer { border-top: 3px solid var(--eb-orange); }
/* Responsive homepage; native product and search behavior is preserved. */
@media (max-width: 1199.98px) {
  .eb-container { padding-inline: 24px; }
  .eb-hero__copy { padding: 32px; }
  .eb-hero h1 { font-size: 46px; }
  .eb-hero__art { min-height: 440px; }
  .eb-category-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 991.98px) {
  .eb-hero { grid-template-columns: 1.15fr 1fr; }
  .eb-hero__copy { padding: 28px; }
  .eb-hero h1 { font-size: 40px; }
  .eb-art__block { padding: 16px; }
  .eb-art__block strong { font-size: 25px; }
  .eb-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .eb-promo { padding: 28px; }
  .eb-promo h2 { font-size: 28px; }
}
@media (max-width: 767.98px) {
  .eb-container { padding-inline: 16px; }
  .eb-home { padding-top: 18px; }
  .eb-hero { grid-template-columns: 1fr; min-height: 0; }
  .eb-hero__copy { padding: 28px 24px; }
  .eb-hero h1 { font-size: 38px; }
  .eb-hero__copy p { font-size: 15px; }
  .eb-hero__actions { flex-direction: column; }
  .eb-hero__actions .eb-button { width: 100%; }
  .eb-hero__art { min-height: 275px; }
  .eb-art__block--build { top: 20%; height: 100px; }
  .eb-art__block--renovate { height: 100px; }
  .eb-art__block--garden { bottom: 4%; height: 90px; }
  .eb-art__block--tools { height: 90px; bottom: -3%; }
  .eb-art__cross { font-size: 48px; }
  .eb-art__caption { font-size: 8px; top: 16px; }
  .eb-categories { padding-block: 34px; scroll-margin-top: 200px; }
  .eb-section-heading { margin-bottom: 20px; }
  .eb-section-heading h2 { font-size: 27px; }
  .eb-section-heading p { font-size: 14px; }
  .eb-section-number { display: none; }
  .eb-category-grid { gap: 12px; }
  .eb-category-card__body { padding: 12px 14px; }
  .eb-category-card__name { font-size: 13px; }
  .eb-category-card__icon { font-size: 26px; }
  .eb-promos { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
  .eb-promo { min-height: 280px; padding: 28px; }
  .eb-home-products > section { margin-block: 32px; }
  .eb-home-products h2 { font-size: 26px; margin-bottom: 22px; }
  .product-miniature__bottom { padding: 12px 14px 14px; }
  .product-miniature__image { padding: 14px; }
  .product-miniature__price { font-size: 17px; }
  .product-miniature__title { font-size: 13.5px; -webkit-line-clamp: 2; min-height: calc(1.4em * 2); }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}


/* Sharing is removed in Smarty; collapse only the now-empty AJAX target. */
.product__additional-info:empty { display: none; margin: 0; padding: 0; }
.product__bottom-right:not(:has(*)) { display: none; }
.product__bottom:has(> .product__bottom-right:not(:has(*))) { grid-template-columns: minmax(0,1fr); }



/* Shared storefront shell. The parent header must never pin its child strips. */
#header.header { display: contents; position: static !important; top: auto !important; transform: none !important; z-index: auto !important; }
.store-container { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: 32px; box-sizing: border-box; }

/* Header + main nav are one physical sticky block (.store-sticky-shell), not
   two independently-sticky elements. There is no --store-header-h variable
   and nothing computes the nav's `top` from the header's height: the nav is a
   normal in-flow sibling directly below the header, so it is structurally
   impossible for a gap to open between them, at any header height (normal or
   .is-compact) or viewport width. */
.store-sticky-shell { position: sticky; top: 0; z-index: 1100; }

.store-header { background: var(--store-primary, #2a313b); color: var(--store-on-dark, #fff); width: 100%; }
.store-header__row { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 80px; padding-block: 14px; transition: min-height .18s, padding .18s; }
.store-header.is-compact .store-header__row { min-height: 60px; padding-block: 6px; }
.store-header.is-compact .store-header__search .ps-searchbar__input,
.store-header.is-compact .store-header__search .ps-searchbar__magnifier { height: 44px; }

.store-header .header-block__action-btn { display: flex; align-items: center; color: var(--store-on-dark); }
.store-header .header-block__icon { font-size: 22px; }

.store-header__logo { flex: 0 0 auto; min-width: 0; }
.store-header__logo .navbar-brand { margin: 0; padding: 0; display: block; }
.store-header__logo img { display: block; width: 240px; max-width: 100%; height: auto; object-fit: contain; }
.store-header__logo a { color: var(--store-on-dark); }
.store-header__logo > h1 { margin: 0; line-height: 1; }

.store-header__search { flex: 1 1 420px; min-width: 0; max-width: 740px; }
.store-header__search #_desktop_ps_searchbar { width: 100%; max-width: none; margin: 0 !important; padding: 0; }
.store-header__search .ps-searchbar { width: 100%; min-width: 0; max-width: none; margin: 0; }
.store-header__search .ps-searchbar__form { width: 100%; display: flex; align-items: stretch; position: relative; background: var(--store-bg); border: 1px solid var(--store-border); border-radius: 12px; overflow: hidden; }
.store-header__search .ps-searchbar__input { order: 1; flex: 1 1 auto; min-width: 0; height: 52px; padding: 0 16px; border: 0; background: transparent; color: var(--store-text); font-family: var(--store-font); font-size: 16px; font-weight: 400; letter-spacing: normal; transition: height .18s; }
.store-header__search .ps-searchbar__input::placeholder { color: var(--store-muted); font-weight: 400; opacity: 1; }
.store-header__search .ps-searchbar__input:focus { outline: none; }
.store-header__search .ps-searchbar__magnifier { order: 2; position: static; top: auto; left: auto; right: auto; bottom: auto; transform: none; flex: 0 0 52px; align-self: stretch; width: 52px; height: auto; margin: 0; display: flex; align-items: center; justify-content: center; border-radius: 0; background: var(--store-accent); color: var(--store-on-dark); transition: background .15s; cursor: pointer; }
.store-header__search .ps-searchbar__magnifier:hover { background: var(--store-accent-hover); }
.store-header__search .ps-searchbar__dropdown { width: 100%; max-width: none; background: var(--store-bg, #fff); z-index: 1; }

.store-header__account, .store-header__cart { flex: 0 0 auto; display: flex; align-items: center; color: var(--store-on-dark); text-decoration: none; cursor: pointer; }
.store-header__cart:focus-visible { outline: 2px solid var(--store-accent); outline-offset: 3px; }
.store-header__account .header-block__action-btn,
.store-header__cart .header-block__action-btn { gap: 7px; font-family: var(--store-font); font-size: 13.5px; font-weight: 600; }
/* .store-header__cart itself is the real <a> (see header.tpl); the widget's
   own inner <span class="header-block__action-btn"> has no href and must not
   swallow clicks/hover meant for that anchor. .store-header__account's inner
   element IS a real <a> already, so it must stay interactive — no
   pointer-events change there. */
.store-header__cart .header-block__action-btn { pointer-events: none; }
.store-header__account:hover .header-block__action-btn,
.store-header__cart:hover .header-block__action-btn { color: var(--store-accent); }
.store-header__cart .header-block__badge { display: inline-flex; align-items: center; justify-content: center; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--store-accent); color: var(--store-on-dark); font-size: 10px; font-weight: 700; line-height: 1; }

/* Main nav: a normal sibling of .store-header inside .store-sticky-shell —
   zero margin, zero gap, physically glued to the header. */
.store-main-nav { background: var(--store-bg, #fff); border-bottom: 1px solid var(--store-border); }
.store-main-nav__inner { display: flex; align-items: center; gap: 28px; min-height: 52px; position: relative; }
.store-marketing-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.store-marketing-nav a { font-family: var(--store-font); color: var(--store-text); font-size: 14px; font-weight: 600; letter-spacing: -.005em; text-decoration: none; padding-block: 14px; }
.store-marketing-nav a:hover { color: var(--store-accent); }
.store-marketing-nav a:first-child { color: var(--store-accent-hover); }
.store-category-menu__toggle { display: flex; gap: 9px; align-items: center; justify-content: center; width: 215px; max-width: 100%; height: 40px; padding: 0 14px; border-radius: 9px; background: var(--store-accent, #ef7b1c); color: var(--store-on-dark, #fff); font-family: var(--store-font); font-weight: 600; font-size: 14px; letter-spacing: -.005em; cursor: pointer; list-style: none; }
.store-category-menu__toggle::-webkit-details-marker { display: none; }
.store-category-menu__toggle:hover, .store-category-menu[open] .store-category-menu__toggle { background: var(--store-accent-hover); color: var(--store-on-dark); }
.store-category-menu__toggle:focus-visible { outline: 3px solid var(--store-primary); outline-offset: 2px; }
/* z-index: auto on .store-main-nav would let later, positioned z-index:auto
   content (e.g. .eb-category-card) paint above it purely by DOM order.
   .store-sticky-shell instead carries z-index:1100 + establishes its own
   stacking context, so the whole header+nav block is compared to the rest of
   the page as a single unit — the mega-menu panel's z-index:1100 only needs
   to beat its *local* siblings inside that context (the toggle/marketing-nav),
   which it already does. */
.store-category-menu__panel { position: absolute; z-index: 1100; top: 100%; left: 0; width: min(1120px,calc(100vw - 64px)); max-height: min(650px,calc(100vh - 180px)); overflow-y: auto; overscroll-behavior: contain; padding: 36px; background: var(--store-bg, #fff); opacity: 1; border: 1px solid var(--store-border, #e5e7eb); border-radius: 0 0 16px 16px; box-shadow: 0 24px 48px -16px rgba(24,36,51,.16); }
.store-category-menu__grid, .store-category-menu__children { list-style: none; margin: 0; padding: 0; }
.store-category-menu__grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px 32px; }
.store-category-menu__grid > li { min-width: 0; }
.store-category-menu__grid a { display: block; padding-block: 6px; color: var(--store-text); text-decoration: none; overflow-wrap: anywhere; line-height: 1.5; transition: color .15s; }
.store-category-menu__grid > li > a { font-family: var(--store-font); font-size: 15px; font-weight: 700; letter-spacing: -.01em; color: var(--store-primary); border-bottom: 1px solid var(--store-border); padding-bottom: 10px; margin-bottom: 8px; }
.store-category-menu__children { padding-left: 2px; margin-top: 2px; }
.store-category-menu__children a { font-family: var(--store-font); font-size: 13.5px; font-weight: 400; color: var(--store-muted); }
.store-category-menu__grid a:hover, .store-category-menu__grid a[aria-current] { color: var(--store-accent); }

/* Benefits: lives in the footer now (templates/_partials/footer.tpl),
   directly above the newsletter block — a light, compact, footer-appropriate
   strip rather than the header-adjacent look it had before. */
.store-benefits { color: var(--store-primary); background: var(--store-bg-soft, #f7f8f9); border-top: 1px solid var(--store-border); border-bottom: 1px solid var(--store-border); }
.store-benefits__grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); min-height: 50px; gap: 18px; align-items: center; padding-block: 16px; }
.store-benefits__grid > div { display: flex; align-items: center; gap: 10px; min-width: 0; }
.store-benefits .material-icons { color: var(--store-accent, #ef7b1c); font-size: 18px; }
.store-benefits p { margin: 0; line-height: 1.4; }
.store-benefits strong, .store-benefits p > span { display: block; }
.store-benefits strong { font-family: var(--store-font); font-size: 13px; font-weight: 600; letter-spacing: -.005em; }
.store-benefits p > span { font-family: var(--store-font); font-size: 12px; font-weight: 400; color: var(--store-muted); }
.eb-categories { scroll-margin-top: 90px; }
/* Compact category header: breadcrumb is gone (see below), so products
   should start high on the page instead of leaving tall empty margins. */
.store-category-heading { margin-bottom: 14px; }
.store-category-heading .page-title { margin-bottom: 10px; font-size: clamp(26px,2.8vw,36px); }
.store-category-description { max-width: 80ch; color: var(--store-muted); margin-bottom: 14px; }
.store-category-description > :last-child { margin-bottom: 0; }
/* Visual breadcrumb removed site-wide. The BreadcrumbList structured data
   (JSON-LD, in <head>) is separate markup and is untouched by this. */
.breadcrumb__wrapper { display: none; }

/* PLP layout: ps_categorytree no longer renders in the sidebar (see
   category.tpl) -- .store-plp-filters only ever appears once
   ps_facetedsearch actually has filterable attributes to show; until then
   .store-plp-full always applies and products use the full row width.
   #left-column itself stays a plain, unboxed layout container (width only)
   -- the visible "card" look lives on .search-filters below, the real
   content root ps_facetedsearch/Hummingbird render inside it. This matters
   on mobile: Hummingbird's own d-none/d-md-block classes hide that inner
   content below 768px (its offcanvas drawer copy is moved out via a
   position:fixed element, driven by core theme.js, so it stays reachable),
   but #left-column itself keeps occupying grid width until then -- if it
   carried its own border/background it would show as an empty box on
   narrow screens. Leaving it chromeless means there is nothing to see. */
#center-column.store-plp-full { flex: 0 0 100%; max-width: 100%; }
.store-plp-filters { align-self: start; }
@media (min-width: 768px) {
  #left-column.store-plp-filters { flex: 0 0 270px; width: 270px; max-width: 270px; }
  #center-column:not(.store-plp-full) { flex: 1 1 0%; width: auto; max-width: none; }
}

body#category .products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
#center-column:not(.store-plp-full) .products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

body#category .products__selection { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
body#category .products__selection > * { margin: 0; }

/* PLP grid target: 4 / 3 / 2 / 1 columns at 1440 / 1024 / 390 / 320.
   Breakpoints reused from the rest of the theme (1199.98, 767.98) plus one
   extra (359.98) so 390px and 320px land on different column counts. When a
   filters sidebar is present the grid gets one column fewer at the wider
   breakpoints so cards never get unreasonably wide next to it. */
@media (max-width: 1199.98px) {
  body#category .products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  #center-column:not(.store-plp-full) .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  body#category .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .store-category-heading { margin-bottom: 10px; }
}
@media (max-width: 359.98px) {
  body#category .products { grid-template-columns: 1fr; }
}
.store-category-heading .subcategory { margin-block: 20px; }
.store-category-heading .subcategory__list { display: grid; grid-template-columns: repeat(auto-fit,minmax(150px,1fr)); gap: 12px; }
.store-category-heading .subcategory__link { display: flex; flex-direction: row; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--store-border); border-radius: 10px; color: var(--store-text); text-decoration: none; background: var(--store-bg); min-width: 0; }
.store-category-heading .subcategory__link:hover { border-color: var(--store-accent); }
.store-category-heading .subcategory__link picture { flex: 0 0 44px; }
.store-category-heading .subcategory__thumbnail { width: 44px; height: 44px; object-fit: contain; }
.store-category-heading .subcategory__name { font-size: 14px; font-weight: 650; overflow-wrap: anywhere; }
body#category #products .products { gap: 20px; }
body#category .products__selection { gap: 16px; margin-bottom: 22px; }
/* Native ps_facetedsearch / Hummingbird filter markup (module id="search-filters"
   class="search-filters", rendered via displayLeftColumn -- see
   themes/hummingbird/modules/ps_facetedsearch/views/templates/front/catalog/
   facets.tpl). Only the module's own real classes are targeted here, nothing
   is hardcoded: whatever facets ps_facetedsearch actually generates (Price,
   Availability, Manufacturer, Features, ...) inherit this styling. */
.search-filters { background: var(--store-bg); border: 1px solid var(--store-border); border-radius: 14px; padding: 18px; }
.left-block__title { font-family: var(--store-font); font-size: 15px; font-weight: 700; color: var(--eb-charcoal); margin: 0 0 12px; }
.search-filters__clear { margin-bottom: 12px; }
.search-filters .accordion-item { border: 0; border-bottom: 1px solid var(--store-border); }
.search-filters .accordion-item:last-child { border-bottom: 0; }
.search-filters .accordion-button { padding: 12px 0; font-family: var(--store-font); font-size: 14.5px; font-weight: 600; color: var(--eb-charcoal); background: transparent; box-shadow: none; }
.search-filters .accordion-button::after { width: 18px; height: 18px; background-size: 18px; }
.search-filters .accordion-button:not(.collapsed) { color: var(--store-accent-hover); background: transparent; box-shadow: none; }
/* Bootstrap compiles --bs-accordion-btn-focus-box-shadow as a fixed blue
   rgba(), not derived from --bs-primary-rgb, so it needs its own override
   here to keep a visible (accessible) but on-brand focus ring. */
.search-filters .accordion-button:focus { border-color: transparent; --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgba(var(--store-accent-rgb), .35); }
.search-filters .accordion-body { padding: 0 0 14px; }
.search-filters__item { padding-block: 5px; }
.search-filters__form-check { display: flex; align-items: center; gap: 8px; }
/* Bootstrap's .form-check-input is custom-drawn (appearance:none +
   background-color/border-color/background-image), so the sitewide
   `accent-color` rule (input[type=checkbox],[type=radio]) never applies to
   it -- that only affects natively-rendered inputs. Checked state compiles
   to a fixed blue (#0b69f6-ish), not derived from --bs-primary, so it needs
   its own explicit override here. */
.search-filters .form-check-input:checked { background-color: var(--store-accent); border-color: var(--store-accent); }
.search-filters .form-check-input:focus { border-color: var(--store-accent); box-shadow: 0 0 0 .2rem rgba(var(--store-accent-rgb), .25); }
.search-filters__form-label { font-size: 13.5px; color: var(--eb-text); cursor: pointer; }
.search-filters__link { color: var(--eb-text); text-decoration: none; }
.search-filters__item.active .search-filters__link, .search-filters__item.active .search-filters__form-label { color: var(--store-accent-hover); font-weight: 600; }
.search-filters__magnitude { color: var(--eb-muted); font-size: 12.5px; }
.active-filters__list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 16px; list-style: none; }
.active-filters__title { font-size: 13px; color: var(--eb-muted); align-self: center; }
.active-filters__link { font-size: 13px; }
@media (max-width: 1199.98px) {
  .store-container { padding-inline: 24px; }
  .store-header__row { gap: 20px; }
  .store-header__logo img { width: 200px; max-width: 100%; }
  .store-category-menu__grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px 28px; }
  .store-category-menu__panel { left: 0; width: min(1100px,calc(100vw - 64px)); padding: 28px; }
  .store-benefits__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 20px; }
}
@media (max-width: 767.98px) {
  .store-container { padding-inline: 16px; }

  .store-header__row { flex-wrap: nowrap; gap: 10px; min-height: auto; padding-block: 12px; }
  .store-header.is-compact .store-header__row { padding-block: 10px; }
  .store-header__logo { order: 1; flex: 1 1 auto; min-width: 0; }
  .store-header__logo img { width: 150px; max-width: 100%; height: auto; }
  .store-header__search { order: 2; flex: 0 0 auto; }
  .store-header__account { order: 3; }
  .store-header__cart { order: 4; }
  .store-main-nav__inner { gap: 8px; flex-wrap: wrap; padding-block: 8px; }
  .store-category-menu { width: 100%; }
  .store-category-menu__toggle { justify-content: center; width: 100%; }
  .store-marketing-nav { width: 100%; justify-content: space-between; gap: 10px; }
  .store-marketing-nav a { padding-block: 6px; font-size: 13px; }
  .store-category-menu__panel { left: 0; width: 100%; max-height: min(650px,calc(100dvh - 180px)); padding: 20px; }
  .store-category-menu__grid { grid-template-columns: 1fr; gap: 18px; }
  .store-benefits__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 12px; }
  .store-benefits__grid > div { gap: 8px; align-items: flex-start; }
  .store-benefits strong { font-size: 12px; }
  .store-benefits p > span { font-size: 11px; }
  .store-benefits .material-icons { font-size: 18px; }
  body#category #products .products { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .store-header *, .store-category-menu * { transition: none !important; }
}

@media (max-width: 767.98px) {
  body#category #left-column .category-tree { display: none; }
}

/* Customer Reassurance (blockreassurance) removed on the cart page only — the
   module itself, its other page variants (e.g. product pages) and its core
   files are untouched. blockreassurance--cart is a modifier the module adds
   only when it renders in the cart sidebar, so this selector can't affect it
   anywhere else. The bare <hr> the theme places right before it would
   otherwise be left as an orphaned divider, so it's hidden too, scoped with
   :has() to only the one that directly precedes this specific block. */
.blockreassurance--cart,
.cart-grid__aside-wrapper hr:has(+ .blockreassurance--cart) { display: none; }

