/* Excom Theme 0.3.101
   Product view architecture:
   - ExcomProductView module controls state/settings/classes/CSS variables.
   - The Excom theme owns Grid/List/Minimal layout.
   - Product metadata/location styling remains in the theme. */

/* ===== GLOBAL EXCOM PAGE LAYOUT =====
   Replaces the former "Excom - Układ strony" module.
   Layout is now native to the Excom theme: no DOM scanning and no layout JS. */
:root {
  --excom-layout-max-width: 1600px;
  --excom-layout-gap-desktop: 20px;
  --excom-layout-gap-tablet: 16px;
  --excom-layout-gap-mobile: 12px;
  --excom-layout-gap: var(--excom-layout-gap-desktop);
}

/* ===== EXCOM 0.3.99: categories and filters =====
 * Keep native module markup, collapse controls and AJAX selectors intact. */
#left-column .ps-categorytree.left-block,
#left-column #search_filters_wrapper.left-block {
  padding: 18px 16px 12px;
  margin-bottom: 20px;
  border: 1px solid #e5eaf0;
  border-radius: 14px;
  background: #fff;
}
#left-column :is(.ps-categorytree, #search_filters_wrapper) .left-block__title {
  margin: 0 0 12px;
  padding: 0 0 14px;
  border-bottom: 1px solid #edf0f4;
  color: #253244;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.15px;
}
#left-column .category-tree__list { gap: 2px; margin: 0; padding: 0; list-style: none; }
#left-column .category-tree__item-header { align-items: center; gap: 4px; padding: 0; border-radius: 7px; }
#left-column .category-tree__item-header:hover { background: #f5f8fc; }
#left-column .category-tree__item-link {
  display: block;
  min-width: 0;
  padding: 11px 8px;
  color: #445163;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
#left-column .category-tree__list[data-depth="0"] > .category-tree__item > .category-tree__item-header .category-tree__item-link { font-weight: 500; }
#left-column .category-tree__item-link:hover,
#left-column .category-tree__item.active > .category-tree__item-header .category-tree__item-link { color: #0b69f6; }
#left-column .category-tree__item-header .accordion-button {
  flex: 0 0 36px;
  justify-content: center;
  width: 36px;
  min-height: 42px;
  margin: 0;
  padding: 10px;
  border-radius: 7px;
  background: transparent;
  box-shadow: none;
}
#left-column .category-tree__item-header .accordion-button::after { margin: 0; }
#left-column .category-tree .accordion-body { padding: 2px 0 6px 12px; }
#left-column .category-tree .accordion-body > .category-tree__list { padding-left: 8px; border-left: 1px solid #e5eaf0; }
#left-column .category-tree .accordion-body .category-tree__item-link { padding-block: 8px; font-size: 12px; }

:is(#left-column, #offcanvas-faceted) #search-filters { min-width: 0; }
:is(#left-column, #offcanvas-faceted) #search-filters .accordion-item { border-color: #edf0f4; background: transparent; }
:is(#left-column, #offcanvas-faceted) #search-filters .accordion-button {
  min-height: 46px;
  gap: 8px;
  padding: 13px 2px;
  color: #354255;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  background: transparent;
  box-shadow: none;
  overflow-wrap: anywhere;
}
:is(#left-column, #offcanvas-faceted) #search-filters .accordion-button:not(.collapsed) { color: #0b69f6; }
#left-column .category-tree__item-header .accordion-button::after,
:is(#left-column, #offcanvas-faceted) #search-filters .accordion-button::after {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  background-image: none;
  transform: rotate(45deg);
  color: #788696;
}
#left-column .category-tree__item-header .accordion-button:not(.collapsed)::after,
:is(#left-column, #offcanvas-faceted) #search-filters .accordion-button:not(.collapsed)::after { transform: rotate(225deg); color: #0b69f6; }
:is(#left-column, #offcanvas-faceted) #search-filters .accordion-body { margin: 0; padding: 0 0 12px; list-style: none; }
:is(#left-column, #offcanvas-faceted) #search-filters .search-filters__item { padding: 6px; border-radius: 7px; }
:is(#left-column, #offcanvas-faceted) #search-filters .search-filters__item:hover { background: #f6f8fb; }
:is(#left-column, #offcanvas-faceted) #search-filters .search-filters__item.active { background: #eef5ff; }
:is(#left-column, #offcanvas-faceted) #search-filters .search-filters__form-check { gap: 9px; margin: 0; }
:is(#left-column, #offcanvas-faceted) #search-filters .search-filters__form-label { flex: 1; min-width: 0; font-size: 12px; line-height: 1.5; cursor: pointer; overflow-wrap: anywhere; }
:is(#left-column, #offcanvas-faceted) #search-filters .search-filters__link { color: #526071; }
:is(#left-column, #offcanvas-faceted) #search-filters .active .search-filters__link { color: #0b69f6; font-weight: 500; }
:is(#left-column, #offcanvas-faceted) #search-filters .form-check-input { width: 17px; height: 17px; border-color: #c5cfdc; }
:is(#left-column, #offcanvas-faceted) #search-filters .form-check-input:checked { border-color: #0b69f6; }
:is(#left-column, #offcanvas-faceted) #search-filters .search-filters__magnitude { color: #8290a1; font-size: 12px; white-space: nowrap; }
:is(#left-column, #offcanvas-faceted) #search-filters .search-filters__clear { margin: 0 0 10px; }
:is(#left-column, #offcanvas-faceted) #search-filters .js-search-filters-clear-all { width: 100%; min-height: 36px; padding: 6px 10px; border-color: #dde5ee; border-radius: 7px; font-size: 12px; }
:is(#left-column, #offcanvas-faceted) #search-filters .search-filters__slider-container { padding: 10px 8px 14px; }
:is(#left-column, #offcanvas-faceted) #search-filters .search-filters__slider-values { margin-top: 12px; color: #526071; font-size: 12px; }
/* EXCOM 0.3.101: hierarchy for Excom facet groups.
 * The module keeps group members as siblings, not inside a wrapper.
 * Style its own data attributes so AJAX updates and mobile moves work natively. */
:is(#left-column, #offcanvas-faceted) #search-filters .excom-facet-group-header {
  margin-top: 4px;
  border-bottom: 1px solid #edf0f4;
  border-radius: 8px;
}
:is(#left-column, #offcanvas-faceted) #search-filters .excom-facet-group-toggle {
  min-height: 46px;
  padding: 11px 2px; /* 0.3.167: aligned with regular filters (no left indent) */
  gap: 8px;
  color: #253244;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  border-radius: inherit;
}
:is(#left-column, #offcanvas-faceted) #search-filters .excom-facet-group-name {
  min-width: 0;
  overflow-wrap: anywhere;
}
:is(#left-column, #offcanvas-faceted) #search-filters .excom-facet-group-header.is-open {
  border-bottom-color: transparent;
  background: transparent;
}
/* EXCOM 0.3.167: group icon is blue (open and closed). The icon is an <img>,
 * so the colour comes from a filter that maps any icon to #0b69f6. */
:is(#left-column, #offcanvas-faceted) #search-filters .excom-facet-group-header .excom-fi-front-icon {
  filter: brightness(0) saturate(100%) invert(41%) sepia(71%) saturate(5937%) hue-rotate(209deg) brightness(95%) contrast(103%);
}
:is(#left-column, #offcanvas-faceted) #search-filters .excom-facet-group-header.is-open .excom-facet-group-toggle { color: #24517c; }
:is(#left-column, #offcanvas-faceted) #search-filters .excom-facet-group-chevron {
  width: 8px;
  height: 8px;
  margin-right: 2px;
  border-width: 1.5px;
}
:is(#left-column, #offcanvas-faceted) #search-filters [data-excom-group-member="1"] {
  min-width: 0;
  margin-inline-start: 10px;
  padding-inline: 12px 8px;
  border-inline-start: 2px solid #0b69f6;
  background: transparent;
}
:is(#left-column, #offcanvas-faceted) #search-filters .excom-facet-group-header + [data-excom-group-member="1"] { border-top: 0; }
:is(#left-column, #offcanvas-faceted) #search-filters [data-excom-group-member="1"]:not(:has(+ [data-excom-group-member="1"])) {
  margin-bottom: 10px;
  border-bottom: 0;
  border-end-end-radius: 8px;
}
:is(#left-column, #offcanvas-faceted) #search-filters [data-excom-group-member="1"] .accordion-button {
  min-height: 42px;
  padding: 10px 0;
  gap: 6px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}
:is(#left-column, #offcanvas-faceted) #search-filters [data-excom-group-member="1"] .accordion-button:not(.collapsed) { font-weight: 600; }
:is(#left-column, #offcanvas-faceted) #search-filters [data-excom-group-member="1"] .accordion-button::after {
  flex-basis: 7px;
  width: 7px;
  height: 7px;
}
:is(#left-column, #offcanvas-faceted) #search-filters [data-excom-group-member="1"] .accordion-body { padding-bottom: 10px; }
/* The icons module sets fixed dimensions with !important. */
:is(#left-column, #offcanvas-faceted) #search-filters [data-excom-group-member="1"] .excom-fi-front-icon {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
}
/* EXCOM 0.3.100: compact section headings and separate range endpoints. */
.excom-sidebar-heading { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; }
.excom-sidebar-heading__icon { display: block; flex: 0 0 18px; width: 18px; height: 18px; color: #607083; }
#offcanvas-faceted .offcanvas-title { font-size: 15px; }
:is(#left-column, #offcanvas-faceted) #search-filters .excom-range-values {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  direction: ltr;
  font-variant-numeric: tabular-nums;
}
.excom-range-values__min, .excom-range-values__max { display: block; min-width: 0; white-space: nowrap; unicode-bidi: isolate; }
.excom-range-values__min { text-align: left; }
.excom-range-values__max { margin-left: auto; text-align: right; }
#left-column .category-tree :is(a, button):focus-visible,
:is(#left-column, #offcanvas-faceted) #search-filters :is(a, button, input):focus-visible { outline: 2px solid #0b69f6; outline-offset: 2px; }
@media (min-width: 768px) and (max-width: 1199.98px) {
  #left-column .ps-categorytree.left-block,
  #left-column #search_filters_wrapper.left-block { padding-inline: 12px; }
}
@media (max-width: 767.98px) {
  #offcanvas-faceted .offcanvas-header { border-bottom: 1px solid #edf0f4; }
  #offcanvas-faceted #search-filters .search-filters__item { padding-block: 9px; }
  #offcanvas-faceted #search-filters [data-excom-group-member="1"] .accordion-button { min-height: 44px; }
}

/* Header, main content/breadcrumb and footer use one consistent Excom width. */
#header :is(.container, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl),
#wrapper > :is(.columns-container.container, .container, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl),
#wrapper .breadcrumb__wrapper > :is(.container, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl),
#wrapper .breadcrumb :is(.container, .container-md),
#wrapper :is(.breadcrumb-container, .breadcrumb__container),
#footer :is(.container, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl) {
  box-sizing: border-box;
  width: calc(100% - (2 * var(--excom-layout-gap))) !important;
  max-width: var(--excom-layout-max-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* EXCOM 0.3.108: account access pages keep their intended narrow container.
   Preserve the shared responsive width/gutters, but override the wide page cap.
   The marker is only on standalone login, registration and password pages. */
#wrapper > .container.excom-account-access {
  max-width: 540px !important;
}
#wrapper > .container.excom-account-access.container--limited-md {
  max-width: 720px !important;
}

/* Keep normal Bootstrap inner gutter while overriding only outer page width. */
#header :is(.container, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl),
#wrapper > :is(.columns-container.container, .container, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl),
#wrapper .breadcrumb__wrapper > :is(.container, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl),
#footer :is(.container, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl) {
  padding-left: calc(var(--bs-gutter-x, 1.5rem) * .5);
  padding-right: calc(var(--bs-gutter-x, 1.5rem) * .5);
}

@media (max-width: 1199.98px) {
  :root {
    --excom-layout-gap: var(--excom-layout-gap-tablet);
  }
}

@media (max-width: 767.98px) {
  :root {
    --excom-layout-gap: var(--excom-layout-gap-mobile);
  }
}

/* ===== PRODUCT VIEW LAYOUT: GRID / LIST / MINIMAL ===== */
/* GRID: only force columns when a number is selected in module settings. */
#products.excom-pv--grid.excom-pv-force-columns #js-product-list > .products {
  display: grid !important;
  grid-template-columns: repeat(var(--excom-pv-columns), minmax(0, 1fr)) !important;
  width: 100%;
}

#products.excom-pv--grid #js-product-list > .products > .product-miniature,
#products.excom-pv--list #js-product-list > .products > .product-miniature {
  min-width: 0;
  width: 100%;
  max-width: none;
}


/* GRID: image size is configured by Excom - Widok produktów.
 * IMPORTANT: scale the actual image container, not only the visual <picture>.
 * This reduces both the visible image and the space reserved by the card.
 */
#products.excom-pv--grid .product-miniature__image-container {
  width: var(--excom-pv-grid-image-scale, 67%) !important;
  max-width: 336px !important;
  margin-inline: auto !important;
}

#products.excom-pv--grid .product-miniature__image-container .product-miniature__image-link {
  display: block !important;
  width: 100% !important;
}

#products.excom-pv--grid .product-miniature__image-container picture {
  display: block !important;
  width: 100% !important;
  transform: none !important;
}

#products.excom-pv--grid .product-miniature__image-container img {
  display: block !important;
  width: 100% !important;
  max-width: 336px !important;
  height: auto !important;
  margin-inline: auto !important;
  object-fit: contain !important;
  transform: none !important;
}

/* LIST */
#products.excom-pv--list #js-product-list > .products {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  width: 100%;
}

#products.excom-pv--list #js-product-list > .products > .product-miniature {
  margin: 0;
}

#products.excom-pv--list .product-miniature__inner {
  display: grid !important;
  grid-template-columns: minmax(162px, 221px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  width: 100%;
  height: auto !important;
}

#products.excom-pv--list .product-miniature__top {
  min-width: 0;
  margin: 0;
}

#products.excom-pv--list .product-miniature__top img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

#products.excom-pv--list .product-miniature__bottom {
  display: flex !important;
  flex-direction: column;
  align-self: stretch;
  min-width: 0;
  width: 100%;
}

#products.excom-pv--list .product-miniature__infos {
  width: 100%;
  min-width: 0;
}

#products.excom-pv--list .product-miniature__title {
  display: block;
  width: 100%;
}

#products.excom-pv--list .product-miniature__actions {
  margin-top: auto;
}

/* Prevent theme fixed sizing from shrinking list cards. */
#products.excom-pv--list .product-miniature,
#products.excom-pv--list .product-miniature__inner,
#products.excom-pv--list .product-miniature__bottom {
  max-width: none !important;
}

@media (max-width: 1199.98px) {
  #products.excom-pv--list .product-miniature__inner {
    grid-template-columns: minmax(145px, 187px) minmax(0, 1fr);
    gap: 18px;
  }
}

@media (max-width: 767.98px) {
  #products.excom-pv--list .product-miniature__inner {
    grid-template-columns: minmax(89px, 29%) minmax(0, 1fr);
    gap: 12px;
  }
}

@media (max-width: 420px) {
  #products.excom-pv--list .product-miniature__inner {
    grid-template-columns: 89px minmax(0, 1fr);
    gap: 10px;
  }
}

/* MINIMAL - one very compact row per product: thumbnail + title + current price. */
#products.excom-pv--minimal #js-product-list > .products {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
  width: 100%;
}

#products.excom-pv--minimal #js-product-list > .products > .product-miniature {
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--bs-border-color, #e5e7eb) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#products.excom-pv--minimal .product-miniature__inner {
  display: grid !important;
  grid-template-columns: 77px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 8px 10px !important;
  margin: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#products.excom-pv--minimal .product-miniature__top {
  grid-column: 1;
  position: relative !important;
  display: block !important;
  width: 77px !important;
  min-width: 77px !important;
  max-width: 77px !important;
  height: 59px !important;
  min-height: 59px !important;
  max-height: 59px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  aspect-ratio: auto !important;
  background: transparent !important;
}

/* Hummingbird keeps several wrappers/positioning rules on product images.
 * In compact mode reset them so the actual photo becomes a true 58x44 thumbnail. */
#products.excom-pv--minimal .product-miniature__top .product-miniature__image-container,
#products.excom-pv--minimal .product-miniature__top .thumbnail-container {
  position: relative !important;
  display: block !important;
  width: 77px !important;
  min-width: 77px !important;
  max-width: 77px !important;
  height: 59px !important;
  min-height: 59px !important;
  max-height: 59px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  aspect-ratio: auto !important;
  border: 0 !important;
  background: transparent !important;
}

#products.excom-pv--minimal .product-miniature__top .product-miniature__image-link {
  position: static !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 77px !important;
  min-width: 77px !important;
  max-width: 77px !important;
  height: 59px !important;
  min-height: 59px !important;
  max-height: 59px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: transparent !important;
}

#products.excom-pv--minimal .product-miniature__top picture {
  position: static !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 77px !important;
  min-width: 77px !important;
  max-width: 77px !important;
  height: 59px !important;
  min-height: 59px !important;
  max-height: 59px !important;
  margin: 0 !important;
  padding: 0 !important;
}

#products.excom-pv--minimal .product-miniature__top .product-miniature__image,
#products.excom-pv--minimal .product-miniature__top img {
  position: static !important;
  display: block !important;
  width: 77px !important;
  min-width: 77px !important;
  max-width: 77px !important;
  height: 59px !important;
  min-height: 59px !important;
  max-height: 59px !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Hide flags and both desktop/touch quick-view buttons.
 * Hummingbird uses __quickview-button / __quickview-touch and .js-quickview. */
#products.excom-pv--minimal .product-miniature__top .product-flags,
#products.excom-pv--minimal .product-miniature__top .product-miniature__flags,
#products.excom-pv--minimal .product-miniature__top .product-miniature__quickview-button,
#products.excom-pv--minimal .product-miniature__top .product-miniature__quickview-touch,
#products.excom-pv--minimal .product-miniature__top .js-quickview,
#products.excom-pv--minimal .product-miniature__variants,
#products.excom-pv--minimal .product-miniature__discount-price,
#products.excom-pv--minimal .product-miniature__reviews,
#products.excom-pv--minimal .product-miniature__actions {
  display: none !important;
}

#products.excom-pv--minimal .product-miniature__bottom {
  grid-column: 2 / 4;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

#products.excom-pv--minimal .product-miniature__infos {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

#products.excom-pv--minimal .product-miniature__title {
  display: block !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.25 !important;
  font-size: 14px !important;
  font-weight: 600;
}

#products.excom-pv--minimal .product-miniature__prices {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: max-content;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap;
}

#products.excom-pv--minimal .product-miniature__price {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.25 !important;
  font-size: 14px !important;
  font-weight: 700;
}

/* Hide anything injected into the price block except the actual current price. */
#products.excom-pv--minimal .product-miniature__prices > :not(.product-miniature__price):not(.excom-product-location--miniature) {
  display: none !important;
}
@media (max-width: 575.98px) {
  #products.excom-pv--minimal .product-miniature__inner {
    grid-template-columns: 61px minmax(0, 1fr) auto;
    column-gap: 8px;
    padding: 8px 6px !important;
  }

  #products.excom-pv--minimal .product-miniature__top,
  #products.excom-pv--minimal .product-miniature__top .product-miniature__image-container,
  #products.excom-pv--minimal .product-miniature__top .thumbnail-container,
  #products.excom-pv--minimal .product-miniature__top .product-miniature__image-link,
  #products.excom-pv--minimal .product-miniature__top picture,
  #products.excom-pv--minimal .product-miniature__top .product-miniature__image,
  #products.excom-pv--minimal .product-miniature__top img {
    width: 61px !important;
    min-width: 61px !important;
    max-width: 61px !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
  }

  #products.excom-pv--minimal .product-miniature__infos {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }

  #products.excom-pv--minimal .product-miniature__title,
  #products.excom-pv--minimal .product-miniature__price {
    font-size: 13px !important;
  }
}


/* ===== PRODUCT META / LOCATION ===== */
.excom-product-meta[hidden],
.excom-product-meta__item[hidden],
.excom-product-location[hidden] {
  display: none !important;
}

.excom-product-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .28rem .8rem;
  min-width: 0;
  font-size: .8125rem;
  line-height: 1.3;
  color: var(--bs-secondary-color, #6c757d);
}

.excom-product-meta__item {
  display: inline-flex;
  align-items: baseline;
  gap: .35rem;
  min-width: 0;
  max-width: 100%;
  padding: 5px 9px;
  border: 1px solid #dfe7f0;
  border-radius: 5px;
  background: #f5f8fc;
  box-sizing: border-box;
}

.excom-product-meta .excom-product-meta__label {
  color: #657488;
  font-weight: 400 !important;
  white-space: nowrap;
}
.excom-product-meta .excom-product-meta__value {
  color: #283647;
  font-weight: 600;
  white-space: normal;
}

.excom-product-meta__label,
.excom-product-location__label {
  font-weight: 600;
  color: var(--bs-body-color, #212529);
}

.excom-product-meta__value,
.excom-product-location__value {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Main product page */
.page-product .product__right > .excom-product-meta--product {
  margin-block: .35rem .8rem;
}

.page-product .product__right > .excom-product-location--product {
  display: flex;
  align-items: baseline;
  gap: .35rem;
  width: 100%;
  margin: .15rem 0 .45rem;
  font-size: .875rem;
  line-height: 1.3;
  color: var(--bs-secondary-color, #6c757d);
}

/* Product cards: Grid / List / related / viewed. */
.product-miniature .excom-product-meta--miniature {
  margin: .28rem 0 .2rem;
}

.product-miniature__prices > .excom-product-location--miniature {
  display: flex;
  align-items: baseline;
  gap: .3rem;
  flex: 0 0 100%;
  width: 100%;
  margin: .12rem 0 .28rem;
  font-size: .8125rem;
  line-height: 1.25;
  color: var(--bs-secondary-color, #6c757d);
}

/* LIST: keep the extra information aligned with the text area. */
#products.excom-pv--list .excom-product-meta--miniature {
  margin-top: .35rem;
}

/* MINIMAL: thumbnail on the left, Reference/Condition above title, all left-aligned; warehouse location + price on the right. */
#products.excom-pv--minimal .product-miniature__infos {
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  column-gap: 14px !important;
  row-gap: 2px !important;
}

#products.excom-pv--minimal .excom-product-meta--miniature {
  grid-column: 1 !important;
  grid-row: 1 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  gap: .22rem .55rem !important;
  margin: 0 0 2px 0 !important;
  white-space: nowrap;
  font-size: 12px !important;
}

#products.excom-pv--minimal .product-miniature__title {
  grid-column: 1 !important;
  grid-row: 2 !important;
}

#products.excom-pv--minimal .product-miniature__prices {
  grid-column: 2 !important;
  grid-row: 1 / span 2 !important;
  display: grid !important;
  /* Keep the first line reserved even when warehouse location is empty.
     This keeps the price exactly on the same visual line as the title. */
  grid-template-rows: 18px auto !important;
  align-items: start !important;
  justify-items: end !important;
  align-self: start !important;
  gap: 2px 10px !important;
  margin: 0 !important;
  min-width: max-content;
}

#products.excom-pv--minimal .product-miniature__prices > .excom-product-location--miniature {
  grid-row: 1 !important;
  align-self: start !important;
  justify-self: end !important;
}

#products.excom-pv--minimal .product-miniature__price {
  grid-row: 2 !important;
  align-self: start !important;
  justify-self: end !important;
}

/* Explicitly keep Index / Condition visible in Minimal view. */
#products.excom-pv--minimal .excom-product-meta--miniature:not([hidden]) {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Product View module hides every price child except current price in Minimal.
   Explicitly keep warehouse location visible; injected short-description stays hidden. */
#products.excom-pv--minimal .product-miniature__prices > .excom-product-location--miniature {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  width: auto !important;
  margin: 0 !important;
  font-size: 12px !important;
  white-space: nowrap;
}

#products.excom-pv--minimal .product-miniature__prices > .exsd-short-features {
  display: none !important;
}

@media (max-width: 991.98px) {
  #products.excom-pv--minimal .product-miniature__infos {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  #products.excom-pv--minimal .excom-product-meta--miniature {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-content: flex-start !important;
    margin: 0 0 2px 0 !important;
  }

  #products.excom-pv--minimal .product-miniature__title {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  #products.excom-pv--minimal .product-miniature__prices {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
  }
}

@media (max-width: 575.98px) {
  .excom-product-meta {
    font-size: .775rem;
    gap: .22rem .6rem;
  }

  .page-product .product__right > .excom-product-meta--product {
    margin-bottom: .65rem;
  }

  #products.excom-pv--minimal .excom-product-meta--miniature,
  #products.excom-pv--minimal .product-miniature__prices > .excom-product-location--miniature {
    font-size: 11px !important;
  }

  #products.excom-pv--minimal .excom-product-meta__label,
  #products.excom-pv--minimal .excom-product-location__label {
    font-weight: 600;
  }
}


/* Excom 0.2.8: product details (reference / stock quantity / condition) are
 * shown in the compact product summary, so hide the duplicated native details
 * panel while keeping it in the DOM for combination-refresh data. */
.page-product #product_details,
.page-product .ept-section:has(.ept-product-details),
.page-product .tab-pane:has(.ept-product-details) {
  display: none !important;
}


/* ===== EXCOM 0.2.9: hide Product Details presentation only ===== */
#product_details,
.ept-product-details,
.ept-section:has(.ept-product-details),
.tab-pane:has(.ept-product-details),
.accordion-item:has(.ept-product-details),
[data-excom-hidden-product-details],
[data-excom-hidden-product-details-nav] {
  display: none !important;
}

/* ===== EXCOM 0.3.4: product brand logo =====
 * Replace the text manufacturer link with the logo configured for the brand.
 * The link itself remains the native PrestaShop brand URL.
 */
.page-product .excom-product-brand {
  display: flex;
  align-items: center;
}

.page-product .excom-product-brand__link {
  display: inline-flex;
  align-items: center;
  max-width: 140px;
  text-decoration: none;
}

.page-product .excom-product-brand__picture {
  display: inline-flex;
  align-items: center;
}

.page-product .excom-product-brand__logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 140px;
  max-height: 48px;
  object-fit: contain;
}

.page-product .excom-product-brand__fallback {
  display: inline-block;
}

.page-product--quickview .excom-product-brand__link {
  max-width: 120px;
}

.page-product--quickview .excom-product-brand__logo {
  max-width: 120px;
  max-height: 42px;
}

/* ===== EXCOM 0.3.6: compact brand logo at the LEFT SIDE of product title =====
 * The H1 stays textual and untouched for SEO.
 * Grid is used so the logo cannot jump above the title because of inherited
 * manufacturer width/margins from Hummingbird.
 */
.page-product .excom-product-heading {
  display: grid !important;
  grid-template-columns: 52px minmax(0, 1fr) !important;
  align-items: start !important;
  column-gap: 10px !important;
  margin-block-end: .35rem;
  min-width: 0;
}

.page-product .excom-product-heading > .product__manufacturer {
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 52px !important;
  max-width: 52px !important;
  min-width: 52px !important;
  margin: 1px 0 0 0 !important;
  padding: 0 !important;
  display: block !important;
}

.page-product .excom-product-heading > .product__name {
  grid-column: 2 !important;
  grid-row: 1 !important;
  min-width: 0;
  margin: 0 !important;
}

.page-product .excom-product-heading .excom-product-brand__link {
  display: flex !important;
  width: 48px !important;
  height: 48px !important;
  max-width: 48px !important;
  align-items: center !important;
  justify-content: center !important;
}

.page-product .excom-product-heading .excom-product-brand__picture {
  display: flex !important;
  width: 48px !important;
  height: 48px !important;
  align-items: center !important;
  justify-content: center !important;
}

.page-product .excom-product-heading .excom-product-brand__logo {
  width: auto !important;
  height: auto !important;
  max-width: 48px !important;
  max-height: 48px !important;
  object-fit: contain !important;
}

.page-product .excom-product-heading .excom-product-brand__fallback {
  font-size: .75rem;
  font-weight: 600;
}

/* Quick view: same structure, slightly smaller. */
.page-product--quickview .excom-product-heading {
  grid-template-columns: 44px minmax(0, 1fr) !important;
  column-gap: 9px !important;
  margin-block-end: .75rem;
}

.page-product--quickview .excom-product-heading > .product__manufacturer {
  width: 44px !important;
  max-width: 44px !important;
  min-width: 44px !important;
}

.page-product--quickview .excom-product-heading .excom-product-brand__link,
.page-product--quickview .excom-product-heading .excom-product-brand__picture {
  width: 40px !important;
  height: 40px !important;
  max-width: 40px !important;
}

.page-product--quickview .excom-product-heading .excom-product-brand__logo {
  max-width: 40px !important;
  max-height: 40px !important;
}

@media (max-width: 575.98px) {
  .page-product .excom-product-heading {
    grid-template-columns: 42px minmax(0, 1fr) !important;
    column-gap: 8px !important;
  }

  .page-product .excom-product-heading > .product__manufacturer {
    width: 42px !important;
    max-width: 42px !important;
    min-width: 42px !important;
  }

  .page-product .excom-product-heading .excom-product-brand__link,
  .page-product .excom-product-heading .excom-product-brand__picture {
    width: 38px !important;
    height: 38px !important;
    max-width: 38px !important;
  }

  .page-product .excom-product-heading .excom-product-brand__logo {
    max-width: 38px !important;
    max-height: 38px !important;
  }
}



/* ===== EXCOM 0.3.7: manufacturer logo on product cards =====
 * Visible in Grid, List and Minimal views.
 * The logo sits directly to the LEFT of the product title.
 * Product title remains the normal textual product link.
 */
.product-miniature .excom-product-card-heading {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  min-width: 0;
}

.product-miniature .excom-product-card-heading > .product-miniature__title {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 !important;
}

.product-miniature .excom-product-card-brand {
  display: flex;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  margin-top: 0;
}

.product-miniature .excom-product-card-brand__logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 30px;
  max-height: 30px;
  object-fit: contain;
}

/* LIST: slightly smaller logo to keep the specification area compact. */
#products.excom-pv--list .excom-product-card-heading {
  gap: 7px;
}

#products.excom-pv--list .excom-product-card-brand {
  flex-basis: 28px;
  width: 28px;
  height: 28px;
}

#products.excom-pv--list .excom-product-card-brand__logo {
  max-width: 28px;
  max-height: 28px;
}

/* MINIMAL: keep the card very compact.
 * Meta stays on row 1, logo + title are row 2, price stays aligned to title.
 */
#products.excom-pv--minimal .excom-product-card-heading {
  grid-column: 1 !important;
  grid-row: 2 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  min-width: 0 !important;
  overflow: hidden;
}

#products.excom-pv--minimal .excom-product-card-brand {
  flex: 0 0 22px !important;
  width: 22px !important;
  height: 22px !important;
}

#products.excom-pv--minimal .excom-product-card-brand__logo {
  max-width: 22px !important;
  max-height: 22px !important;
}

#products.excom-pv--minimal .excom-product-card-heading > .product-miniature__title {
  display: block !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* The title is now inside the heading wrapper, so the wrapper is the grid item. */
#products.excom-pv--minimal .product-miniature__title {
  grid-column: auto !important;
  grid-row: auto !important;
}

@media (max-width: 575.98px) {
  .product-miniature .excom-product-card-brand {
    flex-basis: 24px;
    width: 24px;
    height: 24px;
  }

  .product-miniature .excom-product-card-brand__logo {
    max-width: 24px;
    max-height: 24px;
  }

  #products.excom-pv--minimal .excom-product-card-brand {
    flex-basis: 18px !important;
    width: 18px !important;
    height: 18px !important;
  }

  #products.excom-pv--minimal .excom-product-card-brand__logo {
    max-width: 18px !important;
    max-height: 18px !important;
  }
}



/* ===== EXCOM 0.3.8: dedicated purchase column in LIST view =====
 * Price, quantity selector and Add to cart are grouped in a separate
 * right-hand column. Product text/specification stays in the left column.
 * This is a presentation-only change; product links and semantic content
 * remain unchanged.
 */

/* In Grid and Minimal keep the wrapper transparent to layout so the existing
 * card behavior stays unchanged. */
.product-miniature__content,
.product-miniature__commerce {
  display: contents;
}

/* LIST: actual two-column content area. */
#products.excom-pv--list .product-miniature__infos {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(205px, 235px) !important;
  column-gap: 24px !important;
  align-items: start !important;
  width: 100% !important;
  min-width: 0 !important;
}

#products.excom-pv--list .product-miniature__content {
  display: block !important;
  grid-column: 1 !important;
  min-width: 0 !important;
}

#products.excom-pv--list .product-miniature__commerce {
  display: flex !important;
  grid-column: 2 !important;
  flex-direction: column !important;
  align-self: stretch !important;
  min-width: 0 !important;
  padding-left: 20px !important;
  border-left: 1px solid var(--bs-border-color, #e5e7eb);
}

/* Price area */
#products.excom-pv--list .product-miniature__commerce .product-miniature__prices {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  justify-content: flex-start !important;
  gap: 4px 8px !important;
  width: 100% !important;
  margin: 0 0 14px 0 !important;
}

#products.excom-pv--list .product-miniature__commerce .product-miniature__price {
  width: 100%;
  font-size: 1.2rem !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
}

#products.excom-pv--list .product-miniature__commerce .product-miniature__discount-price {
  margin: 0 !important;
}

#products.excom-pv--list .product-miniature__commerce .product-miniature__regular-price {
  font-size: .86rem !important;
}

/* Warehouse location, when present, stays above price in the purchase column. */
#products.excom-pv--list .product-miniature__commerce .excom-product-location--miniature {
  order: -1;
  width: 100% !important;
  margin: 0 0 6px 0 !important;
}

/* Quantity + cart button */
#products.excom-pv--list .product-miniature__actions {
  margin: 0 !important;
  width: 100% !important;
}

#products.excom-pv--list .product-miniature__form {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  width: 100% !important;
}

#products.excom-pv--list .quantity-button,
#products.excom-pv--list .quantity-button__group {
  width: 100% !important;
}

#products.excom-pv--list .quantity-button__group .form-control {
  min-width: 0 !important;
  text-align: center;
}

#products.excom-pv--list .product-miniature__add {
  display: inline-flex !important;
  width: 100% !important;
  min-height: 42px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  padding-inline: 12px !important;
}

#products.excom-pv--list .product-miniature__add-text {
  display: inline !important;
  white-space: nowrap;
}

#products.excom-pv--list .product-miniature__details {
  width: 100%;
}

/* Medium screens: slightly narrower purchase column. */
@media (max-width: 1199.98px) {
  #products.excom-pv--list .product-miniature__infos {
    grid-template-columns: minmax(0, 1fr) minmax(185px, 205px) !important;
    column-gap: 18px !important;
  }

  #products.excom-pv--list .product-miniature__commerce {
    padding-left: 16px !important;
  }

  #products.excom-pv--list .product-miniature__add {
    font-size: .875rem;
  }
}

/* On narrow screens the purchase area goes below product information to avoid
 * squeezing the title/specification into an unusably narrow column. */
@media (max-width: 767.98px) {
  #products.excom-pv--list .product-miniature__infos {
    grid-template-columns: minmax(0, 1fr) !important;
    row-gap: 12px !important;
  }

  #products.excom-pv--list .product-miniature__content,
  #products.excom-pv--list .product-miniature__commerce {
    grid-column: 1 !important;
  }

  #products.excom-pv--list .product-miniature__commerce {
    padding: 12px 0 0 0 !important;
    border-left: 0 !important;
    border-top: 1px solid var(--bs-border-color, #e5e7eb);
  }

  #products.excom-pv--list .product-miniature__form {
    display: grid !important;
    grid-template-columns: minmax(110px, .8fr) minmax(140px, 1.2fr) !important;
    align-items: stretch !important;
  }

  #products.excom-pv--list .product-miniature__add {
    height: 100% !important;
  }
}

@media (max-width: 420px) {
  #products.excom-pv--list .product-miniature__form {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}



/* ===== EXCOM 0.3.10: LIST column correction =====
 * Short description / technical feature block stays in the LEFT information
 * column. The RIGHT purchase column contains price, quantity, Add to cart and
 * a dedicated Quick view button.
 */

/* Dedicated list Quick View button is hidden in Grid/Minimal. */
.excom-list-quickview {
  display: none !important;
}

/* In List view, hide the image-overlay quick-view controls and use the
 * dedicated button in the purchase column instead. */
#products.excom-pv--list .product-miniature__top .product-miniature__quickview-button,
#products.excom-pv--list .product-miniature__top .product-miniature__quickview-touch {
  display: none !important;
}

/* The hook rendered after Index/Condition now lives in the left content column.
 * Keep Excom Short Description constrained to that column. */
#products.excom-pv--list .product-miniature__content > .exsd-short-features,
#products.excom-pv--list .product-miniature__content .exsd-short-features {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: .55rem 0 .75rem !important;
}

/* Make sure the right purchase column never captures the short-description
 * block even if another cached/legacy hook copy is injected there. */
#products.excom-pv--list .product-miniature__commerce > .exsd-short-features,
#products.excom-pv--list .product-miniature__prices > .exsd-short-features {
  display: none !important;
}

#products.excom-pv--list .excom-list-quickview {
  display: inline-flex !important;
  width: 100% !important;
  min-height: 40px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  margin-top: 10px !important;
  padding-inline: 12px !important;
  white-space: nowrap;
}

#products.excom-pv--list .excom-list-quickview .material-icons {
  font-size: 20px;
}

/* Keep price/quantity/cart/quick-view grouped naturally from top to bottom. */
#products.excom-pv--list .product-miniature__commerce {
  justify-content: flex-start !important;
}

/* On mobile the dedicated Quick View stays with the purchase controls. */
@media (max-width: 767.98px) {
  #products.excom-pv--list .excom-list-quickview {
    margin-top: 8px !important;
  }
}



/* ===== EXCOM 0.3.11: compact LIST purchase controls =====
 * Order in the right column:
 * 1. Price
 * 2. Quick View
 * 3. Compact quantity selector + icon-only Add to cart
 */

#products.excom-pv--list .excom-list-quickview {
  margin: 0 0 10px 0 !important;
}

/* Quantity and cart button in one horizontal row. */
#products.excom-pv--list .product-miniature__form {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  width: 100% !important;
}

/* Slightly smaller quantity control. */
#products.excom-pv--list .quantity-button {
  flex: 0 0 138px !important;
  width: 138px !important;
  max-width: 138px !important;
}

#products.excom-pv--list .quantity-button__group {
  width: 138px !important;
  max-width: 138px !important;
}

#products.excom-pv--list .quantity-button__group .btn,
#products.excom-pv--list .quantity-button__group .form-control {
  min-height: 40px !important;
  height: 40px !important;
}

/* Add to cart is a compact icon button beside quantity. */
#products.excom-pv--list .product-miniature__add {
  flex: 0 0 44px !important;
  width: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  min-height: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  gap: 0 !important;
}

#products.excom-pv--list .product-miniature__add .material-icons {
  margin: 0 !important;
  font-size: 21px !important;
}

/* Keep the translated text in HTML for accessibility/future reuse,
 * but do not display it visually in List view. aria-label/title remain active. */
#products.excom-pv--list .product-miniature__add-text {
  display: none !important;
}

/* On mobile keep the same compact row unless the viewport is extremely narrow. */
@media (max-width: 767.98px) {
  #products.excom-pv--list .product-miniature__form {
    display: flex !important;
    flex-direction: row !important;
    grid-template-columns: none !important;
  }

  #products.excom-pv--list .quantity-button,
  #products.excom-pv--list .quantity-button__group {
    flex: 0 0 132px !important;
    width: 132px !important;
    max-width: 132px !important;
  }
}

@media (max-width: 360px) {
  #products.excom-pv--list .quantity-button,
  #products.excom-pv--list .quantity-button__group {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
  }

  #products.excom-pv--list .product-miniature__add {
    flex: 0 0 42px !important;
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
  }
}



/* ===== EXCOM 0.3.12 =====
 * MINIMAL:
 * - no short description/specification block,
 * - Quick View + Add to cart directly to the RIGHT of price,
 * - no quantity selector in Minimal.
 *
 * LIST:
 * - Quick View width matches quantity + cart controls below.
 */

/* ---------- LIST: narrower Quick View ---------- */
#products.excom-pv--list .excom-list-quickview {
  width: 190px !important;
  max-width: 190px !important;
  min-width: 190px !important;
  align-self: flex-start !important;
}

/* ---------- MINIMAL: hide short description completely ---------- */
#products.excom-pv--minimal .excom-product-card-before-price,
#products.excom-pv--minimal .exsd-short-features {
  display: none !important;
}

/* Expand Minimal grid with two compact action columns after price. */
#products.excom-pv--minimal .product-miniature__infos {
  grid-template-columns: minmax(0, 1fr) auto 32px 32px !important;
  column-gap: 7px !important;
  row-gap: 2px !important;
}

/* Price stays in column 2, spanning meta/title rows. */
#products.excom-pv--minimal .product-miniature__prices {
  grid-column: 2 !important;
  grid-row: 1 / span 2 !important;
}

/* Dedicated Quick View button becomes an icon button beside price. */
#products.excom-pv--minimal .excom-list-quickview {
  display: inline-flex !important;
  grid-column: 3 !important;
  grid-row: 2 !important;
  width: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  height: 32px !important;
  min-height: 32px !important;
  margin: 0 !important;
  padding: 0 !important;
  align-self: start !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 4px;
}

#products.excom-pv--minimal .excom-list-quickview span {
  display: none !important;
}

#products.excom-pv--minimal .excom-list-quickview .material-icons {
  font-size: 18px !important;
  margin: 0 !important;
}

/* Re-enable actions only for Minimal, as a compact icon-only cart button. */
#products.excom-pv--minimal .product-miniature__actions {
  display: block !important;
  grid-column: 4 !important;
  grid-row: 2 !important;
  width: 32px !important;
  margin: 0 !important;
  align-self: start !important;
}

#products.excom-pv--minimal .product-miniature__form {
  display: block !important;
  width: 32px !important;
  margin: 0 !important;
}

/* Minimal view doesn't need a quantity selector. */
#products.excom-pv--minimal .quantity-button {
  display: none !important;
}

#products.excom-pv--minimal .product-miniature__add {
  display: inline-flex !important;
  width: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  height: 32px !important;
  min-height: 32px !important;
  padding: 0 !important;
  margin: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  border-radius: 4px;
}

#products.excom-pv--minimal .product-miniature__add .material-icons {
  font-size: 18px !important;
  margin: 0 !important;
}

#products.excom-pv--minimal .product-miniature__add-text {
  display: none !important;
}

/* Keep title/meta in column 1 after expanding the Minimal grid. */
#products.excom-pv--minimal .excom-product-meta--miniature {
  grid-column: 1 !important;
  grid-row: 1 !important;
}

#products.excom-pv--minimal .excom-product-card-heading {
  grid-column: 1 !important;
  grid-row: 2 !important;
}

/* Mobile Minimal: slightly smaller compact controls. */
@media (max-width: 575.98px) {
  #products.excom-pv--minimal .product-miniature__infos {
    grid-template-columns: minmax(0, 1fr) auto 30px 30px !important;
    column-gap: 5px !important;
  }

  #products.excom-pv--minimal .excom-list-quickview,
  #products.excom-pv--minimal .product-miniature__actions,
  #products.excom-pv--minimal .product-miniature__form,
  #products.excom-pv--minimal .product-miniature__add {
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
  }

  #products.excom-pv--minimal .excom-list-quickview,
  #products.excom-pv--minimal .product-miniature__add {
    height: 30px !important;
    min-height: 30px !important;
  }
}


/* ===== EXCOM 0.3.13 =====
 * - LIST: smaller Quick View, smaller quantity selector, smaller cart button.
 * - MINIMAL: vertically center the price block relative to the action icons.
 */

/* ---------- LIST: make the right column controls more compact ---------- */
#products.excom-pv--list .excom-list-quickview {
  width: 154px !important;
  max-width: 154px !important;
  min-width: 154px !important;
  min-height: 36px !important;
  height: 36px !important;
  padding: 0 10px !important;
  font-size: 0.96rem !important;
  margin: 0 0 8px 0 !important;
}

#products.excom-pv--list .excom-list-quickview .material-icons {
  font-size: 18px !important;
  margin-right: 6px !important;
}

#products.excom-pv--list .product-miniature__form {
  gap: 6px !important;
}

#products.excom-pv--list .quantity-button,
#products.excom-pv--list .quantity-button__group {
  flex: 0 0 122px !important;
  width: 122px !important;
  max-width: 122px !important;
}

#products.excom-pv--list .quantity-button__group .btn,
#products.excom-pv--list .quantity-button__group .form-control {
  min-height: 36px !important;
  height: 36px !important;
}

#products.excom-pv--list .product-miniature__add {
  flex: 0 0 38px !important;
  width: 38px !important;
  min-width: 38px !important;
  max-width: 38px !important;
  min-height: 36px !important;
  height: 36px !important;
}

#products.excom-pv--list .product-miniature__add .material-icons {
  font-size: 19px !important;
}

/* ---------- MINIMAL: center price against the icon buttons ---------- */
#products.excom-pv--minimal .product-miniature__prices {
  align-self: center !important;
}



/* ===== EXCOM 0.3.14: Description button beside Quick View =====
 * "Opis" is a normal internal <a href="product-url"> link.
 * LIST: text + icon, placed to the LEFT of Quick View.
 * MINIMAL: icon-only, placed to the LEFT of Quick View.
 */

/* Hidden by default (e.g. Grid). */
.excom-card-secondary-actions {
  display: none;
}

/* ---------- LIST ---------- */
#products.excom-pv--list .excom-card-secondary-actions {
  display: flex !important;
  align-items: stretch !important;
  gap: 6px !important;
  width: 166px !important;
  max-width: 166px !important;
  margin: 0 0 8px 0 !important;
}

#products.excom-pv--list .excom-product-description,
#products.excom-pv--list .excom-list-quickview {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 36px !important;
  height: 36px !important;
  margin: 0 !important;
  padding: 0 7px !important;
  font-size: .82rem !important;
  line-height: 1 !important;
  white-space: nowrap;
}

/* "Opis" is compact; Quick View gets the remaining room. */
#products.excom-pv--list .excom-product-description {
  flex: 0 0 56px !important;
  width: 56px !important;
  max-width: 56px !important;
}

#products.excom-pv--list .excom-list-quickview {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
}

#products.excom-pv--list .excom-product-description .material-icons,
#products.excom-pv--list .excom-list-quickview .material-icons {
  font-size: 17px !important;
  margin: 0 4px 0 0 !important;
}

/* ---------- MINIMAL ---------- */
/* Price + Description + Quick View + Cart. */
#products.excom-pv--minimal .product-miniature__infos {
  grid-template-columns: minmax(0, 1fr) auto 32px 32px 32px !important;
}

#products.excom-pv--minimal .excom-card-secondary-actions {
  display: flex !important;
  grid-column: 3 / span 2 !important;
  grid-row: 2 !important;
  gap: 7px !important;
  width: 71px !important;
  align-items: center !important;
  justify-content: flex-start !important;
  align-self: center !important;
  margin: 0 !important;
}

#products.excom-pv--minimal .excom-product-description,
#products.excom-pv--minimal .excom-list-quickview {
  display: inline-flex !important;
  width: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  height: 32px !important;
  min-height: 32px !important;
  padding: 0 !important;
  margin: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 4px;
}

/* Icon-only in Minimal, but translated labels remain in HTML/ARIA. */
#products.excom-pv--minimal .excom-product-description span,
#products.excom-pv--minimal .excom-list-quickview span {
  display: none !important;
}

#products.excom-pv--minimal .excom-product-description .material-icons,
#products.excom-pv--minimal .excom-list-quickview .material-icons {
  font-size: 18px !important;
  margin: 0 !important;
}

/* Cart moves one column to the right. */
#products.excom-pv--minimal .product-miniature__actions {
  grid-column: 5 !important;
  grid-row: 2 !important;
  align-self: center !important;
}

/* Keep the price centered against all three action icons. */
#products.excom-pv--minimal .product-miniature__prices {
  align-self: center !important;
}

@media (max-width: 575.98px) {
  #products.excom-pv--minimal .product-miniature__infos {
    grid-template-columns: minmax(0, 1fr) auto 30px 30px 30px !important;
  }

  #products.excom-pv--minimal .excom-card-secondary-actions {
    width: 65px !important;
    gap: 5px !important;
  }

  #products.excom-pv--minimal .excom-product-description,
  #products.excom-pv--minimal .excom-list-quickview {
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    height: 30px !important;
    min-height: 30px !important;
  }
}



/* ===== EXCOM 0.3.15: compact LIST right column =====
 * Fixes Opis / Szybki podgląd overlap and gives more width to the
 * short-description/specification area on the left.
 */

/* Narrower purchase column + smaller gap = more room for short description. */
#products.excom-pv--list .product-miniature__infos {
  grid-template-columns: minmax(0, 1fr) 176px !important;
  column-gap: 12px !important;
}

#products.excom-pv--list .product-miniature__commerce {
  width: 176px !important;
  max-width: 176px !important;
  justify-self: end !important;
  box-sizing: border-box !important;
  padding-left: 10px !important;
  padding-right: 0 !important;
}

/* Opis + Szybki podgląd fit cleanly in one compact row. */
#products.excom-pv--list .excom-card-secondary-actions {
  width: 164px !important;
  max-width: 164px !important;
  gap: 6px !important;
}

#products.excom-pv--list .excom-product-description {
  flex: 0 0 58px !important;
  width: 58px !important;
  max-width: 58px !important;
}

#products.excom-pv--list .excom-list-quickview {
  flex: 0 0 100px !important;
  width: 100px !important;
  min-width: 100px !important;
  max-width: 100px !important;
}

#products.excom-pv--list .excom-product-description,
#products.excom-pv--list .excom-list-quickview {
  padding: 0 5px !important;
  font-size: .72rem !important;
  overflow: hidden;
  text-overflow: clip;
}

#products.excom-pv--list .excom-product-description .material-icons,
#products.excom-pv--list .excom-list-quickview .material-icons {
  flex: 0 0 auto;
  font-size: 15px !important;
  margin-right: 3px !important;
}

/* Quantity + cart use exactly the same compact total width as the row above. */
#products.excom-pv--list .product-miniature__form {
  width: 164px !important;
  max-width: 164px !important;
  gap: 6px !important;
}

#products.excom-pv--list .quantity-button,
#products.excom-pv--list .quantity-button__group {
  flex: 0 0 120px !important;
  width: 120px !important;
  max-width: 120px !important;
}

#products.excom-pv--list .product-miniature__add {
  flex: 0 0 38px !important;
  width: 38px !important;
  min-width: 38px !important;
  max-width: 38px !important;
}

/* Keep the price/controls close to the right edge of the card. */
#products.excom-pv--list .product-miniature__commerce .product-miniature__prices,
#products.excom-pv--list .product-miniature__actions,
#products.excom-pv--list .excom-card-secondary-actions {
  align-self: flex-end !important;
}

/* Tablet: preserve the same principle but slightly narrower. */
@media (max-width: 1199.98px) and (min-width: 768px) {
  #products.excom-pv--list .product-miniature__infos {
    grid-template-columns: minmax(0, 1fr) 168px !important;
    column-gap: 10px !important;
  }

  #products.excom-pv--list .product-miniature__commerce {
    width: 168px !important;
    max-width: 168px !important;
    padding-left: 8px !important;
  }

  #products.excom-pv--list .excom-card-secondary-actions,
  #products.excom-pv--list .product-miniature__form {
    width: 158px !important;
    max-width: 158px !important;
  }

  #products.excom-pv--list .excom-product-description {
    flex-basis: 54px !important;
    width: 54px !important;
    max-width: 54px !important;
  }

  #products.excom-pv--list .excom-list-quickview {
    flex-basis: 98px !important;
    width: 98px !important;
    min-width: 98px !important;
    max-width: 98px !important;
  }

  #products.excom-pv--list .quantity-button,
  #products.excom-pv--list .quantity-button__group {
    flex-basis: 114px !important;
    width: 114px !important;
    max-width: 114px !important;
  }
}



/* ===== EXCOM 0.3.16: final compact LIST secondary buttons =====
 * Fix text clipping/overlap by using a shorter visible Preview label while
 * preserving the full "Quick view product..." aria-label for accessibility.
 */
#products.excom-pv--list .excom-card-secondary-actions {
  display: grid !important;
  grid-template-columns: 58px 100px !important;
  gap: 6px !important;
  width: 164px !important;
  max-width: 164px !important;
  overflow: visible !important;
}

#products.excom-pv--list .excom-product-description,
#products.excom-pv--list .excom-list-quickview {
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 5px !important;
  margin: 0 !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: clip !important;
  font-size: .76rem !important;
}

#products.excom-pv--list .excom-product-description {
  grid-column: 1 !important;
}

#products.excom-pv--list .excom-list-quickview {
  grid-column: 2 !important;
}

#products.excom-pv--list .excom-product-description .material-icons,
#products.excom-pv--list .excom-list-quickview .material-icons {
  font-size: 15px !important;
  margin-right: 3px !important;
}

/* Keep the compact purchase column close to the right edge while maximizing
 * the left specification area. */
#products.excom-pv--list .product-miniature__infos {
  grid-template-columns: minmax(0, 1fr) 176px !important;
  column-gap: 10px !important;
}

#products.excom-pv--list .product-miniature__commerce {
  width: 176px !important;
  max-width: 176px !important;
  padding-left: 8px !important;
  padding-right: 0 !important;
}

/* ===== EXCOM 0.3.17: LIST button text + vertical position ===== */
/* Restore the normal translated "Quick view" label (PL: "Szybki podgląd")
 * and keep icon/text visually tight. */
#products.excom-pv--list .product-miniature__infos {
  grid-template-columns: minmax(0, 1fr) 194px !important;
  column-gap: 10px !important;
}

#products.excom-pv--list .product-miniature__commerce {
  width: 194px !important;
  max-width: 194px !important;
  padding-left: 8px !important;
  padding-right: 0 !important;
  margin-top: 34px !important;
}

#products.excom-pv--list .excom-card-secondary-actions {
  display: grid !important;
  grid-template-columns: 54px 124px !important;
  gap: 6px !important;
  width: 184px !important;
  max-width: 184px !important;
}

#products.excom-pv--list .excom-product-description,
#products.excom-pv--list .excom-list-quickview {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  padding: 0 5px !important;
  gap: 2px !important;
  font-size: .72rem !important;
}

#products.excom-pv--list .excom-product-description .material-icons,
#products.excom-pv--list .excom-list-quickview .material-icons {
  font-size: 15px !important;
  margin: 0 !important;
}

#products.excom-pv--list .product-miniature__form {
  width: 184px !important;
  max-width: 184px !important;
  gap: 6px !important;
}

#products.excom-pv--list .quantity-button,
#products.excom-pv--list .quantity-button__group {
  flex: 0 0 140px !important;
  width: 140px !important;
  max-width: 140px !important;
}

#products.excom-pv--list .product-miniature__add {
  flex: 0 0 38px !important;
  width: 38px !important;
  min-width: 38px !important;
  max-width: 38px !important;
}

@media (max-width: 1199.98px) and (min-width: 768px) {
  #products.excom-pv--list .product-miniature__infos {
    grid-template-columns: minmax(0, 1fr) 188px !important;
  }

  #products.excom-pv--list .product-miniature__commerce {
    width: 188px !important;
    max-width: 188px !important;
    margin-top: 30px !important;
  }

  #products.excom-pv--list .excom-card-secondary-actions,
  #products.excom-pv--list .product-miniature__form {
    width: 178px !important;
    max-width: 178px !important;
  }

  #products.excom-pv--list .excom-card-secondary-actions {
    grid-template-columns: 52px 120px !important;
  }

  #products.excom-pv--list .quantity-button,
  #products.excom-pv--list .quantity-button__group {
    flex-basis: 134px !important;
    width: 134px !important;
    max-width: 134px !important;
  }
}



/* ===== EXCOM 0.3.20: product-card actions arranged by view =====
 * GRID: title/specs -> price -> Compare / Description / Quick view -> quantity + cart.
 * LIST: Compare belongs to the information column below the title; price and
 *       purchase actions remain in the compact right-hand commerce column.
 * MINIMAL: title first, Index/Condition second, then price + compact action icons.
 * Module logic is untouched. The theme only defines placement/presentation.
 */

.excom-compare-slot,
.excom-card-action-row {
  min-width: 0;
}

/* Two hook slots are rendered so one module action can live in the natural
 * place for each layout. GRID and LIST now show Compare directly below the
 * product photo; MINIMAL keeps the compact action-strip version. */
#products.excom-pv--minimal .excom-compare-slot--info,
#products.excom-pv--grid .excom-compare-slot--commerce,
#products.excom-pv--list .excom-compare-slot--commerce {
  display: none !important;
}

#products.excom-pv--grid .excom-compare-slot--info,
#products.excom-pv--list .excom-compare-slot--info,
#products.excom-pv--minimal .excom-compare-slot--commerce {
  display: flex !important;
}

/* ---------- GRID ---------- */
#products.excom-pv--grid .product-miniature__top .product-miniature__quickview-button,
#products.excom-pv--grid .product-miniature__top .product-miniature__quickview-touch {
  display: none !important;
}

#products.excom-pv--grid .excom-card-action-row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 6px !important;
  width: 100% !important;
  margin: 10px 0 8px !important;
}

#products.excom-pv--grid .excom-card-secondary-actions {
  display: flex !important;
  flex: 1 1 auto !important;
  align-items: stretch !important;
  gap: 6px !important;
  width: auto !important;
  margin: 0 !important;
}

#products.excom-pv--grid .excom-compare-slot--commerce {
  flex: 0 0 auto !important;
}

#products.excom-pv--grid .excom-compare-slot--commerce > .cdpcp-compare-btn,
#products.excom-pv--grid .excom-product-description,
#products.excom-pv--grid .excom-list-quickview {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 34px !important;
  height: 34px !important;
  margin: 0 !important;
  padding: 0 8px !important;
  border-radius: 4px !important;
  font-size: .72rem !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

#products.excom-pv--grid .excom-product-description,
#products.excom-pv--grid .excom-list-quickview {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

#products.excom-pv--grid .excom-card-action-row .material-icons {
  margin-right: 4px !important;
  font-size: 16px !important;
}

#products.excom-pv--grid .excom-compare-slot--commerce .cdpcp-compare-btn__icon {
  width: 14px !important;
  height: 14px !important;
  margin-right: 4px !important;
}

#products.excom-pv--grid .product-miniature__form {
  display: flex !important;
  align-items: stretch !important;
  gap: 6px !important;
  width: 100% !important;
}

#products.excom-pv--grid .quantity-button {
  flex: 0 0 108px !important;
  width: 108px !important;
  max-width: 108px !important;
}

#products.excom-pv--grid .product-miniature__add {
  display: inline-flex !important;
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 38px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 0 10px !important;
}

#products.excom-pv--grid .product-miniature__add-text {
  display: inline !important;
  white-space: nowrap !important;
  font-size: .78rem !important;
}

/* ---------- GRID + LIST photo compare ---------- */
#products.excom-pv--grid .product-miniature__top,
#products.excom-pv--list .product-miniature__top {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

#products.excom-pv--grid .excom-compare-slot--info,
#products.excom-pv--list .excom-compare-slot--info {
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin: 4px 0 0 !important;
}

#products.excom-pv--grid .excom-compare-slot--info > .cdpcp-compare-btn,
#products.excom-pv--list .excom-compare-slot--info > .cdpcp-compare-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 30px !important;
  margin: 0 !important;
  padding: 5px 10px !important;
  border: 1px solid #cfd6dd !important;
  border-radius: 4px !important;
  background: #fff !important;
  color: #374151 !important;
  font-size: .74rem !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
  box-shadow: none !important;
}

#products.excom-pv--grid .excom-compare-slot--info .cdpcp-compare-btn__icon,
#products.excom-pv--list .excom-compare-slot--info .cdpcp-compare-btn__icon {
  width: 13px !important;
  height: 13px !important;
  margin-right: 4px !important;
}

/* ---------- LIST ---------- */
#products.excom-pv--list .excom-product-card-heading {
  align-items: flex-start !important;
}

/* Price starts at the top of the purchase column; no artificial vertical drift. */
#products.excom-pv--list .product-miniature__commerce {
  margin-top: 0 !important;
}

#products.excom-pv--list .excom-card-action-row {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
}

/* Preserve the existing compact Opis / Szybki podgląd pair on the right. */
#products.excom-pv--list .excom-card-secondary-actions {
  margin-bottom: 8px !important;
}

/* ---------- MINIMAL ---------- */
#products.excom-pv--minimal .product-miniature__top .product-miniature__quickview-button,
#products.excom-pv--minimal .product-miniature__top .product-miniature__quickview-touch {
  display: none !important;
}

#products.excom-pv--minimal .product-miniature__infos {
  grid-template-columns: minmax(0, 1fr) auto auto auto !important;
  column-gap: 8px !important;
  row-gap: 1px !important;
  align-items: center !important;
}

/* Visual order from the mockup: title first, Index/Condition directly below. */
#products.excom-pv--minimal .excom-product-card-heading {
  grid-column: 1 !important;
  grid-row: 1 !important;
  align-self: end !important;
}

#products.excom-pv--minimal .excom-product-meta--miniature {
  grid-column: 1 !important;
  grid-row: 2 !important;
  align-self: start !important;
}

#products.excom-pv--minimal .product-miniature__prices {
  grid-column: 2 !important;
  grid-row: 1 / span 2 !important;
  align-self: center !important;
  margin: 0 !important;
}

#products.excom-pv--minimal .excom-card-action-row {
  display: flex !important;
  grid-column: 3 !important;
  grid-row: 1 / span 2 !important;
  align-items: center !important;
  gap: 5px !important;
  width: auto !important;
  margin: 0 !important;
}

#products.excom-pv--minimal .excom-card-secondary-actions {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  width: auto !important;
  margin: 0 !important;
}

#products.excom-pv--minimal .excom-compare-slot--commerce > .cdpcp-compare-btn,
#products.excom-pv--minimal .excom-product-description,
#products.excom-pv--minimal .excom-list-quickview {
  display: inline-flex !important;
  flex: 0 0 32px !important;
  width: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  height: 32px !important;
  min-height: 32px !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 4px !important;
}

#products.excom-pv--minimal .excom-compare-slot--commerce .cdpcp-compare-btn__text,
#products.excom-pv--minimal .excom-product-description span,
#products.excom-pv--minimal .excom-list-quickview span {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

#products.excom-pv--minimal .excom-compare-slot--commerce .cdpcp-compare-btn__icon {
  width: 14px !important;
  height: 14px !important;
  margin: 0 !important;
}

#products.excom-pv--minimal .excom-product-description .material-icons,
#products.excom-pv--minimal .excom-list-quickview .material-icons {
  margin: 0 !important;
  font-size: 18px !important;
}

#products.excom-pv--minimal .product-miniature__actions {
  display: block !important;
  grid-column: 4 !important;
  grid-row: 1 / span 2 !important;
  width: auto !important;
  margin: 0 !important;
  align-self: center !important;
}

#products.excom-pv--minimal .product-miniature__form {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  width: auto !important;
  margin: 0 !important;
}

/* Minimal quantity: keep only the numeric field. Increment/decrement controls
 * are intentionally hidden to retain the one-row compact presentation. */
#products.excom-pv--minimal .quantity-button {
  display: block !important;
  flex: 0 0 42px !important;
  width: 42px !important;
  max-width: 42px !important;
}

#products.excom-pv--minimal .quantity-button__group {
  display: flex !important;
  width: 42px !important;
  max-width: 42px !important;
}

#products.excom-pv--minimal .quantity-button__group > .btn,
#products.excom-pv--minimal .quantity-button__group .input-group-text,
#products.excom-pv--minimal .quantity-button__group [data-action="increment"],
#products.excom-pv--minimal .quantity-button__group [data-action="decrement"] {
  display: none !important;
}

#products.excom-pv--minimal .quantity-button__group .form-control {
  display: block !important;
  width: 42px !important;
  min-width: 42px !important;
  max-width: 42px !important;
  height: 32px !important;
  min-height: 32px !important;
  padding: 0 4px !important;
  text-align: center !important;
  border-radius: 4px !important;
}

#products.excom-pv--minimal .product-miniature__add {
  display: inline-flex !important;
  flex: 0 0 32px !important;
  width: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  height: 32px !important;
  min-height: 32px !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
}

#products.excom-pv--minimal .product-miniature__add-text {
  display: none !important;
}

@media (max-width: 991.98px) {
  #products.excom-pv--grid .excom-card-action-row {
    gap: 5px !important;
  }

  #products.excom-pv--grid .excom-compare-slot--commerce > .cdpcp-compare-btn,
  #products.excom-pv--grid .excom-product-description,
  #products.excom-pv--grid .excom-list-quickview {
    padding-inline: 6px !important;
    font-size: .68rem !important;
  }
}

@media (max-width: 767.98px) {
  #products.excom-pv--list .excom-compare-slot--info {
    margin-top: 3px !important;
  }

  #products.excom-pv--list .product-miniature__commerce {
    margin-top: 0 !important;
  }
}

@media (max-width: 575.98px) {
  #products.excom-pv--minimal .product-miniature__infos {
    grid-template-columns: minmax(0, 1fr) auto !important;
    row-gap: 5px !important;
  }

  #products.excom-pv--minimal .excom-product-card-heading,
  #products.excom-pv--minimal .excom-product-meta--miniature {
    grid-column: 1 !important;
  }

  #products.excom-pv--minimal .product-miniature__prices {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
  }

  #products.excom-pv--minimal .excom-card-action-row {
    grid-column: 1 !important;
    grid-row: 3 !important;
  }

  #products.excom-pv--minimal .product-miniature__actions {
    grid-column: 2 !important;
    grid-row: 3 !important;
  }
}

/* ===== EXCOM 0.3.21: one Compare action per view + balanced action row =====
 * Product Comparison Plus may expose the same action through more than one
 * placement on listing cards. Keep exactly the theme-owned slot intended for
 * the active Excom product view and suppress any duplicate rendering.
 */

/* GRID: only the comparison button below the product image is allowed. */
#products.excom-pv--grid .product-miniature .cdpcp-compare-btn {
  display: none !important;
}
#products.excom-pv--grid .product-miniature .excom-compare-slot--info > .cdpcp-compare-btn {
  display: inline-flex !important;
}

/* LIST: only the comparison button below the product image is allowed. */
#products.excom-pv--list .product-miniature .cdpcp-compare-btn {
  display: none !important;
}
#products.excom-pv--list .product-miniature .excom-compare-slot--info > .cdpcp-compare-btn {
  display: inline-flex !important;
}

/* MINIMAL: only the compact comparison icon in the action strip. */
#products.excom-pv--minimal .product-miniature .cdpcp-compare-btn {
  display: none !important;
}
#products.excom-pv--minimal .product-miniature .excom-compare-slot--commerce > .cdpcp-compare-btn {
  display: inline-flex !important;
}

/* GRID: three auxiliary actions should read as one balanced row:
 * Compare | Description | Quick view. */
#products.excom-pv--grid .excom-compare-slot--commerce {
  flex: 1 1 0 !important;
  min-width: 0 !important;
}
#products.excom-pv--grid .excom-compare-slot--commerce > .cdpcp-compare-btn {
  width: 100% !important;
  max-width: none !important;
  justify-content: center !important;
}
#products.excom-pv--grid .excom-card-secondary-actions {
  flex: 2 1 0 !important;
  min-width: 0 !important;
}
#products.excom-pv--grid .excom-card-secondary-actions > .excom-product-description,
#products.excom-pv--grid .excom-card-secondary-actions > .excom-list-quickview {
  flex: 1 1 0 !important;
  width: 0 !important;
  min-width: 0 !important;
}

/* Keep LIST purchase column clean: price -> Description/Quick view -> qty/cart. */
#products.excom-pv--list .product-miniature__commerce > .cdpcp-compare-btn,
#products.excom-pv--list .product-miniature__commerce .excom-card-action-row > .cdpcp-compare-btn {
  display: none !important;
}

/* Minimal mode: prevent a stray duplicate + from reserving visual space. */
#products.excom-pv--minimal .excom-product-card-heading > .cdpcp-compare-btn,
#products.excom-pv--minimal .product-miniature__prices + .cdpcp-compare-btn {
  display: none !important;
}

/* ===== EXCOM 0.3.22: tighter GRID image-to-title spacing =====
 * The scaled product image may contain empty canvas below the visible laptop.
 * Pull the information block upward only in GRID view so the title sits
 * visually closer to the product image. LIST and MINIMAL are untouched.
 */
#products.excom-pv--grid .product-miniature__bottom {
  padding-top: 0 !important;
  margin-top: -42px !important;
  position: relative;
  z-index: 1;
}

@media (max-width: 991.98px) {
  #products.excom-pv--grid .product-miniature__bottom {
    margin-top: -34px !important;
  }
}

@media (max-width: 575.98px) {
  #products.excom-pv--grid .product-miniature__bottom {
    margin-top: -24px !important;
  }
}


/* ===== EXCOM 0.3.23: Compare below image in GRID and LIST =====
 * Both views now place Compare under the product photo with a tight top gap,
 * so the button stays visually attached to the media instead of floating near
 * the title or commerce column.
 */
#products.excom-pv--grid .product-miniature__top .excom-compare-slot--info,
#products.excom-pv--list .product-miniature__top .excom-compare-slot--info {
  min-height: 30px;
}


/* ===== EXCOM 0.3.24: final Compare placement under photo =====
 * GRID: move Compare into the empty lower part of the product image canvas and
 * let the title follow 8-10 px below it. This avoids the previous overlap with
 * the title caused by the old -42 px bottom pull-up.
 * LIST: move Compare visually close to the lower edge of the product photo.
 */
#products.excom-pv--grid .product-miniature__top .excom-compare-slot--info {
  margin-top: -56px !important;
  margin-bottom: 8px !important;
  position: relative !important;
  z-index: 3 !important;
}

#products.excom-pv--grid .product-miniature__bottom {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

#products.excom-pv--list .product-miniature__top .excom-compare-slot--info {
  margin-top: -42px !important;
  margin-bottom: 0 !important;
  position: relative !important;
  z-index: 3 !important;
}

@media (max-width: 991.98px) {
  #products.excom-pv--grid .product-miniature__top .excom-compare-slot--info {
    margin-top: -46px !important;
    margin-bottom: 7px !important;
  }

  #products.excom-pv--list .product-miniature__top .excom-compare-slot--info {
    margin-top: -34px !important;
  }

  #products.excom-pv--grid .product-miniature__bottom {
    margin-top: 0 !important;
  }
}

@media (max-width: 575.98px) {
  #products.excom-pv--grid .product-miniature__top .excom-compare-slot--info {
    margin-top: -30px !important;
    margin-bottom: 6px !important;
  }

  #products.excom-pv--list .product-miniature__top .excom-compare-slot--info {
    margin-top: -22px !important;
  }

  #products.excom-pv--grid .product-miniature__bottom {
    margin-top: 0 !important;
  }
}


/* ===== EXCOM 0.3.25: grid/list/minimal fine-tuning =====
 * - GRID: restore visible quantity value and align price to the right edge.
 * - LIST: lower the right commerce column slightly for better balance.
 * - MINIMAL: move Compare/Description/Quick view above the title and keep
 *   the price vertically centered between the top and bottom edges.
 */

/* GRID */
#products.excom-pv--grid .quantity-button__group,
#products.excom-pv--grid .quantity-button__group .form-control {
  background: #fff !important;
}

#products.excom-pv--grid .quantity-button__group .form-control {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 6px !important;
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
  opacity: 1 !important;
  text-align: center !important;
  font-size: .9rem !important;
  font-weight: 600 !important;
  line-height: 38px !important;
  border-radius: 4px !important;
}

#products.excom-pv--grid .product-miniature__prices {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
  width: 100% !important;
  margin: 0 0 8px auto !important;
  text-align: right !important;
}

#products.excom-pv--grid .product-miniature__price,
#products.excom-pv--grid .product-miniature__discount-price,
#products.excom-pv--grid .product-miniature__regular-price,
#products.excom-pv--grid .excom-product-location--miniature {
  width: 100% !important;
  text-align: right !important;
}

/* LIST */
#products.excom-pv--list .product-miniature__commerce {
  margin-top: 24px !important;
}

@media (max-width: 1199.98px) {
  #products.excom-pv--list .product-miniature__commerce {
    margin-top: 18px !important;
  }
}

@media (max-width: 767.98px) {
  #products.excom-pv--list .product-miniature__commerce {
    margin-top: 12px !important;
  }
}

/* MINIMAL */
#products.excom-pv--minimal .product-miniature__infos {
  grid-template-columns: minmax(0, 1fr) auto auto !important;
  column-gap: 10px !important;
  row-gap: 4px !important;
  align-items: center !important;
}

#products.excom-pv--minimal .excom-card-action-row {
  grid-column: 1 !important;
  grid-row: 1 !important;
  align-self: center !important;
  justify-self: start !important;
  margin: 0 0 2px 0 !important;
}

#products.excom-pv--minimal .excom-product-card-heading {
  grid-column: 1 !important;
  grid-row: 2 !important;
  align-self: start !important;
}

#products.excom-pv--minimal .excom-product-meta--miniature {
  grid-column: 1 !important;
  grid-row: 3 !important;
  align-self: start !important;
}

#products.excom-pv--minimal .product-miniature__prices {
  grid-column: 2 !important;
  grid-row: 1 / span 3 !important;
  align-self: center !important;
  justify-self: end !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  min-height: 100% !important;
  margin: 0 !important;
  text-align: right !important;
}

#products.excom-pv--minimal .product-miniature__price,
#products.excom-pv--minimal .product-miniature__discount-price,
#products.excom-pv--minimal .product-miniature__regular-price {
  text-align: right !important;
}

#products.excom-pv--minimal .product-miniature__actions {
  grid-column: 3 !important;
  grid-row: 1 / span 3 !important;
  align-self: center !important;
}

@media (max-width: 575.98px) {
  #products.excom-pv--minimal .product-miniature__infos {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  #products.excom-pv--minimal .excom-card-action-row {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  #products.excom-pv--minimal .product-miniature__prices {
    grid-column: 2 !important;
    grid-row: 1 / span 3 !important;
  }

  #products.excom-pv--minimal .product-miniature__actions {
    grid-column: 2 !important;
    grid-row: 4 !important;
    justify-self: end !important;
  }

  #products.excom-pv--minimal .excom-product-card-heading {
    grid-row: 2 !important;
  }

  #products.excom-pv--minimal .excom-product-meta--miniature {
    grid-row: 3 !important;
  }
}


/* ===== EXCOM 0.3.26: GRID cart height + MINIMAL price/action alignment ===== */

/* GRID: keep quantity in one horizontal row so Add to cart never stretches vertically. */
#products.excom-pv--grid .product-miniature__form {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 6px !important;
  width: 100% !important;
}

#products.excom-pv--grid .quantity-button {
  flex: 0 0 108px !important;
  width: 108px !important;
  min-width: 108px !important;
  max-width: 108px !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
}

#products.excom-pv--grid .quantity-button__group {
  display: grid !important;
  grid-template-columns: 34px 40px 34px !important;
  grid-template-rows: 38px !important;
  width: 108px !important;
  min-width: 108px !important;
  max-width: 108px !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  flex-wrap: nowrap !important;
}

#products.excom-pv--grid .quantity-button__group > .btn,
#products.excom-pv--grid .quantity-button__group .form-control {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 38px !important;
  box-sizing: border-box !important;
}

#products.excom-pv--grid .product-miniature__add {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* MINIMAL: price shares the same row as quantity + cart and is vertically centered to them. */
#products.excom-pv--minimal .product-miniature__prices {
  grid-column: 2 !important;
  grid-row: 4 !important;
  align-self: center !important;
  justify-self: end !important;
  min-height: 32px !important;
  height: 32px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 5px !important;
  margin: 0 !important;
  line-height: 32px !important;
}

#products.excom-pv--minimal .product-miniature__price,
#products.excom-pv--minimal .product-miniature__discount-price,
#products.excom-pv--minimal .product-miniature__regular-price {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 32px !important;
  margin: 0 !important;
  line-height: 1.1 !important;
}

#products.excom-pv--minimal .product-miniature__actions {
  grid-column: 3 !important;
  grid-row: 4 !important;
  align-self: center !important;
  justify-self: end !important;
  margin: 0 !important;
}

@media (max-width: 575.98px) {
  #products.excom-pv--minimal .product-miniature__prices {
    grid-column: 1 !important;
    grid-row: 4 !important;
    justify-self: end !important;
  }

  #products.excom-pv--minimal .product-miniature__actions {
    grid-column: 2 !important;
    grid-row: 4 !important;
    justify-self: end !important;
  }
}


/* ===== EXCOM 0.3.27: MINIMAL title / price / purchase controls on one axis =====
 * Keep Compare / Description / Quick view above the title. The product title,
 * current price and quantity/cart controls now share the same visual row.
 */
#products.excom-pv--minimal .excom-product-card-heading {
  grid-column: 1 !important;
  grid-row: 2 !important;
  align-self: center !important;
}

#products.excom-pv--minimal .product-miniature__prices {
  grid-column: 2 !important;
  grid-row: 2 !important;
  align-self: center !important;
  justify-self: end !important;
  min-height: 32px !important;
  height: 32px !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

#products.excom-pv--minimal .product-miniature__actions {
  grid-column: 3 !important;
  grid-row: 2 !important;
  align-self: center !important;
  justify-self: end !important;
  margin: 0 !important;
}

#products.excom-pv--minimal .excom-product-meta--miniature {
  grid-column: 1 !important;
  grid-row: 3 !important;
  align-self: start !important;
}

@media (max-width: 575.98px) {
  #products.excom-pv--minimal .product-miniature__infos {
    grid-template-columns: minmax(0, 1fr) auto auto !important;
  }

  #products.excom-pv--minimal .excom-product-card-heading {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  #products.excom-pv--minimal .product-miniature__prices {
    grid-column: 2 !important;
    grid-row: 2 !important;
  }

  #products.excom-pv--minimal .product-miniature__actions {
    grid-column: 3 !important;
    grid-row: 2 !important;
  }

  #products.excom-pv--minimal .excom-product-meta--miniature {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
  }
}


/* ===== EXCOM 0.3.28: product-page media alignment + Compare =====
 * Keep the product media anchored to the upper-left of its column and place
 * the comparison action immediately below the main image. Listing layouts are
 * unaffected.
 */
.page-product .product__container {
  align-items: start !important;
}

.page-product .product__left {
  align-self: start !important;
  justify-self: start !important;
  width: 100% !important;
  margin-top: -18px !important;
}

.page-product .product__images {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

.page-product .product__carousel {
  width: 97% !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

.page-product .product__carousel .carousel-inner,
.page-product .product__carousel .carousel-item,
.page-product .product__carousel picture {
  text-align: left !important;
}

.page-product .product__carousel .carousel-item img {
  margin-left: 0 !important;
  margin-right: auto !important;
}

.page-product .excom-product-page-compare {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  width: 97% !important;
  margin: 6px 0 6px 0 !important;
  min-height: 30px !important;
}

.page-product .excom-product-page-compare > .cdpcp-compare-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-height: 32px !important;
  margin: 0 !important;
  padding: 5px 10px !important;
  border: 1px solid #cfd6dd !important;
  border-radius: 4px !important;
  background: #fff !important;
  color: #374151 !important;
  font-size: .78rem !important;
  line-height: 1.1 !important;
  box-shadow: none !important;
}

.page-product .excom-product-page-compare .cdpcp-compare-btn__icon {
  width: 14px !important;
  height: 14px !important;
  margin-right: 5px !important;
}

.page-product .product__thumbnails {
  margin-top: 8px !important;
}

@media (max-width: 991.98px) {
  .page-product .product__left {
    margin-top: -10px !important;
  }

  .page-product .product__carousel,
  .page-product .excom-product-page-compare {
    width: 100% !important;
  }
}


/* ===== EXCOM 0.3.29: functional product-page Compare + stronger media alignment =====
 * The comparison module initializes its button only inside product-actions.
 * excom.js moves that initialized live button to the target below the image.
 */
.page-product .excom-product-page-compare-source {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.page-product .product__left {
  margin-top: -34px !important;
}

.page-product .product__carousel {
  width: calc(100% + 18px) !important;
  max-width: none !important;
  margin-top: -18px !important;
  margin-left: -18px !important;
  margin-right: 0 !important;
}

.page-product .product__carousel .carousel-item img {
  object-position: left top !important;
}

.page-product .excom-product-page-compare {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  min-height: 34px !important;
  margin: 6px 0 8px 0 !important;
}

.page-product .excom-product-page-compare:empty {
  min-height: 0 !important;
  margin: 0 !important;
}

.page-product .excom-product-page-compare > .cdpcp-compare-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  max-width: none !important;
  min-height: 32px !important;
  margin: 0 !important;
  padding: 5px 10px !important;
}

@media (max-width: 991.98px) {
  .page-product .product__left {
    margin-top: -18px !important;
  }
  .page-product .product__carousel {
    width: calc(100% + 10px) !important;
    margin-top: -10px !important;
    margin-left: -10px !important;
  }
}


/* ===== EXCOM 0.3.29: real product-page media correction =====
 * The source product image contains a large white canvas, so moving the outer
 * column did not visibly move the laptop. Crop that canvas on desktop and
 * translate the actual image upward/left. Use the module's native product-page
 * comparison hook below the visible main image. */
@media (min-width: 992px) {
  .page-product .product__left {
    margin-top: -10px !important;
  }

  .page-product .product__carousel {
    width: 100% !important;
    height: clamp(410px, 42vw, 515px) !important;
    overflow: hidden !important;
    margin: 0 !important;
  }

  .page-product .product__carousel .carousel-inner,
  .page-product .product__carousel .carousel-item,
  .page-product .product__carousel picture {
    height: 100% !important;
    overflow: hidden !important;
  }

  .page-product .product__carousel .carousel-item img {
    width: 106% !important;
    max-width: none !important;
    height: auto !important;
    transform: translate(-4%, -9%) !important;
    transform-origin: top left !important;
    margin: 0 !important;
  }

  .page-product .excom-product-page-compare {
    width: 100% !important;
    min-height: 32px !important;
    margin: 6px 0 10px 0 !important;
    justify-content: flex-start !important;
  }
}

/* Native product-page comparison button used in the media column. */
.page-product .excom-product-page-compare .cdpcp-compare-btn {
  display: inline-flex !important;
  width: auto !important;
  max-width: none !important;
  min-height: 32px !important;
  margin: 0 !important;
  padding: 5px 10px !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid #cfd6dd !important;
  border-radius: 4px !important;
  background: #fff !important;
  color: #374151 !important;
  box-shadow: none !important;
}

/* Avoid a second comparison button in the normal right-hand additional-info hook. */
.page-product .product__right .product__additional-info .cdpcp-compare-btn {
  display: none !important;
}

@media (max-width: 991.98px) {
  .page-product .product__carousel {
    height: auto !important;
    overflow: hidden !important;
  }
  .page-product .product__carousel .carousel-item img {
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
  }
  .page-product .excom-product-page-compare {
    margin: 6px 0 10px 0 !important;
  }
}


/* ===== EXCOM 0.3.30: effective product image + native compare source ===== */
@media (min-width: 992px) {
  body.page-product .product__left .product__carousel {
    height: clamp(390px, 40vw, 490px) !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    overflow: hidden !important;
  }

  body.page-product .product__left .product__carousel .carousel-inner,
  body.page-product .product__left .product__carousel .carousel-item,
  body.page-product .product__left .product__carousel picture {
    height: 100% !important;
    overflow: hidden !important;
  }

  body.page-product .product__left .product__carousel .carousel-item img {
    width: 108% !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    transform: translate(-3%, -12%) !important;
    transform-origin: top left !important;
  }

  body.page-product .product__left {
    margin-top: -14px !important;
  }

  body.page-product .excom-product-page-compare {
    margin: 5px 0 8px 0 !important;
    width: 100% !important;
    justify-content: flex-start !important;
  }
}

/* The source stays invisible; the initialized live button is moved by excom.js. */
.page-product .excom-product-page-compare-source {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.page-product .excom-product-page-compare .cdpcp-compare-btn {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}


/* ===== EXCOM 0.3.31: product Compare under cart + thumbnails under image =====
 * Gallery stays semantically clean: main image -> thumbnails.
 * The comparison action belongs to the commerce column, directly below the
 * quantity/add-to-cart row and above product sharing/additional information.
 */
.page-product .product__thumbnails {
  margin-top: 10px !important;
  margin-bottom: 0 !important;
}

.page-product .product__add-to-cart-container .excom-product-page-compare {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  min-height: 40px !important;
  margin: 8px 0 0 0 !important;
}

.page-product .product__add-to-cart-container .excom-product-page-compare:empty {
  min-height: 0 !important;
  margin: 0 !important;
}

.page-product .product__add-to-cart-container .excom-product-page-compare > .cdpcp-compare-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 40px !important;
  height: 40px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 1px solid var(--bs-primary, #0d6efd) !important;
  border-radius: 4px !important;
  background: #fff !important;
  color: var(--bs-primary, #0d6efd) !important;
  font-size: .88rem !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

.page-product .product__add-to-cart-container .excom-product-page-compare > .cdpcp-compare-btn:hover,
.page-product .product__add-to-cart-container .excom-product-page-compare > .cdpcp-compare-btn:focus-visible {
  background: rgba(var(--bs-primary-rgb, 13, 110, 253), .06) !important;
}

.page-product .product__add-to-cart-container .excom-product-page-compare .cdpcp-compare-btn__icon {
  width: 16px !important;
  height: 16px !important;
  margin-right: 7px !important;
}

/* Old media-column rules are intentionally neutralized for the new target. */
.page-product .product__left > .excom-product-page-compare,
.page-product .product__images > .excom-product-page-compare {
  display: none !important;
}


/* ===== EXCOM 0.3.32: unified cards in module product sections =====
 * Covers homepage blocks (Latest arrivals, Special deals, etc.) and product
 * recommendation blocks (accessories/category products/cross-selling) that use
 * components/module-products.tpl. The same product miniature is kept, but the
 * card receives the listing-style short-description slot and one Compare action.
 */

.module-products .product-miniature {
  min-width: 0;
}

/* Keep one Compare button only: directly under the image. */
.module-products .product-miniature .cdpcp-compare-btn {
  display: none !important;
}

.module-products .product-miniature .excom-compare-slot--info > .cdpcp-compare-btn {
  display: inline-flex !important;
}

.module-products .product-miniature .excom-compare-slot--info {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin: 5px 0 7px !important;
}

.module-products .product-miniature .excom-compare-slot--commerce {
  display: none !important;
}

/* Hide the original image-overlay quick view; use the explicit action row. */
.module-products .product-miniature__top .product-miniature__quickview-button,
.module-products .product-miniature__top .product-miniature__quickview-touch {
  display: none !important;
}

/* Short description/features: same logical position as category GRID cards. */
.module-products .excom-product-card-before-price {
  display: block !important;
  width: 100% !important;
  margin: 7px 0 8px !important;
}

.module-products .excom-product-card-before-price .exsd-short-features {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  font-size: .78rem !important;
  line-height: 1.35 !important;
}

.module-products .excom-product-card-before-price .exsd-short-features > * {
  margin-top: 0 !important;
  margin-bottom: 2px !important;
}


/* Module cards get the same compact Description / Quick view action pair. */
.module-products .excom-card-action-row {
  display: block !important;
  width: 100% !important;
  margin: 8px 0 !important;
}

.module-products .excom-card-secondary-actions {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 6px !important;
  width: 100% !important;
  margin: 0 !important;
}

.module-products .excom-product-description,
.module-products .excom-list-quickview {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  min-height: 34px !important;
  height: 34px !important;
  padding: 0 7px !important;
  font-size: .7rem !important;
  white-space: nowrap !important;
}

.module-products .excom-product-description .material-icons,
.module-products .excom-list-quickview .material-icons {
  margin-right: 4px !important;
  font-size: 15px !important;
}

/* Keep price and purchase controls compact and consistent. */
.module-products .product-miniature__prices {
  width: 100% !important;
  margin-top: 4px !important;
}

.module-products .product-miniature__form {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  gap: 6px !important;
  width: 100% !important;
}

.module-products .quantity-button {
  flex: 0 0 108px !important;
  width: 108px !important;
  max-width: 108px !important;
}

.module-products .quantity-button__group {
  display: flex !important;
  flex-wrap: nowrap !important;
  width: 108px !important;
  max-width: 108px !important;
}

.module-products .quantity-button__group .form-control {
  min-width: 0 !important;
  text-align: center !important;
}

.module-products .product-miniature__add {
  flex: 1 1 auto !important;
  min-width: 38px !important;
  min-height: 38px !important;
}

@media (max-width: 767.98px) {
  .module-products .excom-card-secondary-actions {
    grid-template-columns: 1fr !important;
  }

  .module-products .quantity-button {
    flex-basis: 96px !important;
    width: 96px !important;
    max-width: 96px !important;
  }

  .module-products .quantity-button__group {
    width: 96px !important;
    max-width: 96px !important;
  }
}


/* ===== EXCOM 0.3.33: tighter module-product compare spacing ===== */
.module-products .product-miniature__top {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.module-products .product-miniature__top .product-miniature__image-container,
.module-products .product-miniature__top .thumbnail-container,
.module-products .product-miniature__top .product-miniature__image-link {
  margin-bottom: 0 !important;
}

.module-products .product-miniature .excom-compare-slot--info {
  margin: 1px 0 5px !important;
}






/* ===== EXCOM 0.3.34: tighten compare spacing in Viewed products / Same category / module blocks ===== */
.module-products .product-miniature__top {
  gap: 0 !important;
}

.module-products .product-miniature__top .thumbnail-container,
.module-products .product-miniature__top .product-miniature__image-container,
.module-products .product-miniature__top .product-miniature__image-link,
.module-products .product-miniature__top picture,
.module-products .product-miniature__top .product-miniature__image {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.module-products .product-miniature .excom-compare-slot--info {
  margin-top: -10px !important;
  margin-bottom: 4px !important;
}

.ps-viewedproduct .module-products .product-miniature .excom-compare-slot--info,
.ps-categoryproducts .module-products .product-miniature .excom-compare-slot--info,
.product__accessories .module-products .product-miniature .excom-compare-slot--info {
  margin-top: -12px !important;
  margin-bottom: 3px !important;
}


/* ===== EXCOM 0.3.35: JS-assisted module-card compare spacing support ===== */
.module-products .product-miniature__top {
  overflow: visible !important;
}

.module-products .product-miniature__top .product-miniature__image-container,
.module-products .product-miniature__top .thumbnail-container,
.module-products .product-miniature__top .product-miniature__image-link,
.module-products .product-miniature__top picture {
  height: auto !important;
  min-height: 0 !important;
}

.module-products .product-miniature .excom-compare-slot--info {
  transition: margin-top .15s ease !important;
}


/* ===== EXCOM 0.3.36: visible quantity value in module product cards ===== */
.module-products .quantity-button__group .form-control,
.module-products input[name="qty"],
.module-products input[type="number"] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
  caret-color: #111827 !important;
  background: #fff !important;
  text-align: center !important;
  font-size: .9rem !important;
  font-weight: 600 !important;
  line-height: 38px !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 4px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.module-products .quantity-button__group {
  align-items: stretch !important;
  background: #fff !important;
}

.module-products .quantity-button__group .btn {
  height: 38px !important;
  min-height: 38px !important;
}

/* Same safeguard for category GRID quantity inputs. */
#products.excom-pv--grid .quantity-button__group .form-control,
#products.excom-pv--grid input[name="qty"],
#products.excom-pv--grid input[type="number"] {
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
  opacity: 1 !important;
  background: #fff !important;
}

/* ===== EXCOM 0.3.39: short description fully controlled by module =====
 * Legacy theme fallback classes were removed. The theme only provides the
 * displayProductPriceBlock slot and section context; excomshortdescription
 * decides whether and what to render.
 */



/* ===== EXCOM 0.3.45: compact technical data table =====
 * Make the "Dane techniczne" specification closer to the old Excom layout:
 * smaller text and slightly tighter rows, without changing the content/HTML.
 */
.page-product .details__item--feature {
  font-size: 13px !important;
  line-height: 1.35 !important;
  padding: .62rem .85rem !important;
}

.page-product .details__item--feature .details__title {
  font-size: 13px !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
}

.page-product .details__item--feature .details__right,
.page-product .details__item--feature .details__right span {
  font-size: 13px !important;
  line-height: 1.35 !important;
}

/* Keep the two columns visually balanced like on the old store. */
.page-product .details__item--feature .details__left,
.page-product .details__item--feature .details__right {
  min-width: 0;
}

@media (max-width: 767.98px) {
  .page-product .details__item--feature,
  .page-product .details__item--feature .details__title,
  .page-product .details__item--feature .details__right,
  .page-product .details__item--feature .details__right span {
    font-size: 12.5px !important;
  }

  .page-product .details__item--feature {
    padding: .55rem .7rem !important;
  }
}



/* ===== EXCOM 0.3.46: product main image – show the whole image =====
 * Older Excom rules intentionally cropped the 720x720 product image by using
 * a fixed-height viewport plus translate/zoom. That could cut off the laptop
 * at the bottom. This override keeps the image large, but always contains the
 * complete source image inside the gallery.
 */
@media (min-width: 992px) {
  body.page-product .product__left .product__carousel {
    width: 100% !important;
    height: clamp(500px, 36vw, 585px) !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  body.page-product .product__left .product__carousel .carousel-inner,
  body.page-product .product__left .product__carousel .carousel-item,
  body.page-product .product__left .product__carousel picture {
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
  }

  body.page-product .product__left .product__carousel .carousel-item img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    margin: 0 !important;
    transform: none !important;
    object-fit: contain !important;
    object-position: left center !important;
  }
}

@media (max-width: 991.98px) {
  body.page-product .product__left .product__carousel {
    height: auto !important;
    overflow: hidden !important;
  }

  body.page-product .product__left .product__carousel .carousel-item img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    transform: none !important;
    object-fit: contain !important;
  }
}



/* ===== EXCOM 0.3.47: centered product image + no-brand title alignment ===== */

/* Main product image: center the complete image inside the gallery area. */
@media (min-width: 992px) {
  body.page-product .product__left .product__carousel .carousel-item img {
    object-position: center center !important;
    margin-inline: auto !important;
  }
}

/* If the product has no manufacturer/brand, do not reserve the 52 px logo
 * column. The textual H1 starts at the normal left edge of the product info. */
.page-product .excom-product-heading--no-brand {
  grid-template-columns: minmax(0, 1fr) !important;
  column-gap: 0 !important;
}

.page-product .excom-product-heading--no-brand > .product__name {
  grid-column: 1 !important;
  margin-left: 0 !important;
}

/* Same behavior in Quick View. */
.page-product--quickview .excom-product-heading--no-brand {
  grid-template-columns: minmax(0, 1fr) !important;
  column-gap: 0 !important;
}

.page-product--quickview .excom-product-heading--no-brand > .product__name {
  grid-column: 1 !important;
  margin-left: 0 !important;
}



/* ===== EXCOM 0.3.48: dedicated 3:2 product-card media =====
 * Works with PrestaShop image types:
 *   excom_card    = 480x320
 *   excom_card_2x = 960x640
 *
 * This avoids the large empty top/bottom area caused by square card images.
 */

/* Category GRID and module cards (Latest arrivals, Special deals,
 * Same category, Viewed products, accessories, etc.). */
#products.excom-pv--grid .product-miniature__top .product-miniature__image-container,
.module-products .product-miniature__top .product-miniature__image-container {
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  aspect-ratio: 3 / 2 !important;
  margin: 0 auto !important;
  overflow: hidden !important;
}

#products.excom-pv--grid .product-miniature__top .product-miniature__image-link,
.module-products .product-miniature__top .product-miniature__image-link,
#products.excom-pv--grid .product-miniature__top picture,
.module-products .product-miniature__top picture {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

#products.excom-pv--grid .product-miniature__top .product-miniature__image,
.module-products .product-miniature__top .product-miniature__image {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
}

/* Do not pull Compare upward into the media area. With the 3:2 image the
 * button can sit normally below the image without colliding with content. */
.module-products .product-miniature .excom-compare-slot--info,
.ps-viewedproduct .module-products .product-miniature .excom-compare-slot--info,
.ps-categoryproducts .module-products .product-miniature .excom-compare-slot--info,
.product__accessories .module-products .product-miniature .excom-compare-slot--info {
  margin-top: 4px !important;
  margin-bottom: 5px !important;
}

/* Keep the information section clearly below the image/action area. */
.module-products .product-miniature__bottom {
  position: relative !important;
  z-index: 1 !important;
  margin-top: 0 !important;
}

/* On phones, keep a slightly taller media area for readability. */
@media (max-width: 575.98px) {
  #products.excom-pv--grid .product-miniature__top .product-miniature__image-container,
  .module-products .product-miniature__top .product-miniature__image-container {
    aspect-ratio: 4 / 3 !important;
  }
}



/* ===== EXCOM 0.3.49: product-card image alignment + Compare spacing =====
 * Keeps the new 3:2 card images, but restores sensible sizing in GRID,
 * gives LIST a stable 3:2 media box, and permanently removes old negative
 * Compare margins that pulled the button over the photo.
 */

/* ---------- GRID: smaller, centered 3:2 image ---------- */
#products.excom-pv--grid .product-miniature__top {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
}

#products.excom-pv--grid .product-miniature__top .product-miniature__image-container,
#products.excom-pv--grid .product-miniature__top .thumbnail-container {
  width: var(--excom-pv-grid-image-scale, 67%) !important;
  max-width: 480px !important;
  height: auto !important;
  aspect-ratio: 3 / 2 !important;
  margin: 0 auto !important;
  overflow: hidden !important;
}

#products.excom-pv--grid .product-miniature__top .product-miniature__image-link,
#products.excom-pv--grid .product-miniature__top picture {
  display: flex !important;
  width: 100% !important;
  height: 100% !important;
  align-items: center !important;
  justify-content: center !important;
}

#products.excom-pv--grid .product-miniature__top .product-miniature__image,
#products.excom-pv--grid .product-miniature__top img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
}

/* ---------- LIST: stable centered 3:2 media area ---------- */
#products.excom-pv--list .product-miniature__top {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
  min-width: 0 !important;
}

#products.excom-pv--list .product-miniature__top .product-miniature__image-container,
#products.excom-pv--list .product-miniature__top .thumbnail-container {
  width: 100% !important;
  max-width: 221px !important;
  height: auto !important;
  aspect-ratio: 3 / 2 !important;
  margin: 0 auto !important;
  overflow: hidden !important;
}

#products.excom-pv--list .product-miniature__top .product-miniature__image-link,
#products.excom-pv--list .product-miniature__top picture {
  display: flex !important;
  width: 100% !important;
  height: 100% !important;
  align-items: center !important;
  justify-content: center !important;
}

#products.excom-pv--list .product-miniature__top .product-miniature__image,
#products.excom-pv--list .product-miniature__top img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
}

/* ---------- Compare: NEVER overlap the image ---------- */
#products.excom-pv--grid .product-miniature__top .excom-compare-slot--info,
#products.excom-pv--list .product-miniature__top .excom-compare-slot--info,
.module-products .product-miniature__top .excom-compare-slot--info,
.ps-viewedproduct .module-products .product-miniature__top .excom-compare-slot--info,
.ps-categoryproducts .module-products .product-miniature__top .excom-compare-slot--info,
.product__accessories .module-products .product-miniature__top .excom-compare-slot--info {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  z-index: auto !important;
  width: 100% !important;
  min-height: 30px !important;
  margin: 10px 0 9px !important;
  padding: 0 !important;
  justify-content: center !important;
  align-items: center !important;
}

/* A little extra breathing room before product text in Grid/module cards. */
#products.excom-pv--grid .product-miniature__bottom,
.module-products .product-miniature__bottom {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Tablet/mobile: keep images proportional without becoming too large. */
@media (max-width: 991.98px) {
  #products.excom-pv--grid .product-miniature__top .product-miniature__image-container,
  #products.excom-pv--grid .product-miniature__top .thumbnail-container {
    width: min(var(--excom-pv-grid-image-scale, 72%), 100%) !important;
  }

  #products.excom-pv--grid .product-miniature__top .excom-compare-slot--info,
  #products.excom-pv--list .product-miniature__top .excom-compare-slot--info,
  .module-products .product-miniature__top .excom-compare-slot--info {
    margin-top: 8px !important;
    margin-bottom: 8px !important;
  }
}



/* ===== EXCOM 0.3.50: lower product image in LIST view =====
 * Visually aligns the product photo lower, as in the supplied mockup.
 * Compare stays underneath the image with its existing safe spacing.
 */
@media (min-width: 768px) {
  #products.excom-pv--list .product-miniature__top .product-miniature__image-container,
  #products.excom-pv--list .product-miniature__top .thumbnail-container {
    margin-top: 22px !important;
    margin-bottom: 0 !important;
  }
}

/* Keep the Compare control clearly separated from the photo after moving it. */
#products.excom-pv--list .product-miniature__top .excom-compare-slot--info {
  margin-top: 10px !important;
  margin-bottom: 9px !important;
}

/* On small screens use a smaller vertical offset. */
@media (max-width: 767.98px) {
  #products.excom-pv--list .product-miniature__top .product-miniature__image-container,
  #products.excom-pv--list .product-miniature__top .thumbnail-container {
    margin-top: 10px !important;
  }
}


/* ===== EXCOM 0.3.51: lower thumbnail in MINIMAL view =====
 * Minimal view uses a very compact 77x59 thumbnail.
 * Move the whole thumbnail block slightly lower to match the desired alignment.
 * SEO-safe: CSS only, no HTML/content changes.
 */
@media (min-width: 768px) {
  #products.excom-pv--minimal .product-miniature__top {
    margin-top: 16px !important;
    margin-bottom: 0 !important;
    align-self: start !important;
  }
}

@media (max-width: 767.98px) {
  #products.excom-pv--minimal .product-miniature__top {
    margin-top: 8px !important;
    margin-bottom: 0 !important;
    align-self: start !important;
  }
}



/* ===== EXCOM 0.3.52: lower thumbnail further in MINIMAL view =====
 * The previous 16 px offset was still too high. Increase it so the thumbnail
 * sits visually lower, closer to the title/meta block as requested.
 */
@media (min-width: 768px) {
  #products.excom-pv--minimal .product-miniature__top {
    margin-top: 32px !important;
    margin-bottom: 0 !important;
    align-self: start !important;
  }
}

@media (max-width: 767.98px) {
  #products.excom-pv--minimal .product-miniature__top {
    margin-top: 16px !important;
    margin-bottom: 0 !important;
    align-self: start !important;
  }
}



/* ===== EXCOM 0.3.53: final small downward adjustment in MINIMAL view ===== */
@media (min-width: 768px) {
  #products.excom-pv--minimal .product-miniature__top {
    margin-top: 40px !important;
  }
}

@media (max-width: 767.98px) {
  #products.excom-pv--minimal .product-miniature__top {
    margin-top: 20px !important;
  }
}



/* ===== EXCOM 0.3.54: physically smaller product-image containers =====
 * 0.3.48 introduced 3:2 image files, but some card containers were still
 * allowed to grow too large. These final overrides reduce the actual boxes.
 */

/* GRID: respect module scale, but never let the product media become huge. */
#products.excom-pv--grid .product-miniature__top {
  height: auto !important;
  min-height: 0 !important;
  align-items: center !important;
}

#products.excom-pv--grid .product-miniature__top .product-miniature__image-container,
#products.excom-pv--grid .product-miniature__top .thumbnail-container {
  width: min(var(--excom-pv-grid-image-scale, 60%), 310px) !important;
  max-width: 310px !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 3 / 2 !important;
  margin-inline: auto !important;
}

/* LIST: compact 3:2 image box. */
#products.excom-pv--list .product-miniature__top .product-miniature__image-container,
#products.excom-pv--list .product-miniature__top .thumbnail-container {
  width: 180px !important;
  max-width: 180px !important;
  height: 120px !important;
  min-height: 120px !important;
  max-height: 120px !important;
  aspect-ratio: 3 / 2 !important;
  margin-inline: auto !important;
}

/* Module cards: Latest arrivals, related/same-category, viewed, accessories. */
.module-products .product-miniature__top {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  height: auto !important;
  min-height: 0 !important;
}

.module-products .product-miniature__top .product-miniature__image-container,
.module-products .product-miniature__top .thumbnail-container {
  width: min(88%, 300px) !important;
  max-width: 300px !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 3 / 2 !important;
  margin-inline: auto !important;
}

/* Keep the actual image fitted to the smaller box. */
#products.excom-pv--grid .product-miniature__top .product-miniature__image,
#products.excom-pv--list .product-miniature__top .product-miniature__image,
.module-products .product-miniature__top .product-miniature__image,
#products.excom-pv--grid .product-miniature__top img,
#products.excom-pv--list .product-miniature__top img,
.module-products .product-miniature__top img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
}

/* Compare remains safely below the compact image. */
#products.excom-pv--grid .product-miniature__top .excom-compare-slot--info,
#products.excom-pv--list .product-miniature__top .excom-compare-slot--info,
.module-products .product-miniature__top .excom-compare-slot--info {
  margin-top: 8px !important;
  margin-bottom: 8px !important;
}

/* Minimal view intentionally keeps its own tiny 77x59 thumbnail rules. */



/* ===== EXCOM 0.3.55: final card-media positioning refinement =====
 * The 0.3.54 fix reduced the physical image boxes.
 * This pass tightens the remaining vertical spacing separately for each view.
 */

/* GRID: slightly more compact media, centered, with controlled spacing below. */
#products.excom-pv--grid .product-miniature__top .product-miniature__image-container,
#products.excom-pv--grid .product-miniature__top .thumbnail-container {
  width: min(var(--excom-pv-grid-image-scale, 60%), 290px) !important;
  max-width: 290px !important;
  margin: 0 auto !important;
}

#products.excom-pv--grid .product-miniature__top .excom-compare-slot--info {
  margin-top: 10px !important;
  margin-bottom: 6px !important;
}

#products.excom-pv--grid .product-miniature__bottom {
  margin-top: 0 !important;
}

/* LIST: keep the image compact and vertically placed a little lower than title/meta. */
#products.excom-pv--list .product-miniature__top .product-miniature__image-container,
#products.excom-pv--list .product-miniature__top .thumbnail-container {
  width: 172px !important;
  max-width: 172px !important;
  height: 115px !important;
  min-height: 115px !important;
  max-height: 115px !important;
  margin-top: 18px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

#products.excom-pv--list .product-miniature__top .excom-compare-slot--info {
  margin-top: 9px !important;
  margin-bottom: 7px !important;
}

/* MINIMAL: preserve the tiny 77x59 thumbnail but keep the final lower placement. */
@media (min-width: 768px) {
  #products.excom-pv--minimal .product-miniature__top {
    margin-top: 40px !important;
  }
}

/* Module cards: compact image area and clean Compare separation. */
.module-products .product-miniature__top .product-miniature__image-container,
.module-products .product-miniature__top .thumbnail-container {
  width: min(84%, 280px) !important;
  max-width: 280px !important;
}

.module-products .product-miniature__top .excom-compare-slot--info {
  margin-top: 10px !important;
  margin-bottom: 6px !important;
}

.module-products .product-miniature__bottom {
  margin-top: 0 !important;
}



/* ===== EXCOM 0.3.56: responsive card spacing fix =====
 *
 * 1) GRID on phones:
 *    older CSS changed the image box to 4:3 below 576px.
 *    That made the box taller and pushed "Porównaj" too far away.
 *    Keep 3:2 on mobile and reduce the Compare gap.
 *
 * 2) LIST:
 *    the first grid column was wider than the actual image, so the title/spec
 *    started too far to the right. Match the media column to the real photo
 *    size and use a much smaller column gap.
 */

/* ---------- GRID: PHONE / SMALL TABLET ---------- */
@media (max-width: 767.98px) {
  #products.excom-pv--grid .product-miniature__top .product-miniature__image-container,
  #products.excom-pv--grid .product-miniature__top .thumbnail-container {
    aspect-ratio: 3 / 2 !important;
    width: min(var(--excom-pv-grid-image-scale, 72%), 290px) !important;
    max-width: 290px !important;
    margin-bottom: 0 !important;
  }

  #products.excom-pv--grid .product-miniature__top .excom-compare-slot--info {
    min-height: 0 !important;
    margin-top: 3px !important;
    margin-bottom: 5px !important;
  }
}

/* Very narrow phones: keep the image compact but still 3:2. */
@media (max-width: 420px) {
  #products.excom-pv--grid .product-miniature__top .product-miniature__image-container,
  #products.excom-pv--grid .product-miniature__top .thumbnail-container {
    width: min(78%, 260px) !important;
    max-width: 260px !important;
    aspect-ratio: 3 / 2 !important;
  }

  #products.excom-pv--grid .product-miniature__top .excom-compare-slot--info {
    margin-top: 2px !important;
  }
}

/* ---------- LIST: DESKTOP ---------- */
@media (min-width: 1200px) {
  #products.excom-pv--list .product-miniature__inner {
    grid-template-columns: 180px minmax(0, 1fr) !important;
    column-gap: 10px !important;
  }

  #products.excom-pv--list .product-miniature__top {
    width: 180px !important;
    max-width: 180px !important;
  }

  #products.excom-pv--list .product-miniature__top .product-miniature__image-container,
  #products.excom-pv--list .product-miniature__top .thumbnail-container {
    width: 172px !important;
    max-width: 172px !important;
    height: 115px !important;
    min-height: 115px !important;
    max-height: 115px !important;
    margin: 18px auto 0 !important;
  }
}

/* ---------- LIST: TABLET / SMALL DESKTOP ---------- */
@media (min-width: 768px) and (max-width: 1199.98px) {
  #products.excom-pv--list .product-miniature__inner {
    grid-template-columns: 160px minmax(0, 1fr) !important;
    column-gap: 9px !important;
  }

  #products.excom-pv--list .product-miniature__top {
    width: 160px !important;
    max-width: 160px !important;
  }

  #products.excom-pv--list .product-miniature__top .product-miniature__image-container,
  #products.excom-pv--list .product-miniature__top .thumbnail-container {
    width: 152px !important;
    max-width: 152px !important;
    height: 101px !important;
    min-height: 101px !important;
    max-height: 101px !important;
    margin: 14px auto 0 !important;
  }
}

/* ---------- LIST: PHONE ---------- */
@media (max-width: 767.98px) {
  #products.excom-pv--list .product-miniature__inner {
    grid-template-columns: 112px minmax(0, 1fr) !important;
    column-gap: 8px !important;
  }

  #products.excom-pv--list .product-miniature__top {
    width: 112px !important;
    max-width: 112px !important;
  }

  #products.excom-pv--list .product-miniature__top .product-miniature__image-container,
  #products.excom-pv--list .product-miniature__top .thumbnail-container {
    width: 104px !important;
    max-width: 104px !important;
    height: 69px !important;
    min-height: 69px !important;
    max-height: 69px !important;
    margin: 8px auto 0 !important;
  }

  #products.excom-pv--list .product-miniature__top .excom-compare-slot--info {
    margin-top: 4px !important;
    margin-bottom: 5px !important;
  }
}

@media (max-width: 420px) {
  #products.excom-pv--list .product-miniature__inner {
    grid-template-columns: 96px minmax(0, 1fr) !important;
    column-gap: 7px !important;
  }

  #products.excom-pv--list .product-miniature__top {
    width: 96px !important;
    max-width: 96px !important;
  }

  #products.excom-pv--list .product-miniature__top .product-miniature__image-container,
  #products.excom-pv--list .product-miniature__top .thumbnail-container {
    width: 90px !important;
    max-width: 90px !important;
    height: 60px !important;
    min-height: 60px !important;
    max-height: 60px !important;
    margin-top: 6px !important;
  }
}

/* ===== EXCOM 0.3.57: header trust badges slot =====
 * The module provides content; the theme owns layout/responsiveness.
 * Desktop: badges sit immediately to the right of the search bar.
 * Small desktop: only the first badge is shown and scaled down.
 * Tablet/mobile: hidden to avoid squeezing navigation/search.
 */
.excom-header-badges-slot {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  margin-left: 8px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.excom-header-badges__items {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
  white-space: nowrap;
}

.excom-header-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  line-height: 0;
}

.excom-header-badge__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  text-decoration: none;
}

.excom-header-badge__image {
  display: block;
  width: auto !important;
  height: auto !important;
  max-height: 38px !important;
  max-width: 142px !important;
  object-fit: contain !important;
}

/* Typical 1200–1399px desktop: slightly tighter. */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .excom-header-badges-slot {
    margin-left: 6px !important;
  }

  .excom-header-badges__items {
    gap: 6px;
  }

  .excom-header-badge__image {
    max-height: 32px !important;
    max-width: 118px !important;
  }
}

/* 992–1199px: protect the search field and hamburger menu.
 * Show only badge #1; put the most important badge first in module settings. */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .excom-header-badges-slot {
    margin-left: 5px !important;
  }

  .excom-header-badge:nth-child(n+2) {
    display: none !important;
  }

  .excom-header-badge__image {
    max-height: 27px !important;
    max-width: 92px !important;
  }
}

/* Below 992px we deliberately hide the badges: the header remains clean and
 * search/account/cart controls keep their full usable width. */
@media (max-width: 991.98px) {
  .excom-header-badges-slot {
    display: none !important;
  }
}



/* ===== EXCOM 0.3.58: header badges visible on tablet and mobile =====
 * Module v1.2.0 provides the preferred badge size as CSS variables.
 * The theme can therefore scale the same high-resolution image down
 * responsively without stretching the header.
 */

.excom-header-badge__image {
  width: auto !important;
  height: auto !important;
  max-height: var(--excom-badge-max-h, 38px) !important;
  max-width: var(--excom-badge-max-w, 142px) !important;
}

/* Tablet: both badges remain visible in their own compact row. */
@media (min-width: 576px) and (max-width: 991.98px) {
  .excom-header-badges-slot {
    display: flex !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    order: 99 !important;
    justify-content: center !important;
    margin: 6px 0 0 !important;
    padding: 0 8px !important;
  }

  .excom-header-badges__items {
    width: auto !important;
    max-width: 100% !important;
    justify-content: center !important;
    gap: 8px !important;
  }

  .excom-header-badge__image {
    max-height: min(var(--excom-badge-max-h, 38px), 27px) !important;
    max-width: min(var(--excom-badge-max-w, 142px), 105px) !important;
  }
}

/* Phone: dedicated row below the main header controls.
 * Both badges remain visible but are automatically reduced. */
@media (max-width: 575.98px) {
  .excom-header-badges-slot {
    display: flex !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    order: 99 !important;
    justify-content: center !important;
    margin: 5px 0 0 !important;
    padding: 0 6px 4px !important;
  }

  .excom-header-badges__items {
    display: flex !important;
    width: auto !important;
    max-width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;
    overflow: hidden !important;
  }

  .excom-header-badge {
    min-width: 0 !important;
  }

  .excom-header-badge__image {
    max-height: min(var(--excom-badge-max-h, 38px), 23px) !important;
    max-width: min(var(--excom-badge-max-w, 142px), 88px) !important;
  }
}

/* Extra-small phones: a final compact limit so the header never overflows. */
@media (max-width: 380px) {
  .excom-header-badges__items {
    gap: 5px !important;
  }

  .excom-header-badge__image {
    max-height: min(var(--excom-badge-max-h, 38px), 21px) !important;
    max-width: min(var(--excom-badge-max-w, 142px), 80px) !important;
  }
}



/* ===== EXCOM 0.3.59: hard mobile/tablet badge caps =====
 * Some mobile browsers/cache combinations ignored the previous min(var(), px)
 * expression. Use explicit pixel caps on smaller screens so high-resolution
 * source files can never expand the mobile header.
 */

/* Desktop keeps module-configured dimensions. */
@media (min-width: 1200px) {
  .excom-header-badge__image {
    max-height: var(--excom-badge-max-h, 38px) !important;
    max-width: var(--excom-badge-max-w, 142px) !important;
  }
}

/* Small desktop. */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .excom-header-badge__image {
    max-height: 27px !important;
    max-width: 100px !important;
  }
}

/* Tablet. */
@media (min-width: 576px) and (max-width: 991.98px) {
  .excom-header-badges-slot {
    min-height: 34px !important;
    max-height: 38px !important;
    overflow: hidden !important;
  }

  .excom-header-badges__items {
    max-height: 30px !important;
  }

  .excom-header-badge,
  .excom-header-badge__link {
    max-height: 28px !important;
  }

  .excom-header-badge__image {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-height: 26px !important;
    max-width: 105px !important;
  }
}

/* Phone. */
@media (max-width: 575.98px) {
  .excom-header-badges-slot {
    min-height: 29px !important;
    max-height: 33px !important;
    margin-top: 3px !important;
    padding-top: 0 !important;
    padding-bottom: 3px !important;
    overflow: hidden !important;
  }

  .excom-header-badges__items {
    max-height: 26px !important;
    overflow: hidden !important;
  }

  .excom-header-badge,
  .excom-header-badge__link {
    max-height: 24px !important;
  }

  .excom-header-badge__image {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-height: 22px !important;
    max-width: 86px !important;
    object-fit: contain !important;
  }
}

/* Very narrow phone. */
@media (max-width: 380px) {
  .excom-header-badge__image {
    max-height: 20px !important;
    max-width: 76px !important;
  }
}



/* ===== EXCOM 0.3.60: stable header badges across browser zoom/resolution =====
 * Chrome zoom changes the effective CSS viewport width and previously crossed
 * the 992px breakpoint. At 992-1199px old 0.3.57 CSS also hid badge #2.
 * Result: one badge at one zoom level, two badges at another, and layout jumps.
 *
 * New rule:
 * - >=1200px: badges stay inline next to search.
 * - <1200px: BOTH badges always move to one compact centered row below
 *   the main header controls.
 * This makes tablet/phone/zoom behavior predictable.
 */

/* Undo the old "show only first badge" rule. */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .excom-header-badge:nth-child(n+2) {
    display: inline-flex !important;
  }
}

/* Stable compact trust row for all widths below 1200px. */
@media (max-width: 1199.98px) {
  .excom-header-badges-slot {
    display: flex !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    order: 99 !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 4px 0 0 !important;
    padding: 0 8px 4px !important;
    min-height: 28px !important;
    max-height: 34px !important;
    overflow: hidden !important;
  }

  .excom-header-badges__items {
    display: flex !important;
    width: auto !important;
    max-width: 100% !important;
    max-height: 27px !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 7px !important;
    overflow: hidden !important;
  }

  .excom-header-badge,
  .excom-header-badge__link {
    display: inline-flex !important;
    max-height: 25px !important;
    min-width: 0 !important;
  }

  .excom-header-badge__image {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-height: 24px !important;
    max-width: 96px !important;
    object-fit: contain !important;
  }
}

/* Phone: slightly smaller but still show BOTH badges. */
@media (max-width: 575.98px) {
  .excom-header-badges-slot {
    margin-top: 3px !important;
    padding: 0 6px 3px !important;
    min-height: 25px !important;
    max-height: 30px !important;
  }

  .excom-header-badges__items {
    max-height: 23px !important;
    gap: 6px !important;
  }

  .excom-header-badge,
  .excom-header-badge__link {
    max-height: 22px !important;
  }

  .excom-header-badge__image {
    max-height: 20px !important;
    max-width: 82px !important;
  }
}

@media (max-width: 380px) {
  .excom-header-badge__image {
    max-height: 18px !important;
    max-width: 74px !important;
  }
}

/* Wide desktop: module-configured sizes remain authoritative. */
@media (min-width: 1200px) {
  .excom-header-badges-slot {
    order: 3 !important;
    flex: 0 0 auto !important;
    width: auto !important;
    margin-left: 8px !important;
    padding: 0 !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .excom-header-badges__items {
    max-height: none !important;
    overflow: visible !important;
  }

  .excom-header-badge:nth-child(n+2) {
    display: inline-flex !important;
  }

  .excom-header-badge__image {
    max-height: var(--excom-badge-max-h, 38px) !important;
    max-width: var(--excom-badge-max-w, 142px) !important;
  }
}



/* ===== EXCOM 0.3.61: ONE stable header-badge layout on every screen =====
 * Final behavior:
 * - the badges NEVER move next to the search field;
 * - they ALWAYS use their own centered row below the main header controls;
 * - both badges stay visible;
 * - only their visual size changes with viewport width.
 *
 * This removes layout jumps caused by Chrome zoom/resolution breakpoints.
 */

/* One permanent position for every viewport width. */
.excom-header-badges-slot {
  display: flex !important;
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  order: 99 !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 4px 0 0 !important;
  padding: 0 8px 4px !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.excom-header-badges__items {
  display: flex !important;
  width: auto !important;
  max-width: 100% !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  min-width: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
}

.excom-header-badge,
.excom-header-badge__link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  min-width: 0 !important;
  line-height: 0 !important;
}

/* Never hide the second badge at any breakpoint. */
.excom-header-badge:nth-child(n+2) {
  display: inline-flex !important;
}

/* Wide desktop: same row, slightly larger badges. */
@media (min-width: 1200px) {
  .excom-header-badges-slot {
    min-height: 35px !important;
    max-height: 46px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .excom-header-badges__items {
    max-height: 40px !important;
    gap: 10px !important;
  }

  .excom-header-badge__image {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-height: min(var(--excom-badge-max-h, 38px), 36px) !important;
    max-width: min(var(--excom-badge-max-w, 142px), 142px) !important;
    object-fit: contain !important;
  }
}

/* Tablet / small desktop: same row and same position. */
@media (min-width: 576px) and (max-width: 1199.98px) {
  .excom-header-badges-slot {
    min-height: 29px !important;
    max-height: 36px !important;
  }

  .excom-header-badges__items {
    max-height: 29px !important;
    gap: 7px !important;
  }

  .excom-header-badge__image {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-height: 25px !important;
    max-width: 100px !important;
    object-fit: contain !important;
  }
}

/* Phone: same row, only smaller. */
@media (max-width: 575.98px) {
  .excom-header-badges-slot {
    min-height: 25px !important;
    max-height: 31px !important;
    margin-top: 3px !important;
    padding: 0 6px 3px !important;
  }

  .excom-header-badges__items {
    max-height: 23px !important;
    gap: 6px !important;
  }

  .excom-header-badge__image {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-height: 20px !important;
    max-width: 82px !important;
    object-fit: contain !important;
  }
}

@media (max-width: 380px) {
  .excom-header-badge__image {
    max-height: 18px !important;
    max-width: 74px !important;
  }
}



/* ===== EXCOM 0.3.62: header badges UX correction =====
 * 0.3.61 put badges into a full-width centered row on every screen.
 * On tablet/landscape this created an unnecessary white strip and looked worse.
 *
 * New behavior:
 * - >=768px: badges stay INLINE next to the search area, as originally intended.
 * - <768px: badges use a very thin compact row below the mobile header.
 * - both badges remain visible; only their size changes.
 */

/* Tablet / desktop: inline, no separate white row. */
@media (min-width: 768px) {
  .excom-header-badges-slot {
    display: flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    order: 3 !important;
    justify-content: flex-start !important;
    align-items: center !important;
    margin: 0 0 0 6px !important;
    padding: 0 !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .excom-header-badges__items {
    display: flex !important;
    width: auto !important;
    max-width: none !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 6px !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .excom-header-badge,
  .excom-header-badge__link,
  .excom-header-badge:nth-child(n+2) {
    display: inline-flex !important;
    flex: 0 0 auto !important;
  }
}

/* Large desktop: use the Back Office size, capped so the header stays tidy. */
@media (min-width: 1200px) {
  .excom-header-badge__image {
    width: auto !important;
    height: auto !important;
    max-height: min(var(--excom-badge-max-h, 38px), 34px) !important;
    max-width: min(var(--excom-badge-max-w, 142px), 135px) !important;
    object-fit: contain !important;
  }
}

/* Tablet / small desktop: compact inline badges beside search. */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .excom-header-badge__image {
    width: auto !important;
    height: auto !important;
    max-height: 24px !important;
    max-width: 92px !important;
    object-fit: contain !important;
  }
}

/* Phone: keep a very thin row so both trust badges remain visible. */
@media (max-width: 767.98px) {
  .excom-header-badges-slot {
    display: flex !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    order: 99 !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 1px 0 0 !important;
    padding: 0 5px 2px !important;
    min-height: 20px !important;
    max-height: 24px !important;
    overflow: hidden !important;
  }

  .excom-header-badges__items {
    display: flex !important;
    width: auto !important;
    max-width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 4px !important;
    max-height: 19px !important;
    overflow: hidden !important;
  }

  .excom-header-badge,
  .excom-header-badge__link,
  .excom-header-badge:nth-child(n+2) {
    display: inline-flex !important;
    max-height: 18px !important;
  }

  .excom-header-badge__image {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-height: 17px !important;
    max-width: 70px !important;
    object-fit: contain !important;
  }
}

@media (max-width: 380px) {
  .excom-header-badge__image {
    max-height: 16px !important;
    max-width: 64px !important;
  }
}



/* ===== EXCOM 0.3.63: badges physically attached to search bar =====
 * The badges are now rendered INSIDE ps_searchbar.tpl.
 * Therefore they cannot fall into a separate row due to Bootstrap order/wrap.
 */

/* Old independent header slot is obsolete. */
.excom-header-badges-slot {
  display: none !important;
}

/* Desktop/tablet search wrapper: search first, badges immediately after it. */
.excom-desktop-search-group {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: nowrap !important;
}

#_desktop_ps_searchbar > #ps_searchbar {
  flex: 0 1 auto !important;
  min-width: 220px !important;
}

.excom-search-badges--desktop {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.excom-search-badges--desktop .excom-header-badges__items {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 6px !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

.excom-search-badges--desktop .excom-header-badge,
.excom-search-badges--desktop .excom-header-badge__link,
.excom-search-badges--desktop .excom-header-badge:nth-child(n+2) {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.excom-search-badges--desktop .excom-header-badge__image {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-height: 32px !important;
  max-width: 132px !important;
  object-fit: contain !important;
}

/* 768-1199 px: still directly after search, just smaller. */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .excom-desktop-search-group {
    gap: 6px !important;
  }

  #_desktop_ps_searchbar > #ps_searchbar {
    min-width: 190px !important;
  }

  .excom-search-badges--desktop .excom-header-badges__items {
    gap: 4px !important;
  }

  .excom-search-badges--desktop .excom-header-badge__image {
    max-height: 22px !important;
    max-width: 84px !important;
  }
}

/* Mobile has no text search field in the header.
 * Put both badges directly after the search ICON and before account/cart.
 */
.excom-search-badges--mobile {
  flex: 0 0 auto !important;
  align-items: center !important;
  margin: 0 2px !important;
  padding: 0 !important;
  min-width: 0 !important;
}

.excom-search-badges--mobile .excom-header-badges__items {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 3px !important;
  width: auto !important;
  max-width: 112px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.excom-search-badges--mobile .excom-header-badge,
.excom-search-badges--mobile .excom-header-badge__link,
.excom-search-badges--mobile .excom-header-badge:nth-child(n+2) {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.excom-search-badges--mobile .excom-header-badge__image {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-height: 17px !important;
  max-width: 52px !important;
  object-fit: contain !important;
}

@media (max-width: 380px) {
  .excom-search-badges--mobile .excom-header-badges__items {
    max-width: 94px !important;
    gap: 2px !important;
  }

  .excom-search-badges--mobile .excom-header-badge__image {
    max-height: 15px !important;
    max-width: 44px !important;
  }
}



/* ===== EXCOM 0.3.64: safe gutter around search + badges =====
 * Keep the search/badge group attached together, but prevent the last badge
 * from visually touching the browser/window edge at some zoom levels.
 */

/* Desktop / tablet */
@media (min-width: 768px) {
  .excom-desktop-search-group {
    margin-right: 16px !important;
    padding-right: 0 !important;
  }
}

/* Narrower tablet / small desktop */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .excom-desktop-search-group {
    margin-right: 12px !important;
  }
}

/* Mobile: keep a small breathing space between badge group and next controls. */
@media (max-width: 767.98px) {
  .excom-search-badges--mobile {
    margin-right: 5px !important;
  }
}



/* ===== EXCOM 0.3.65: mobile safe right gutter for header badges =====
 * Keep the badge group next to search, but never let the last badge touch
 * the viewport/browser edge.
 */
@media (max-width: 767.98px) {
  .excom-search-badges--mobile {
    margin-left: 4px !important;
    margin-right: 12px !important;
    padding-right: 0 !important;
  }

  .excom-search-badges--mobile .excom-header-badges__items {
    max-width: 104px !important;
  }

  .excom-search-badges--mobile .excom-header-badge__image {
    max-width: 48px !important;
  }
}

@media (max-width: 380px) {
  .excom-search-badges--mobile {
    margin-right: 10px !important;
  }

  .excom-search-badges--mobile .excom-header-badges__items {
    max-width: 92px !important;
  }

  .excom-search-badges--mobile .excom-header-badge__image {
    max-width: 42px !important;
  }
}



/* ===== EXCOM 0.3.66: force visible gap from right viewport edge =====
 * Previous margin rules could be absorbed by the flex/bootstrap layout.
 * Move the BADGE GROUP itself left, which guarantees a visible gutter.
 */

/* Desktop / tablet with visible search input */
@media (min-width: 768px) {
  .excom-search-badges--desktop {
    position: relative !important;
    right: 18px !important;
    margin-left: 10px !important;
    margin-right: 0 !important;
  }
}

/* Smaller tablet / narrow desktop */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .excom-search-badges--desktop {
    right: 14px !important;
    margin-left: 8px !important;
  }
}

/* Mobile search-icon layout */
@media (max-width: 767.98px) {
  .excom-search-badges--mobile {
    position: relative !important;
    right: 10px !important;
    margin-left: 6px !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 380px) {
  .excom-search-badges--mobile {
    right: 8px !important;
  }
}



/* ===== EXCOM 0.3.67: REAL spacer after badges =====
 * Previous margin/right-offset attempts could be neutralized by Bootstrap flex
 * sizing. A real flex item now exists AFTER the badges, so there is always
 * physical empty space between the last logo and the viewport edge.
 */

@media (min-width: 768px) {
  .excom-desktop-search-group {
    margin-right: 0 !important;
    padding-right: 0 !important;
  }

  .excom-search-badges--desktop {
    position: static !important;
    right: auto !important;
    margin-left: 8px !important;
    margin-right: 0 !important;
  }

  .excom-search-badges-spacer {
    display: block !important;
    flex: 0 0 20px !important;
    width: 20px !important;
    min-width: 20px !important;
    max-width: 20px !important;
    height: 1px !important;
    pointer-events: none !important;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .excom-search-badges-spacer {
    flex-basis: 16px !important;
    width: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
  }
}

/* Mobile keeps its compact inline layout. */
@media (max-width: 767.98px) {
  .excom-search-badges--mobile {
    position: static !important;
    right: auto !important;
  }
}



/* ===== EXCOM 0.3.68: badge gutter hardcoded in markup =====
 * The actual empty space is now inline in ps_searchbar.tpl:
 * desktop/tablet = 24px, mobile = 10px.
 * CSS cache can no longer make the gap disappear.
 */
.excom-search-badges--desktop,
.excom-search-badges--mobile {
  position: static !important;
  right: auto !important;
}



/* ===== EXCOM 0.3.69: correct gap = BETWEEN SEARCH and DELL badge =====
 * This is the intended spacing:
 * [ Search input ]  <-- gap -->  [ Dell badge ] [ 12 lat ]
 *
 * Previous versions mistakenly added space AFTER the badges.
 */

/* Desktop/tablet: visible gap immediately after search field. */
@media (min-width: 768px) {
  .excom-search-badges--desktop {
    position: static !important;
    right: auto !important;
    margin-left: 16px !important;
    margin-right: 0 !important;
    padding: 0 !important;
  }

  .excom-search-badges-spacer {
    display: none !important;
  }
}

/* Mobile: small gap between search icon and first badge. */
@media (max-width: 767.98px) {
  .excom-search-badges--mobile {
    position: static !important;
    right: auto !important;
    margin-left: 8px !important;
    margin-right: 0 !important;
    padding: 0 !important;
  }

  .excom-search-badges-spacer-mobile {
    display: none !important;
  }
}



/* ===== EXCOM 0.3.71: recommended mobile header =====
 * Target order:
 * [menu] [Excom] ... [Dell Partner] [12 lat] [search] [account] [cart]
 * Badges are larger than in 0.3.69, search sits on their RIGHT,
 * and menu/logo are pulled closer to the left edge.
 */
@media (max-width: 767.98px) {
  /* Bring the left-side menu + shop logo closer to the viewport edge. */
  .header-bottom__container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 6px !important;
    padding-right: 8px !important;
  }

  .header-bottom__row {
    --bs-gutter-x: .35rem !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
  }

  .ps-mainmenu.ps-mainmenu--desktop {
    padding-left: 0 !important;
    padding-right: 1px !important;
    flex: 0 0 auto !important;
  }

  .ps-mainmenu.ps-mainmenu--desktop .ps-mainmenu__mobile-toggle .menu-toggle {
    padding-left: 2px !important;
    padding-right: 4px !important;
  }

  .header-bottom__logo {
    padding-left: 1px !important;
    padding-right: 3px !important;
  }

  /* Keep the normal mobile logo readable while preserving room for controls. */
  .header-bottom .navbar-brand .logo {
    max-width: 8rem !important;
    max-height: 3rem !important;
  }

  /* Search module becomes one compact horizontal cluster. */
  .ps-searchbar--mobile {
    padding-left: 0 !important;
    padding-right: 0 !important;
    gap: 0 !important;
    flex: 0 0 auto !important;
    min-width: 0 !important;
  }

  /* IMPORTANT: badges are BEFORE the magnifier in the template. */
  .excom-search-badges--mobile {
    position: static !important;
    right: auto !important;
    margin: 0 8px 0 0 !important;
    padding: 0 !important;
    flex: 0 0 auto !important;
    min-width: 0 !important;
  }

  .excom-search-badges--mobile .excom-header-badges__items {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 5px !important;
    width: auto !important;
    max-width: none !important;
    overflow: visible !important;
  }

  .excom-search-badges--mobile .excom-header-badge,
  .excom-search-badges--mobile .excom-header-badge__link,
  .excom-search-badges--mobile .excom-header-badge:nth-child(n+2) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Dell Partner - larger and readable. */
  .excom-search-badges--mobile .excom-header-badge:nth-child(1) .excom-header-badge__image {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-height: 27px !important;
    max-width: 100px !important;
    object-fit: contain !important;
  }

  /* 12 years badge - slightly taller, square-ish. */
  .excom-search-badges--mobile .excom-header-badge:nth-child(2) .excom-header-badge__image {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-height: 30px !important;
    max-width: 38px !important;
    object-fit: contain !important;
  }

  /* Search icon is immediately to the RIGHT of the badges. */
  .excom-mobile-search-trigger {
    flex: 0 0 auto !important;
    margin: 0 2px 0 0 !important;
  }

  .excom-mobile-search-trigger .header-block__action-btn {
    padding-left: 5px !important;
    padding-right: 5px !important;
  }
}

/* Narrow phones: same order, scaled down enough to stay on one line. */
@media (max-width: 430px) {
  .header-bottom__container {
    padding-left: 4px !important;
    padding-right: 5px !important;
  }

  .header-bottom .navbar-brand .logo {
    max-width: 6.8rem !important;
  }

  .excom-search-badges--mobile {
    margin-right: 4px !important;
  }

  .excom-search-badges--mobile .excom-header-badges__items {
    gap: 3px !important;
  }

  .excom-search-badges--mobile .excom-header-badge:nth-child(1) .excom-header-badge__image {
    max-height: 21px !important;
    max-width: 72px !important;
  }

  .excom-search-badges--mobile .excom-header-badge:nth-child(2) .excom-header-badge__image {
    max-height: 23px !important;
    max-width: 29px !important;
  }

  .header-block__action-btn {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }
}


/* ===== EXCOM 0.3.72: mobile menu + logo moved closer to the left edge =====
 * User request: on small devices the hamburger and Excom logo should sit
 * visibly closer to the left side, while keeping the rest of the 0.3.71
 * header order unchanged.
 */
@media (max-width: 767.98px) {
  .header-bottom__container {
    padding-left: 0 !important;
    padding-right: 8px !important;
  }

  .header-bottom__row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    --bs-gutter-x: .15rem !important;
    column-gap: 0 !important;
  }

  .ps-mainmenu.ps-mainmenu--desktop {
    margin-left: -8px !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .ps-mainmenu.ps-mainmenu--desktop .ps-mainmenu__mobile-toggle {
    margin-left: 0 !important;
    padding-left: 0 !important;
  }

  .ps-mainmenu.ps-mainmenu--desktop .ps-mainmenu__mobile-toggle .menu-toggle {
    margin-left: 0 !important;
    padding-left: 0 !important;
    padding-right: 4px !important;
  }

  .header-bottom__logo {
    margin-left: 2px !important;
    padding-left: 0 !important;
    padding-right: 2px !important;
  }

  .header-bottom__logo .navbar-brand,
  .header-bottom__logo .header-bottom__h1 {
    margin-left: 0 !important;
    padding-left: 0 !important;
  }
}

@media (max-width: 430px) {
  .header-bottom__container {
    padding-left: 0 !important;
    padding-right: 6px !important;
  }

  .ps-mainmenu.ps-mainmenu--desktop {
    margin-left: -10px !important;
  }

  .header-bottom__logo {
    margin-left: 4px !important;
  }

  .ps-mainmenu.ps-mainmenu--desktop .ps-mainmenu__mobile-toggle .menu-toggle {
    padding-right: 3px !important;
  }
}



/* ===== EXCOM 0.3.75: premium GRID product card =====
 * Visual target supplied by user:
 * - clean white rounded card
 * - large centered product image
 * - manufacturer logo remains BESIDE the product title (unchanged)
 * - compact technical specification with icon tiles
 * - prominent price
 * - quantity selector BESIDE a larger Add to cart button
 * - Description + Compare as equal secondary buttons at the bottom
 *
 * LIST and MINIMAL are intentionally untouched.
 */

/* ---------- CARD SHELL ---------- */
#products.excom-pv--grid .product-miniature {
  height: 100% !important;
}

#products.excom-pv--grid .product-miniature__inner {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  overflow: hidden !important;
  background: #fff !important;
  border: 1px solid #e7ebf0 !important;
  border-radius: 18px !important;
  box-shadow: 0 8px 26px rgba(23, 43, 77, .08) !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}

#products.excom-pv--grid .product-miniature__inner:hover {
  transform: translateY(-2px);
  border-color: #d7dee8 !important;
  box-shadow: 0 12px 32px rgba(23, 43, 77, .12) !important;
}

/* ---------- IMAGE ---------- */
#products.excom-pv--grid .product-miniature__top {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  padding: 16px 16px 0 !important;
  min-height: 0 !important;
  background: #fff !important;
}

#products.excom-pv--grid .product-miniature__top .product-miniature__image-container,
#products.excom-pv--grid .product-miniature__top .thumbnail-container {
  width: min(88%, 340px) !important;
  max-width: 340px !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 3 / 2 !important;
  margin: 4px auto 0 !important;
  border: 0 !important;
  background: #fff !important;
}

#products.excom-pv--grid .product-miniature__top .product-miniature__image-link,
#products.excom-pv--grid .product-miniature__top picture {
  display: flex !important;
  width: 100% !important;
  height: 100% !important;
  align-items: center !important;
  justify-content: center !important;
}

#products.excom-pv--grid .product-miniature__top .product-miniature__image,
#products.excom-pv--grid .product-miniature__top img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
}

/* In the new GRID layout Compare belongs at the bottom, not below the image. */
#products.excom-pv--grid .product-miniature__top .excom-compare-slot--info {
  display: none !important;
}

/* ---------- INFORMATION AREA ---------- */
#products.excom-pv--grid .product-miniature__bottom {
  display: flex !important;
  flex: 1 1 auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

#products.excom-pv--grid .product-miniature__infos {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: 2px 18px 16px !important;
}

#products.excom-pv--grid .product-miniature__content {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
}

/* Manufacturer logo is deliberately kept next to the title. */
#products.excom-pv--grid .excom-product-card-heading {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  margin: 0 0 7px !important;
}

#products.excom-pv--grid .excom-product-card-brand {
  flex: 0 0 auto !important;
  margin-top: 1px !important;
}

#products.excom-pv--grid .excom-product-card-brand__logo {
  width: 32px !important;
  height: 32px !important;
  object-fit: contain !important;
}

#products.excom-pv--grid .product-miniature__title {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  overflow: hidden !important;
  color: #151a22 !important;
  font-size: 1.03rem !important;
  font-weight: 700 !important;
  line-height: 1.24 !important;
  text-decoration: none !important;
}

#products.excom-pv--grid .product-miniature__title:hover {
  color: #0668d7 !important;
}

/* Index / condition */
#products.excom-pv--grid .excom-product-meta--miniature {
  margin: 0 0 10px !important;
  padding: 0 0 10px !important;
  border-bottom: 1px solid #edf0f4 !important;
  font-size: .76rem !important;
  line-height: 1.35 !important;
  color: #59636f !important;
}

/* ---------- SHORT TECHNICAL SPECIFICATION ---------- */
#products.excom-pv--grid .excom-product-card-before-price {
  margin: 0 !important;
}

#products.excom-pv--grid .exsd-short-features {
  display: grid !important;
  gap: 2px !important;
  width: 100% !important;
  margin: 0 0 12px !important;
  font-size: .84rem !important;
  line-height: 1.2 !important;
}

#products.excom-pv--grid .exsd-short-feature-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  column-gap: 9px !important;
  min-height: 39px !important;
  padding: 4px 0 !important;
  align-items: center !important;
}

/* When an icon exists, use it as a soft square tile on the left. */
#products.excom-pv--grid .exsd-short-feature-row:has(.exsd-short-feature-icon-wrap) {
  grid-template-columns: 36px minmax(0, 1fr) !important;
}

#products.excom-pv--grid .exsd-short-feature-label-group {
  display: contents !important;
}

#products.excom-pv--grid .exsd-short-feature-icon-wrap {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  display: inline-flex !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  margin: 0 !important;
  padding: 6px !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  overflow: hidden !important;
  border-radius: 8px !important;
  background: #f4f6f8 !important;
}

#products.excom-pv--grid .exsd-short-feature-icon-wrap > img.exsd-short-feature-icon {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  margin: 0 !important;
  object-fit: contain !important;
}

#products.excom-pv--grid .exsd-short-feature-label {
  grid-column: 1 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
  margin: 0 !important;
  color: #8a94a3 !important;
  font-size: .74rem !important;
  font-weight: 400 !important;
  line-height: 1.15 !important;
}

#products.excom-pv--grid .exsd-short-feature-value {
  grid-column: 1 !important;
  grid-row: 2 !important;
  min-width: 0 !important;
  margin: 1px 0 0 !important;
  color: #202733 !important;
  font-size: .86rem !important;
  font-weight: 500 !important;
  line-height: 1.18 !important;
}

/* Reposition label/value to column 2 only if the icon tile exists. */
#products.excom-pv--grid .exsd-short-feature-row:has(.exsd-short-feature-icon-wrap) .exsd-short-feature-label,
#products.excom-pv--grid .exsd-short-feature-row:has(.exsd-short-feature-icon-wrap) .exsd-short-feature-value {
  grid-column: 2 !important;
}

/* ---------- COMMERCE ---------- */
#products.excom-pv--grid .product-miniature__commerce {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  width: 100% !important;
  margin-top: auto !important;
}

/* Price first */
#products.excom-pv--grid .product-miniature__prices {
  order: 1 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: end !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 4px 0 10px !important;
  padding-top: 10px !important;
  border-top: 1px solid #edf0f4 !important;
}

#products.excom-pv--grid .product-miniature__price {
  justify-self: start !important;
  color: #0c1118 !important;
  font-size: 1.48rem !important;
  font-weight: 750 !important;
  line-height: 1.05 !important;
  white-space: nowrap !important;
}

#products.excom-pv--grid .product-miniature__discount-price {
  justify-self: end !important;
  align-self: end !important;
  margin: 0 !important;
}

#products.excom-pv--grid .product-miniature__regular-price {
  color: #7d8794 !important;
  font-size: .93rem !important;
  font-weight: 400 !important;
  text-decoration-thickness: 1px !important;
  white-space: nowrap !important;
}

/* Quantity + larger Add to cart SECOND */
#products.excom-pv--grid .product-miniature__actions {
  order: 2 !important;
  width: 100% !important;
  margin: 0 0 8px !important;
}

#products.excom-pv--grid .product-miniature__form {
  display: grid !important;
  grid-template-columns: 112px minmax(0, 1fr) !important;
  align-items: stretch !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 0 !important;
}

#products.excom-pv--grid .quantity-button,
#products.excom-pv--grid .quantity-button__group {
  width: 112px !important;
  min-width: 112px !important;
  max-width: 112px !important;
  height: 46px !important;
  min-height: 46px !important;
  margin: 0 !important;
}

#products.excom-pv--grid .quantity-button__group > .btn,
#products.excom-pv--grid .quantity-button__group .form-control {
  height: 46px !important;
  min-height: 46px !important;
}

#products.excom-pv--grid .product-miniature__add {
  display: inline-flex !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 46px !important;
  height: 46px !important;
  padding: 0 16px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  border-radius: 6px !important;
  font-size: .94rem !important;
  font-weight: 600 !important;
}

#products.excom-pv--grid .product-miniature__add .material-icons {
  font-size: 21px !important;
}

#products.excom-pv--grid .product-miniature__add-text {
  display: inline !important;
  font-size: .94rem !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}

/* Description + Compare THIRD */
#products.excom-pv--grid .excom-card-action-row {
  order: 3 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 0 !important;
}

#products.excom-pv--grid .excom-card-secondary-actions {
  display: contents !important;
}

#products.excom-pv--grid .excom-product-description {
  grid-column: 1 !important;
  display: inline-flex !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 40px !important;
  height: 40px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  margin: 0 !important;
  border-radius: 6px !important;
  font-size: .78rem !important;
}

#products.excom-pv--grid .excom-list-quickview {
  display: none !important;
}

#products.excom-pv--grid .excom-compare-slot--commerce {
  grid-column: 2 !important;
  display: flex !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

#products.excom-pv--grid .excom-compare-slot--commerce > .cdpcp-compare-btn {
  display: inline-flex !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 40px !important;
  height: 40px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  margin: 0 !important;
  padding: 0 8px !important;
  border: 1px solid #cfd6dd !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: #343c47 !important;
  font-size: .78rem !important;
  white-space: nowrap !important;
}

/* Make sure the old image Compare is the only duplicate that is hidden. */
#products.excom-pv--grid .product-miniature .cdpcp-compare-btn {
  display: none !important;
}

#products.excom-pv--grid .product-miniature .excom-compare-slot--commerce > .cdpcp-compare-btn {
  display: inline-flex !important;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991.98px) {
  #products.excom-pv--grid .product-miniature__infos {
    padding: 2px 14px 14px !important;
  }

  #products.excom-pv--grid .product-miniature__title {
    font-size: .94rem !important;
  }

  #products.excom-pv--grid .product-miniature__form {
    grid-template-columns: 100px minmax(0, 1fr) !important;
    gap: 6px !important;
  }

  #products.excom-pv--grid .quantity-button,
  #products.excom-pv--grid .quantity-button__group {
    width: 100px !important;
    min-width: 100px !important;
    max-width: 100px !important;
  }

  #products.excom-pv--grid .product-miniature__price {
    font-size: 1.28rem !important;
  }
}

@media (max-width: 575.98px) {
  #products.excom-pv--grid .product-miniature__inner {
    border-radius: 13px !important;
  }

  #products.excom-pv--grid .product-miniature__top {
    padding: 10px 9px 0 !important;
  }

  #products.excom-pv--grid .product-miniature__infos {
    padding: 2px 10px 11px !important;
  }

  #products.excom-pv--grid .product-miniature__title {
    font-size: .88rem !important;
    line-height: 1.2 !important;
  }

  #products.excom-pv--grid .excom-product-card-brand__logo {
    width: 27px !important;
    height: 27px !important;
  }

  #products.excom-pv--grid .exsd-short-features {
    font-size: .76rem !important;
  }

  #products.excom-pv--grid .exsd-short-feature-row {
    min-height: 34px !important;
    padding: 3px 0 !important;
  }

  #products.excom-pv--grid .exsd-short-feature-row:has(.exsd-short-feature-icon-wrap) {
    grid-template-columns: 30px minmax(0, 1fr) !important;
    column-gap: 6px !important;
  }

  #products.excom-pv--grid .exsd-short-feature-icon-wrap {
    width: 27px !important;
    height: 27px !important;
    min-width: 27px !important;
    min-height: 27px !important;
    max-width: 27px !important;
    max-height: 27px !important;
    padding: 5px !important;
    border-radius: 7px !important;
  }

  #products.excom-pv--grid .exsd-short-feature-icon-wrap > img.exsd-short-feature-icon {
    width: 17px !important;
    height: 17px !important;
    min-width: 17px !important;
    min-height: 17px !important;
    max-width: 17px !important;
    max-height: 17px !important;
  }

  #products.excom-pv--grid .exsd-short-feature-label {
    font-size: .66rem !important;
  }

  #products.excom-pv--grid .exsd-short-feature-value {
    font-size: .75rem !important;
  }

  #products.excom-pv--grid .product-miniature__prices {
    gap: 6px !important;
  }

  #products.excom-pv--grid .product-miniature__price {
    font-size: 1.12rem !important;
  }

  #products.excom-pv--grid .product-miniature__regular-price {
    font-size: .76rem !important;
  }

  #products.excom-pv--grid .product-miniature__form {
    grid-template-columns: 90px minmax(0, 1fr) !important;
    gap: 5px !important;
  }

  #products.excom-pv--grid .quantity-button,
  #products.excom-pv--grid .quantity-button__group {
    width: 90px !important;
    min-width: 90px !important;
    max-width: 90px !important;
  }

  #products.excom-pv--grid .product-miniature__add {
    padding: 0 9px !important;
  }

  #products.excom-pv--grid .product-miniature__add-text {
    font-size: .82rem !important;
  }

  #products.excom-pv--grid .excom-product-description,
  #products.excom-pv--grid .excom-compare-slot--commerce > .cdpcp-compare-btn {
    font-size: .7rem !important;
  }
}


/* ===== EXCOM 0.3.76: GRID description button placement fix =====
   Fix: on some devices/browsers the Description button escaped the bottom action row.
   We avoid display: contents here and place both buttons in stable grid columns.
*/
#products.excom-pv--grid .excom-card-action-row {
  order: 3 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 0 !important;
  align-items: stretch !important;
}

#products.excom-pv--grid .excom-card-secondary-actions {
  grid-column: 1 !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

#products.excom-pv--grid .excom-card-secondary-actions > .excom-product-description {
  display: inline-flex !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 40px !important;
  height: 40px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  margin: 0 !important;
  padding: 0 8px !important;
  border-radius: 6px !important;
  font-size: .78rem !important;
  white-space: nowrap !important;
}

#products.excom-pv--grid .excom-card-secondary-actions > .excom-list-quickview {
  display: none !important;
}

#products.excom-pv--grid .excom-compare-slot--commerce {
  grid-column: 2 !important;
  display: flex !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

@media (max-width: 575.98px) {
  #products.excom-pv--grid .excom-card-secondary-actions > .excom-product-description,
  #products.excom-pv--grid .excom-compare-slot--commerce > .cdpcp-compare-btn {
    font-size: .7rem !important;
  }
}

/* ===== EXCOM 0.3.77: GRID Opis + Porównaj in the SAME ROW =====
 * DOM order is Compare first, Description second. With only grid-column set,
 * CSS Grid auto-placement could push Description into the next row.
 * Lock both containers to row 1 explicitly.
 */
#products.excom-pv--grid .excom-card-action-row {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  grid-template-rows: 40px !important;
  align-items: stretch !important;
}

#products.excom-pv--grid .excom-card-secondary-actions {
  grid-column: 1 !important;
  grid-row: 1 !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

#products.excom-pv--grid .excom-compare-slot--commerce {
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: flex !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

#products.excom-pv--grid .excom-card-secondary-actions > .excom-product-description,
#products.excom-pv--grid .excom-compare-slot--commerce > .cdpcp-compare-btn {
  width: 100% !important;
  height: 40px !important;
  min-height: 40px !important;
  margin: 0 !important;
}


/* ===== EXCOM 0.3.78: premium GRID style in four module sections =====
 * Applies the accepted category GRID card design to:
 * - Inny produkt w tej samej kategorii (ps-categoryproducts)
 * - Ostatnio przeglądane (ps-viewedproduct)
 * - Special deals (ps-specials)
 * - Latest arrivals (ps-newproducts)
 * Other module product blocks are intentionally untouched.
 */

:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature {
  height: 100% !important;
  min-width: 0 !important;
}

:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__inner {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  overflow: hidden !important;
  background: #fff !important;
  border: 1px solid #e7ebf0 !important;
  border-radius: 18px !important;
  box-shadow: 0 8px 26px rgba(23,43,77,.08) !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}

:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__inner:hover {
  transform: translateY(-2px) !important;
  border-color: #d7dee8 !important;
  box-shadow: 0 12px 32px rgba(23,43,77,.12) !important;
}

/* Image area */
:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__top {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0 !important;
  min-height: 0 !important;
  padding: 16px 16px 0 !important;
  overflow: visible !important;
  background: #fff !important;
}

:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__top .product-miniature__image-container,
:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__top .thumbnail-container {
  width: min(88%, 340px) !important;
  max-width: 340px !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 3 / 2 !important;
  margin: 4px auto 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: #fff !important;
}

:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__image-link,
:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__top picture {
  display: flex !important;
  width: 100% !important;
  height: 100% !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__image,
:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__top img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
}

/* Same accepted GRID design: Compare is at the bottom, not below the photo. */
:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .excom-compare-slot--info {
  display: none !important;
}

:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__top .product-miniature__quickview-button,
:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__top .product-miniature__quickview-touch {
  display: none !important;
}

/* Information */
:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__bottom {
  display: flex !important;
  flex: 1 1 auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__infos {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: 2px 18px 16px !important;
}

:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__content {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
}

/* Manufacturer logo stays beside title, exactly as in category GRID. */
:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .excom-product-card-heading {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  margin: 0 0 7px !important;
}

:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .excom-product-card-brand {
  flex: 0 0 auto !important;
  margin-top: 1px !important;
}

:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .excom-product-card-brand__logo {
  width: 32px !important;
  height: 32px !important;
  object-fit: contain !important;
}

:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__title {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  overflow: hidden !important;
  color: #151a22 !important;
  font-size: 1.03rem !important;
  font-weight: 700 !important;
  line-height: 1.24 !important;
  text-decoration: none !important;
}

:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__title:hover {
  color: #0668d7 !important;
}

:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .excom-product-meta--miniature {
  margin: 0 0 10px !important;
  padding: 0 0 10px !important;
  border-bottom: 1px solid #edf0f4 !important;
  color: #59636f !important;
  font-size: .76rem !important;
  line-height: 1.35 !important;
}

/* Short specification */
:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .excom-product-card-before-price {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
}

:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .exsd-short-features {
  display: grid !important;
  gap: 2px !important;
  width: 100% !important;
  margin: 0 0 12px !important;
  font-size: .84rem !important;
  line-height: 1.2 !important;
}

:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .exsd-short-feature-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  column-gap: 9px !important;
  min-height: 39px !important;
  padding: 4px 0 !important;
  align-items: center !important;
}

:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .exsd-short-feature-row:has(.exsd-short-feature-icon-wrap) {
  grid-template-columns: 36px minmax(0,1fr) !important;
}

:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .exsd-short-feature-label-group {
  display: contents !important;
}

:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .exsd-short-feature-icon-wrap {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  display: inline-flex !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  margin: 0 !important;
  padding: 6px !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  overflow: hidden !important;
  border-radius: 8px !important;
  background: #f4f6f8 !important;
}

:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .exsd-short-feature-icon-wrap > img.exsd-short-feature-icon {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  margin: 0 !important;
  object-fit: contain !important;
}

:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .exsd-short-feature-label {
  grid-column: 1 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
  margin: 0 !important;
  color: #8a94a3 !important;
  font-size: .74rem !important;
  font-weight: 400 !important;
  line-height: 1.15 !important;
}

:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .exsd-short-feature-value {
  grid-column: 1 !important;
  grid-row: 2 !important;
  min-width: 0 !important;
  margin: 1px 0 0 !important;
  color: #202733 !important;
  font-size: .86rem !important;
  font-weight: 500 !important;
  line-height: 1.18 !important;
}

:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .exsd-short-feature-row:has(.exsd-short-feature-icon-wrap) .exsd-short-feature-label,
:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .exsd-short-feature-row:has(.exsd-short-feature-icon-wrap) .exsd-short-feature-value {
  grid-column: 2 !important;
}

/* Commerce area */
:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__commerce {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  width: 100% !important;
  margin-top: auto !important;
}

:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__prices {
  order: 1 !important;
  display: grid !important;
  grid-template-columns: minmax(0,1fr) !important;
  grid-template-rows: auto auto !important;
  align-items: end !important;
  justify-items: end !important;
  row-gap: 2px !important;
  column-gap: 0 !important;
  width: 100% !important;
  margin: 4px 0 10px !important;
  padding-top: 10px !important;
  border-top: 1px solid #edf0f4 !important;
}

/* EXCOM 0.3.94: slider/module cards — both prices on the right.
 * The regular (old) price is shown above the current price. */
:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__price {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  justify-self: end !important;
  text-align: right !important;
  color: #0c1118 !important;
  font-size: 1.48rem !important;
  font-weight: 750 !important;
  line-height: 1.05 !important;
  white-space: nowrap !important;
}

:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__discount-price {
  grid-column: 1 / -1 !important;
  grid-row: 1 !important;
  justify-self: end !important;
  align-self: end !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 0 2px !important;
  text-align: right !important;
}

:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__regular-price {
  color: #7d8794 !important;
  font-size: .93rem !important;
  font-weight: 400 !important;
  white-space: nowrap !important;
}

/* Quantity + larger Add to cart */
:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__actions {
  order: 2 !important;
  width: 100% !important;
  margin: 0 0 8px !important;
}

:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__form {
  display: grid !important;
  grid-template-columns: 112px minmax(0,1fr) !important;
  align-items: stretch !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 0 !important;
}

:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .quantity-button,
:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .quantity-button__group {
  width: 112px !important;
  min-width: 112px !important;
  max-width: 112px !important;
  height: 46px !important;
  min-height: 46px !important;
  margin: 0 !important;
}

:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .quantity-button__group > .btn,
:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .quantity-button__group .form-control {
  height: 46px !important;
  min-height: 46px !important;
  line-height: 46px !important;
}

:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__add {
  display: inline-flex !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 46px !important;
  min-height: 46px !important;
  padding: 0 16px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  border-radius: 6px !important;
  font-size: .94rem !important;
  font-weight: 600 !important;
}

:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__add-text {
  display: inline !important;
  font-size: .94rem !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}

/* Opis + Porównaj in one bottom row */
:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .excom-card-action-row {
  order: 3 !important;
  display: grid !important;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
  grid-template-rows: 40px !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 0 !important;
  align-items: stretch !important;
}

:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .excom-card-secondary-actions {
  grid-column: 1 !important;
  grid-row: 1 !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .excom-card-secondary-actions > .excom-product-description {
  display: inline-flex !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 40px !important;
  min-height: 40px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  margin: 0 !important;
  padding: 0 8px !important;
  border-radius: 6px !important;
  font-size: .78rem !important;
  white-space: nowrap !important;
}

:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .excom-list-quickview {
  display: none !important;
}

:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .excom-compare-slot--commerce {
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: flex !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

/* Override the older generic module rule that hid commerce Compare. */
:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature .cdpcp-compare-btn {
  display: none !important;
}

:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .excom-compare-slot--commerce > .cdpcp-compare-btn {
  display: inline-flex !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 40px !important;
  min-height: 40px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  margin: 0 !important;
  padding: 0 8px !important;
  border: 1px solid #cfd6dd !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: #343c47 !important;
  font-size: .78rem !important;
  white-space: nowrap !important;
}

@media (max-width: 991.98px) {
  :is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__infos {
    padding: 2px 14px 14px !important;
  }

  :is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__title {
    font-size: .94rem !important;
  }

  :is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__form {
    grid-template-columns: 100px minmax(0,1fr) !important;
    gap: 6px !important;
  }

  :is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .quantity-button,
  :is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .quantity-button__group {
    width: 100px !important;
    min-width: 100px !important;
    max-width: 100px !important;
  }

  :is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__price {
    font-size: 1.28rem !important;
  }
}

@media (max-width: 575.98px) {
  :is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__inner {
    border-radius: 13px !important;
  }

  :is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__top {
    padding: 10px 9px 0 !important;
  }

  :is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__infos {
    padding: 2px 10px 11px !important;
  }

  :is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__title {
    font-size: .88rem !important;
    line-height: 1.2 !important;
  }

  :is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .excom-product-card-brand__logo {
    width: 27px !important;
    height: 27px !important;
  }

  :is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .exsd-short-feature-row {
    min-height: 34px !important;
    padding: 3px 0 !important;
  }

  :is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__prices {
    gap: 6px !important;
  }

  :is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__price {
    font-size: 1.12rem !important;
  }

  :is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__regular-price {
    font-size: .76rem !important;
  }

  :is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__form {
    grid-template-columns: 90px minmax(0,1fr) !important;
    gap: 5px !important;
  }

  :is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .quantity-button,
  :is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .quantity-button__group {
    width: 90px !important;
    min-width: 90px !important;
    max-width: 90px !important;
  }

  :is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__add {
    padding: 0 9px !important;
  }

  :is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__add-text {
    font-size: .82rem !important;
  }

  :is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .excom-product-description,
  :is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .excom-compare-slot--commerce > .cdpcp-compare-btn {
    font-size: .7rem !important;
  }
}


/* ===== EXCOM 0.3.82: ready for Excom - Slider produktów =====
 * Product-card APPEARANCE stays in the theme.
 * Slider mechanics, tabs, counts and responsive number of visible cards
 * are controlled by the excomproductslider module.
 */
.excom-productslider.module-products {
  width: 100% !important;
  max-width: 100% !important;
}

.excom-productslider .exps-track > .product-miniature {
  margin: 0 !important;
}

/* Important: do not let generic Hummingbird product grids force four columns
   inside the new slider. The module calculates actual card width. */
.excom-productslider .products.exps-track {
  display: flex !important;
  grid-template-columns: none !important;
}


/* ===== EXCOM 0.3.83: Excom Product Slider integration fix =====
 * The slider section itself has .module-products, so premium card rules must
 * target .excom-productslider.module-products (not a nested .module-products).
 */
.excom-productslider.module-products {
  margin-left: auto !important;
  margin-right: auto !important;
}

.excom-productslider.module-products .exps-track > .product-miniature {
  height: auto !important;
  align-self: stretch !important;
}

.excom-productslider.module-products .exps-track > .product-miniature > .product-miniature__inner {
  height: 100% !important;
}

/* EXCOM 0.3.84: retain short-description icons in the custom slider.
   When both modules provide an icon, prefer the short-description icon. */
.excom-productslider .exsd-short-feature-label-group:has(.exsd-short-feature-icon-wrap) > :is(.excom-fi-front-icon, .excom-fi-card-icon) {
  display: none !important;
}

/* EXCOM 0.3.87 — product center hook / compact three-column product page.
   All layout rules are scoped to the full product page, not quick view/cards. */
body.page-product .excom-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "heading" "gallery" "center" "purchase";
  gap: 16px;
  margin-bottom: 24px;
}
body.page-product .excom-product-layout > * { min-width: 0; }
body.page-product .excom-product-layout > .product__left {
  grid-area: gallery;
  margin: 0 !important;
}
body.page-product .excom-product-layout > .excom-product-layout__heading {
  grid-area: heading;
}
.excom-product-middle {
  grid-area: center;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.excom-product-layout__heading { min-width: 0; }
/* EXCOM 0.3.88: align the title and brand logo by their vertical centers. */
.page-product .excom-product-layout__heading .excom-product-heading {
  align-items: center !important;
}
.page-product .excom-product-layout__heading .excom-product-heading > .product__manufacturer {
  margin: 0 !important;
}
.excom-product-layout__heading .product__name { margin-bottom: 0; }
.excom-product-layout__heading .excom-product-meta--product { margin: 8px 0 0; }
.excom-product-center {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.excom-product-center > * { min-width: 0; max-width: 100%; }
.excom-product-center > .product__description-short:empty { display: none; }
.excom-product-center .exsd-short-features--product {
  flex: 0 0 auto;
  max-width: none;
  margin: 0;
}
.excom-product-center .exsd-short-features--product .exsd-short-feature-row {
  grid-template-columns: minmax(0, 44%) minmax(0, 1fr) !important;
  column-gap: 14px !important;
  padding: 10px 0 !important;
  border-bottom: 1px solid var(--bs-border-color, #dee2e6);
}
.excom-product-center .exsd-short-features--product .exsd-short-feature-row:first-child {
  padding-top: 0 !important;
}
.excom-product-center .exsd-short-feature-label { overflow-wrap: anywhere !important; }
.excom-product-purchase {
  grid-area: purchase;
  padding: 20px;
  border: 1px solid var(--bs-border-color, #dee2e6);
  border-radius: var(--bs-border-radius, 6px);
  background: var(--bs-body-bg, #fff);
}
.excom-product-purchase .product__actions,
.excom-product-purchase .product__add-to-cart-container { margin-bottom: 0; }
.excom-product-purchase .product__actions-qty-add { gap: 10px; }
.excom-product-purchase .product__quantity { width: 116px; flex: 0 0 116px; }
.excom-product-purchase .product__add-to-cart { flex: 1 1 150px; min-width: 0; }
.excom-product-purchase .product__add-to-cart-button { white-space: normal; }
.excom-product-purchase .product__additional-info { margin-top: 20px; gap: 16px; }
/* Neutralize old fixed gallery heights and negative offsets for this layout. */
body.page-product .excom-product-layout > .product__left .product__carousel {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3;
  max-height: 360px !important;
  margin: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
}
body.page-product .excom-product-layout > .product__left .product__carousel :is(.carousel-inner, .carousel-item, picture) {
  width: 100% !important;
  height: 100% !important;
}
body.page-product .excom-product-layout > .product__left .product__carousel .carousel-item img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  transform: none !important;
  object-fit: contain !important;
  object-position: center !important;
}
body.page-product .excom-product-layout .product__images { margin-bottom: 0; }
body.page-product .excom-product-layout .product__thumbnails {
  margin-top: 6px !important;
  margin-block-start: 6px !important;
}
body.page-product .excom-product-layout .product__thumbnails-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 0;
}
body.page-product .excom-product-layout .product__thumbnails-list > .product__thumbnail {
  flex: 0 0 clamp(48px, calc(20% - 6.4px), 80px);
  width: clamp(48px, calc(20% - 6.4px), 80px);
  max-width: 100%;
}
/* Tablet (768–1199 px): full-width title, then the gallery, followed by
   parameters and the purchase panel side by side. */
@media (min-width: 768px) and (max-width: 1199.98px) {
  body.page-product .excom-product-layout {
    grid-template-columns: minmax(0, 1fr) clamp(320px, 38%, 360px);
    grid-template-areas: "heading heading" "gallery gallery" "center purchase";
    grid-template-rows: auto auto auto;
    column-gap: 24px;
    row-gap: 20px;
    align-items: stretch !important;
  }
  /* The center content takes its own grid area on narrower screens. */
  body.page-product .excom-product-middle {
    display: contents;
  }
  body.page-product .excom-product-layout__heading {
    grid-area: heading;
  }
  body.page-product .excom-product-center {
    grid-area: center;
  }
  body.page-product .excom-product-layout > .product__left {
    justify-self: stretch !important;
  }
  body.page-product .excom-product-layout > .excom-product-purchase {
    align-self: stretch;
  }
  /* Keep the main photo and its horizontal thumbnails together and centered. */
  body.page-product .excom-product-layout .product__images {
    max-width: 480px;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
@media (min-width: 1200px) {
  body.page-product .excom-product-layout {
    grid-template-columns: minmax(0, 30fr) minmax(0, 43fr) minmax(0, 27fr);
    grid-template-areas: "heading heading heading" "gallery center purchase";
    grid-template-rows: auto auto;
    column-gap: 24px;
    align-items: stretch !important;
  }
  body.page-product .excom-product-layout > .product__left {
    align-self: stretch !important;
  }
  body.page-product .excom-product-layout > .excom-product-purchase {
    align-self: stretch;
    /* EXCOM 0.3.195: remove the 16px heading gap above the purchase panel. */
    margin-top: -16px;
  }
}

@media (max-width: 767.98px) {
  body.page-product .excom-product-middle {
    display: contents;
  }
  body.page-product .excom-product-layout__heading {
    grid-area: heading;
  }
  body.page-product .excom-product-center {
    grid-area: center;
  }
}


/* ===== EXCOM 0.3.89: only the search widget moves into mobile offcanvas =====
 * Header badges are siblings of _desktop_ps_searchbar, so Hummingbird's
 * responsive child swap leaves them in the header rather than searchCanvas.
 */
.excom-desktop-search-group > #_desktop_ps_searchbar {
  flex: 0 1 auto;
  min-width: 0;
}

@media (max-width: 767.98px) {
  .excom-desktop-search-group {
    display: none !important;
  }
}


/* ===== EXCOM 0.3.90: regular mobile badge spacing next to search ===== */
@media (max-width: 767.98px) {
  .ps-searchbar--mobile {
    --excom-mobile-badge-gap: 6px;
    margin-left: auto !important;
    padding-left: 12px !important;
    gap: 0 !important;
  }

  .excom-search-badges--mobile {
    margin: 0 !important;
  }

  .excom-search-badges--mobile .excom-header-badges__items {
    gap: var(--excom-mobile-badge-gap) !important;
  }

  .excom-mobile-search-trigger {
    margin: 0 !important;
  }

  /* Button padding gives the magnifier the same gap as the badge images. */
  .excom-mobile-search-trigger .header-block__action-btn {
    padding-left: var(--excom-mobile-badge-gap) !important;
    padding-right: var(--excom-mobile-badge-gap) !important;
  }
}

/* Preserve the spacing on the narrowest phones without wrapping the header. */
@media (max-width: 359.98px) {
  .header-bottom .navbar-brand .logo {
    max-width: 5.7rem !important;
  }

  .excom-search-badges--mobile .excom-header-badge:nth-child(1) .excom-header-badge__image {
    max-width: 64px !important;
  }

  .excom-search-badges--mobile .excom-header-badge:nth-child(2) .excom-header-badge__image {
    max-height: 21px !important;
    max-width: 25px !important;
  }
}


/* ===== EXCOM 0.3.91: slightly lower the mobile store logo ===== */
@media (max-width: 767.98px) {
  .header-bottom__logo .logo {
    position: relative;
    top: 4px;
  }
}


/* ===== EXCOM 0.3.92: clearance below the lowered mobile logo ===== */
@media (max-width: 767.98px) {
  .header-bottom {
    padding-bottom: calc(.25rem + 6px);
  }
}

/* ===== EXCOM 0.3.95: phone icon + contact at top of mobile menu =====
 * The phone number remains plain text inside a tel: link for accessibility
 * and SEO; only the visible "Call us / Obsługa Klienta" label is replaced.
 */
#header .ps-contactinfo__phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  white-space: nowrap;
}

#header .ps-contactinfo__phone-icon {
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1;
}

#header .ps-contactinfo__phone-number {
  line-height: 1.25;
}

/* At >= 768px Hummingbird keeps ps_contactinfo in the desktop placeholder,
 * so the mobile placeholder is empty and must not reserve any space. */
#mobileMenu .excom-mobile-menu-contact:empty {
  display: none !important;
}

@media (max-width: 767.98px) {
  #mobileMenu .excom-mobile-menu-contact {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 16px 10px;
    border-bottom: 1px solid #edf0f4;
  }

  #mobileMenu .excom-mobile-menu-contact .ps-contactinfo {
    width: 100%;
  }

  #mobileMenu .excom-mobile-menu-contact .ps-contactinfo__phone {
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
  }

  #mobileMenu .excom-mobile-menu-contact .ps-contactinfo__phone-icon {
    font-size: 20px;
  }
}


/* ===== EXCOM 0.3.96: stacked prices + responsive quantity/cart fix =====
 * CATEGORY GRID + LIST:
 * - old/regular price is shown ABOVE the current price,
 * - both prices are aligned to the RIGHT,
 * - quantity controls always stay inside their own track on narrow cards,
 *   preventing the Add to cart button from overlapping the +/-/quantity field.
 * Presentation only: price text and product semantics remain unchanged.
 */

/* ---------- GRID: old price above current price, both right aligned ---------- */
#products.excom-pv--grid .product-miniature__prices {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
  gap: 2px !important;
  width: 100% !important;
  text-align: right !important;
}

#products.excom-pv--grid .product-miniature__discount-price {
  order: -1 !important;
  display: block !important;
  width: 100% !important;
  margin: 0 0 2px !important;
  text-align: right !important;
  line-height: 1.15 !important;
}

#products.excom-pv--grid .product-miniature__price,
#products.excom-pv--grid .product-miniature__regular-price {
  width: 100% !important;
  text-align: right !important;
}

#products.excom-pv--grid .product-miniature__price {
  order: 0 !important;
  justify-self: auto !important;
}

/* ---------- LIST: old price above current price, both right aligned ---------- */
#products.excom-pv--list .product-miniature__commerce .product-miniature__prices {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
  gap: 2px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  text-align: right !important;
}

#products.excom-pv--list .product-miniature__commerce .product-miniature__discount-price {
  order: -1 !important;
  display: block !important;
  width: 100% !important;
  margin: 0 0 2px !important;
  text-align: right !important;
  line-height: 1.15 !important;
}

#products.excom-pv--list .product-miniature__commerce .product-miniature__price,
#products.excom-pv--list .product-miniature__commerce .product-miniature__regular-price {
  width: 100% !important;
  text-align: right !important;
}

#products.excom-pv--list .product-miniature__commerce .product-miniature__price {
  order: 0 !important;
}

/* ---------- GRID: quantity selector must never overflow into Add to cart ----------
 * Older card rules used fixed 34 + 40 + 34 px inner columns (=108 px), while
 * responsive rules later shrink the outer quantity box to 100/90 px. Make the
 * three inner cells fluid so they always fit the actual outer width.
 */
#products.excom-pv--grid .quantity-button,
#products.excom-pv--grid .quantity-button__group {
  min-width: 0 !important;
  box-sizing: border-box !important;
}

#products.excom-pv--grid .quantity-button__group {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-template-rows: 46px !important;
  overflow: hidden !important;
}

#products.excom-pv--grid .quantity-button__group > .btn,
#products.excom-pv--grid .quantity-button__group > .form-control {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

#products.excom-pv--grid .product-miniature__form {
  min-width: 0 !important;
}

#products.excom-pv--grid .product-miniature__add {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

#products.excom-pv--grid .product-miniature__add-text {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

@media (max-width: 991.98px) {
  #products.excom-pv--grid .quantity-button__group {
    grid-template-rows: 46px !important;
  }
}

@media (max-width: 575.98px) {
  #products.excom-pv--grid .quantity-button__group {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  /* On very narrow cards keep the controls side-by-side without collision. */
  #products.excom-pv--grid .product-miniature__form {
    grid-template-columns: minmax(84px, 90px) minmax(0, 1fr) !important;
  }

  #products.excom-pv--grid .quantity-button,
  #products.excom-pv--grid .quantity-button__group {
    width: 90px !important;
    min-width: 0 !important;
    max-width: 90px !important;
  }
}


/* ===== EXCOM 0.3.98: mobile phone strip right-aligned above the cart/header row =====
 * Keeps the phone number as visible text inside a tel: link. The standard
 * responsive ps_contactinfo instance used by the offcanvas menu is untouched.
 */
.excom-mobile-top-contact {
  background: #fff;
  border-bottom: 1px solid #dee2e6;
}

@media (max-width: 767.98px) {
  #header .excom-mobile-top-contact .container-md {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 34px;
    padding-top: 5px;
    padding-bottom: 5px;
  }

  #header .excom-mobile-top-contact .ps-contactinfo {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: auto;
    margin-left: auto;
    text-align: right;
  }

  #header .excom-mobile-top-contact .ps-contactinfo__phone {
    gap: 6px;
    color: #212529;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
  }

  #header .excom-mobile-top-contact .ps-contactinfo__phone-icon {
    font-size: 16px;
  }
}


/* ===== EXCOM 0.3.99: LIST purchase controls above secondary actions ===== */
#products.excom-pv--list .product-miniature__commerce > .product-miniature__prices { order: 1 !important; }
#products.excom-pv--list .product-miniature__commerce > .product-miniature__actions { order: 2 !important; margin: 0 !important; }
#products.excom-pv--list .product-miniature__commerce > .excom-card-action-row { order: 3 !important; margin: 7px 0 0 !important; }
#products.excom-pv--list .excom-card-secondary-actions { margin: 0 0 0 auto !important; }
#products.excom-pv--list .product-miniature__commerce > .product-miniature__actions > .product-miniature__form { margin-left: auto !important; }

/* Respond to the actual list width: a sidebar can leave less room than the
 * viewport suggests. Keep the product title readable beside its photo. */
#products.excom-pv--list { container: excom-list / inline-size; }
@container excom-list (max-width: 760px) {
  #products.excom-pv--list .product-miniature__inner {
    grid-template-columns: 110px minmax(0, 1fr) !important;
    column-gap: 16px !important;
  }
  #products.excom-pv--list .product-miniature__top { width: 110px !important; max-width: 110px !important; }
  #products.excom-pv--list .product-miniature__top .product-miniature__image-container {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 100px !important;
    min-height: 0 !important;
  }
  #products.excom-pv--list .product-miniature__top :is(.product-miniature__image-link, picture) { width: 100% !important; max-width: 100% !important; }
  #products.excom-pv--list .product-miniature__top .product-miniature__image { width: 100% !important; max-width: 100% !important; height: 100% !important; object-fit: contain !important; }
  #products.excom-pv--list .product-miniature__infos {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
  }
  #products.excom-pv--list .product-miniature__content { width: 100% !important; min-width: 0 !important; }
  #products.excom-pv--list .product-miniature__commerce {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    width: 100% !important;
    max-width: none !important;
    margin: 14px 0 0 !important;
    padding: 0 !important;
    border-left: 0 !important;
  }
}
@container excom-list (max-width: 400px) {
  #products.excom-pv--list .product-miniature__inner { grid-template-columns: 76px minmax(0, 1fr) !important; column-gap: 12px !important; }
  #products.excom-pv--list .product-miniature__top { width: 76px !important; max-width: 76px !important; }
  #products.excom-pv--list .product-miniature__top .product-miniature__image-container { height: 76px !important; }
  #products.excom-pv--list .product-miniature__top .badge { max-width: 76px; padding-inline: 4px; font-size: 10px; }
  #products.excom-pv--list .product-miniature__top .excom-compare-slot--info > .cdpcp-compare-btn { max-width: 76px !important; padding-inline: 4px !important; font-size: 10px !important; }
}
/* Excom 0.3.102: availability, shipping cost and delivery time share the native
   AJAX-refreshed availability block. Labels stay readable in every view. */
.product__availability > .exsc { margin: 8px 0 10px; }
.product__availability > .exsc .exsc__delivery { text-align: start; }
#products.excom-pv--list .exsc__delivery-content,
#products.excom-pv--minimal .exsc__delivery-content { text-wrap: pretty; }

/* Excom 0.3.103: keep the compact title and metadata together. Delivery can
   wrap independently in its own column without stretching the title row. */
#products.excom-pv--minimal .product-miniature__infos {
  grid-template-rows: auto auto !important;
  align-content: center !important;
  row-gap: 4px !important;
}
#products.excom-pv--minimal .product-miniature__content {
  display: flex !important;
  flex-direction: column !important;
  grid-column: 1 !important;
  grid-row: 2 !important;
  align-self: center !important;
  gap: 3px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
#products.excom-pv--minimal .product-miniature__content > .excom-product-card-heading {
  align-self: stretch !important;
  margin: 0 !important;
}
#products.excom-pv--minimal .product-miniature__content > .excom-product-meta--miniature {
  align-self: stretch !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}
/* The current price is an inline-flex element. Text alignment alone cannot
   align its contents: explicitly anchor the flex content to the right. */
#products.excom-pv--minimal .product-miniature .product-miniature__prices > .product-miniature__price {
  display: flex !important;
  justify-content: flex-end !important;
  align-self: flex-end !important;
  width: 100% !important;
  text-align: right !important;
}
@media (max-width: 575.98px) {
  #products.excom-pv--minimal .product-miniature__infos {
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto auto !important;
    column-gap: 8px !important;
  }
  #products.excom-pv--minimal .product-miniature__content {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
  }
  #products.excom-pv--minimal .product-miniature__prices {
    grid-column: 1 !important;
    grid-row: 3 !important;
    min-width: 0 !important;
    width: 100% !important;
  }
  #products.excom-pv--minimal .product-miniature__actions {
    grid-column: 2 !important;
    grid-row: 3 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 0 !important;
  }
  #products.excom-pv--minimal .product-miniature__form {
    width: max-content !important;
    min-width: 0 !important;
    max-width: none !important;
  }
  #products.excom-pv--minimal .product-miniature .product-miniature__prices > .exsc.exsc--listing[data-exsc-visible="1"] {
    max-width: 100% !important;
  }
}

/* Excom 0.3.104: one-line tax labels, compact metadata tiles and right-aligned
   listing delivery dates. Native presenters still decide amounts and tax basis. */
.excom-price-tax {
  display: inline-block;
  flex: 0 0 auto;
  margin: 0;
  color: #667382;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
  text-transform: none;
  letter-spacing: normal;
  text-decoration: none;
}
.excom-price-value { min-width: 0; white-space: nowrap; }
.product__price,
.product-miniature .product-miniature__price,
:is(#products, .module-products) .product-miniature .product-miniature__price {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: baseline !important;
  column-gap: 5px !important;
}
.product-miniature .product-miniature__price,
:is(#products, .module-products) .product-miniature .product-miniature__price {
  justify-content: flex-end !important;
}
.excom-regular-price-line {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: baseline;
  justify-content: flex-end;
  gap: 5px;
  max-width: 100%;
  white-space: nowrap;
}
:is(#products, .module-products) .product-miniature .excom-regular-price-line > .product-miniature__regular-price {
  width: auto !important;
}
.excom-regular-price-line > .excom-price-tax { font-size: 11px; }
#products.excom-pv--minimal .product-miniature .excom-price-tax { font-size: 10px; }

/* Metadata stays under the title and keeps its native combination-refresh
   hooks. Empty fields remain hidden; longer translated conditions may wrap. */
.excom-product-meta--product,
:is(#products, .module-products) .product-miniature .excom-product-meta {
  align-items: stretch !important;
  gap: 6px !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: normal !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}
.excom-product-meta--product { max-width: 660px; }
.excom-product-meta--product > .excom-product-meta__item {
  flex: 0 1 auto;
  padding: 6px 12px;
}
:is(#products, .module-products) .product-miniature .excom-product-meta__item {
  flex: 0 1 auto;
}
#products.excom-pv--minimal .product-miniature .excom-product-meta {
  font-size: 11px !important;
  gap: 4px !important;
}
#products.excom-pv--minimal .excom-product-meta__item { padding: 3px 7px; }
.excom-product-meta:not(:has(> .excom-product-meta__item:not([hidden]))) { display: none !important; }

/* Align the wrapped date text itself, not just its outer flex container. */
#products.excom-pv--list .exsc--listing .exsc__delivery,
#products.excom-pv--list .exsc--listing .exsc__delivery-line {
  width: 100%;
  justify-content: flex-end;
}
/* Excom 0.3.105: inline layout keeps the icon beside the first word, even
   when right-aligned delivery text wraps onto another line. */
#products.excom-pv--list .exsc--listing .exsc__delivery-line {
  display: block;
  text-align: right;
  text-wrap: wrap;
}
#products.excom-pv--list .exsc--listing .exsc__delivery-content {
  display: contents;
  text-align: right;
  text-wrap: wrap;
}
#products.excom-pv--list .exsc--listing .exsc__delivery-line > .exsc__calendar,
#products.excom-pv--list .exsc--listing .exsc__delivery-line > .exsc__presale {
  vertical-align: -3px;
  margin: 0 3px 0 0;
}
@media (max-width: 575.98px) {
  .excom-product-meta--product > .excom-product-meta__item { padding: 5px 9px; }
}
/* A sidebar can leave a tablet card narrower than a phone's full-width list.
   Respond to the card width so long delivery dates cannot squeeze the title. */
#products.excom-pv--minimal .product-miniature {
  container-type: inline-size;
  container-name: excom-minimal;
}
@container excom-minimal (max-width: 760px) {
  #products.excom-pv--minimal .product-miniature__infos {
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto auto !important;
    column-gap: 8px !important;
  }
  #products.excom-pv--minimal .product-miniature__content {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
  }
  #products.excom-pv--minimal .product-miniature__prices {
    grid-column: 1 !important;
    grid-row: 3 !important;
    min-width: 0 !important;
    width: 100% !important;
  }
  #products.excom-pv--minimal .product-miniature__actions {
    grid-column: 2 !important;
    grid-row: 3 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 0 !important;
  }
  #products.excom-pv--minimal .product-miniature__form {
    width: max-content !important;
    min-width: 0 !important;
    max-width: none !important;
  }
}
@container excom-minimal (max-width: 320px) {
  #products.excom-pv--minimal .product-miniature__prices { grid-column: 1 / -1 !important; }
  #products.excom-pv--minimal .product-miniature__actions {
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;
    justify-self: end !important;
  }
}

/* Excom 0.3.106: optional module switch shares the mobile top strip. */
.product__prices .expt-gross-reference { flex-basis: 100%; }

/* Excom 0.3.110: align the smaller tax label with the price heading baseline.
   One flex gap replaces the previous gap plus margin; keep the arrow centered. */
.excom-facet-tax { font-size: 11px; font-weight: 400; margin: 0; color: #738091; }
:is(#left-column, #offcanvas-faceted) #search-filters .accordion-item[data-type="price"] > .accordion-button {
  align-items: baseline;
  column-gap: 6px;
}
:is(#left-column, #offcanvas-faceted) #search-filters .accordion-item[data-type="price"] > .accordion-button::after {
  align-self: center;
}

/* Excom 0.3.107: phone left, language in the middle, tax switch right.
   Desktop header and module positions remain unchanged. */
@media (max-width: 767.98px) {
  #header .excom-mobile-top-contact .container-md {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
  }
  #header .excom-mobile-top-contact__phone {
    flex: 0 0 auto;
    margin-right: auto;
  }
  #header .excom-mobile-top-contact .ps-contactinfo {
    margin-left: 0;
    justify-content: flex-start;
    text-align: left;
  }
  #header .excom-mobile-top-contact .ps-contactinfo__phone { white-space: nowrap; }
  #header .excom-mobile-top-contact__language { flex: 0 0 auto; }
  #header .excom-mobile-top-contact__language:empty { display: none; }
  #header .excom-mobile-top-contact .expt-switch {
    flex: 0 0 auto;
    margin: 0;
  }
  #header .excom-mobile-top-contact__language .ps-languageselector {
    position: relative;
    width: 44px;
    height: 28px;
  }
  #header .excom-mobile-top-contact__language .excom-language-code {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 100%;
    border: 1px solid #dbe3ed;
    border-radius: 5px;
    background: #fff;
    color: #516171;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    pointer-events: none;
  }
  #header .excom-mobile-top-contact__language .excom-language-code::after {
    content: '';
    width: 5px;
    height: 5px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: translateY(-1px) rotate(45deg);
  }
  #header .excom-mobile-top-contact__language .js-language-selector {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    cursor: pointer;
    /* Prevent automatic form-field zoom on iOS; visible code remains 12px. */
    font-size: 16px;
  }
  #header .excom-mobile-top-contact__language .ps-languageselector:focus-within .excom-language-code {
    outline: 2px solid #174f9a;
    outline-offset: 2px;
  }
}
@media (max-width: 359.98px) {
  #header .excom-mobile-top-contact .container-md { gap: 5px; }
  #header .excom-mobile-top-contact .ps-contactinfo__phone { gap: 4px; font-size: 12px; }
  #header .excom-mobile-top-contact .expt-switch button { padding-left: 6px; padding-right: 6px; }
}

/* EXCOM 0.3.117: minimal view — labelled Compare below the thumbnail,
 * Description / quantity + cart / Quick view beside the price.
 * Reuse the existing module buttons and hooks; no cloned controls or JS moves. */
#products.excom-pv--minimal .product-miniature__top {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 3px !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  overflow: visible !important;
  align-self: center !important;
}
#products.excom-pv--minimal .product-miniature__top .excom-compare-slot--info {
  display: flex !important;
  position: static !important;
  justify-content: center !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
#products.excom-pv--minimal .product-miniature .excom-compare-slot--info > .cdpcp-compare-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  flex: 0 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 22px !important;
  padding: 2px 3px !important;
  margin: 0 !important;
  font-size: 10px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  border-radius: 4px !important;
}
#products.excom-pv--minimal .excom-compare-slot--info .cdpcp-compare-btn__icon {
  flex: 0 0 10px !important;
  width: 10px !important;
  height: 10px !important;
  margin: 0 !important;
}
#products.excom-pv--minimal .excom-compare-slot--info .cdpcp-compare-btn__text {
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  clip: auto !important;
  overflow: visible !important;
  font-size: inherit !important;
  white-space: normal !important;
  line-height: 1.15 !important;
  text-align: center !important;
}
#products.excom-pv--minimal .excom-compare-slot--commerce {
  display: none !important;
}
#products.excom-pv--minimal .product-miniature__commerce,
#products.excom-pv--minimal .excom-card-action-row,
#products.excom-pv--minimal .excom-card-secondary-actions {
  display: contents !important;
}
#products.excom-pv--minimal .product-miniature__infos {
  grid-template-columns: minmax(0, 1fr) auto auto auto auto !important;
  grid-template-rows: auto !important;
  grid-template-areas: 'content price description cart quickview' !important;
  column-gap: 5px !important;
  row-gap: 6px !important;
}
#products.excom-pv--minimal .product-miniature__content { grid-area: content !important; }
#products.excom-pv--minimal .product-miniature__prices {
  grid-area: price !important;
  min-height: 0 !important;
  padding-right: 5px !important;
}
#products.excom-pv--minimal .excom-product-description {
  grid-area: description !important;
  justify-self: end !important;
  align-self: center !important;
}
#products.excom-pv--minimal .product-miniature__actions {
  grid-area: cart !important;
  justify-self: end !important;
  min-width: 0 !important;
  max-width: none !important;
  padding: 0 !important;
}
#products.excom-pv--minimal .excom-list-quickview {
  grid-area: quickview !important;
  justify-self: end !important;
  align-self: center !important;
}
@container excom-minimal (max-width: 760px) {
  #products.excom-pv--minimal .product-miniature__infos {
    grid-template-columns: minmax(0, 1fr) auto auto auto !important;
    grid-template-rows: auto auto !important;
    grid-template-areas: 'content content content content' 'price description cart quickview' !important;
  }
}
@container excom-minimal (max-width: 560px) {
  #products.excom-pv--minimal .product-miniature__infos {
    grid-template-columns: minmax(0, 1fr) auto auto !important;
    grid-template-rows: auto auto auto !important;
    grid-template-areas: 'content content content' 'price price price' 'description cart quickview' !important;
  }
  #products.excom-pv--minimal .product-miniature__prices { padding-right: 0 !important; }
}

/* EXCOM 0.3.118: visibility of add/remove labels and icons is controlled
 * by the comparison module state classes. Never force display on all labels. */

/* ===== EXCOM 0.3.119: pełna karta w widoku LIST =====
 * Widok listy otrzymuje taką samą obwódkę, zaokrąglenie, cień i efekt
 * najechania jak GRID. Zmiana jest wyłącznie prezentacyjna.
 */
#products.excom-pv--list #js-product-list > .products {
  row-gap: 14px !important;
}

#products.excom-pv--list .product-miniature__inner {
  overflow: hidden !important;
  background: #fff !important;
  border: 1px solid #e7ebf0 !important;
  border-radius: 18px !important;
  box-shadow: 0 8px 26px rgba(23, 43, 77, .08) !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}

#products.excom-pv--list .product-miniature__inner:hover {
  transform: translateY(-2px);
  border-color: #d7dee8 !important;
  box-shadow: 0 12px 32px rgba(23, 43, 77, .12) !important;
}



/* ===== EXCOM 0.3.121: LIST — Indeks i Stan na górze prawej kolumny =====
 * Używany jest ten sam pojedynczy blok metadanych co w pozostałych widokach.
 * Na szerokiej liście jest pozycjonowany nad ceną w kolumnie zakupu, bez
 * duplikowania treści w HTML. Na wąskiej liście wraca pod tytuł, ponieważ
 * prawa kolumna przechodzi wtedy pod opis produktu.
 */
#products.excom-pv--list .product-miniature__infos {
  position: relative !important;
  --excom-list-side-width: 194px;
}

@media (max-width: 1199.98px) and (min-width: 768px) {
  #products.excom-pv--list .product-miniature__infos {
    --excom-list-side-width: 188px;
  }
}

@container excom-list (min-width: 761px) {
  #products.excom-pv--list .product-miniature__content > .excom-product-meta--miniature {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 5px !important;
    width: calc(var(--excom-list-side-width) - 10px) !important;
    max-width: calc(var(--excom-list-side-width) - 10px) !important;
    margin: 0 !important;
  }

  #products.excom-pv--list .product-miniature__content > .excom-product-meta--miniature > .excom-product-meta__item {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 30px !important;
    align-items: baseline !important;
    justify-content: flex-start !important;
    padding: 5px 8px !important;
    box-sizing: border-box !important;
  }

  #products.excom-pv--list .product-miniature__content > .excom-product-meta--miniature .excom-product-meta__label {
    flex: 0 0 auto !important;
  }

  #products.excom-pv--list .product-miniature__content > .excom-product-meta--miniature .excom-product-meta__value {
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  /* Reserve space above price/actions while keeping the vertical divider
     running from the top of the purchase column. */
  #products.excom-pv--list .product-miniature__commerce {
    margin-top: 0 !important;
    padding-top: 84px !important;
  }
}

/* ===== EXCOM 0.3.123: LIST — pionowe wyważenie lewej i środkowej kolumny =====
 * Na szerokiej liście lewa kolumna nadal ma wysokość całego kafelka, ale zdjęcie
 * i przycisk Porównaj tworzą jeden zwarty blok wyśrodkowany pionowo — bez
 * rozpychania ich do górnej i dolnej krawędzi.
 * Również środkowa kolumna (logo producenta, tytuł oraz skrócony opis/parametry)
 * jest wyśrodkowana pionowo względem pełnej wysokości kafelka. Prawa kolumna
 * zakupu zachowuje układ z Indeksem i Stanem u góry. Zmiana jest wyłącznie CSS.
 */
@container excom-list (min-width: 761px) {
  #products.excom-pv--list .product-miniature__inner {
    align-items: stretch !important;
  }

  /* Lewa kolumna: zdjęcie + Porównaj jako jedna zwarta, pionowo wyśrodkowana grupa. */
  #products.excom-pv--list .product-miniature__top {
    align-self: stretch !important;
    justify-content: center !important;
    height: auto !important;
    min-height: 100% !important;
    box-sizing: border-box !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

  #products.excom-pv--list .product-miniature__top .product-miniature__image-container,
  #products.excom-pv--list .product-miniature__top .thumbnail-container {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  #products.excom-pv--list .product-miniature__top .excom-compare-slot--info {
    margin-top: 9px !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
  }

  /* Środkowa część ma tę samą pełną wysokość co karta. */
  #products.excom-pv--list .product-miniature__bottom,
  #products.excom-pv--list .product-miniature__infos {
    align-self: stretch !important;
    height: 100% !important;
    min-height: 100% !important;
  }

  #products.excom-pv--list .product-miniature__infos {
    align-items: stretch !important;
  }

  /* Logo + tytuł + skrócony opis/parametry pozostają zwarte i są
     wyśrodkowane pionowo względem całego kafelka. */
  #products.excom-pv--list .product-miniature__content {
    align-self: center !important;
  }

  /* Kolumna zakupowa nadal wykorzystuje pełną wysokość i pozostaje niezależna. */
  #products.excom-pv--list .product-miniature__commerce {
    align-self: stretch !important;
  }
}

/* ===== EXCOM 0.3.124 =====
 * MINIMAL: move Reference / Condition to the right side above the action row.
 * Desktop/tablet keep the compact one-line layout; small widths fall back to
 * the previous left-column metadata arrangement.
 */
.excom-minimal-right-meta {
  display: none;
}

#products.excom-pv--minimal .product-miniature__content > .excom-product-meta--miniature {
  display: none !important;
}

#products.excom-pv--minimal .excom-minimal-right-meta {
  display: flex !important;
  grid-area: meta !important;
  justify-self: end !important;
  align-self: end !important;
  min-width: 0 !important;
}

#products.excom-pv--minimal .excom-minimal-right-meta > .excom-product-meta--miniature-right {
  display: inline-flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-end !important;
  gap: 6px !important;
  margin: 0 !important;
}

#products.excom-pv--minimal .excom-product-meta--miniature-right > .excom-product-meta__item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 4px 8px !important;
  border: 1px solid #d7e1ec !important;
  border-radius: 4px !important;
  background: #f5f8fb !important;
  font-size: .82rem !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

#products.excom-pv--minimal .excom-product-meta--miniature-right .excom-product-meta__label {
  margin: 0 !important;
  color: #6b7684 !important;
  font-weight: 500 !important;
}

#products.excom-pv--minimal .excom-product-meta--miniature-right .excom-product-meta__value {
  font-weight: 600 !important;
  color: #202b37 !important;
}

#products.excom-pv--minimal .product-miniature__infos {
  grid-template-columns: minmax(0, 1fr) auto auto auto auto !important;
  grid-template-rows: auto auto !important;
  grid-template-areas:
    'content meta meta meta meta'
    'content price description cart quickview' !important;
  column-gap: 5px !important;
  row-gap: 6px !important;
  align-items: center !important;
}

#products.excom-pv--minimal .product-miniature__content {
  grid-area: content !important;
  align-self: center !important;
}

#products.excom-pv--minimal .product-miniature__prices {
  grid-area: price !important;
  align-self: center !important;
}

#products.excom-pv--minimal .excom-product-description {
  grid-area: description !important;
  justify-self: end !important;
  align-self: center !important;
}

#products.excom-pv--minimal .product-miniature__actions {
  grid-area: cart !important;
  justify-self: end !important;
  align-self: center !important;
}

#products.excom-pv--minimal .excom-list-quickview {
  grid-area: quickview !important;
  justify-self: end !important;
  align-self: center !important;
}

@container excom-minimal (max-width: 760px) {
  #products.excom-pv--minimal .product-miniature__content > .excom-product-meta--miniature {
    display: flex !important;
  }

  #products.excom-pv--minimal .excom-minimal-right-meta {
    display: none !important;
  }

  #products.excom-pv--minimal .product-miniature__infos {
    grid-template-columns: minmax(0, 1fr) auto auto auto auto !important;
    grid-template-rows: auto !important;
    grid-template-areas: 'content price description cart quickview' !important;
  }
}

/* ===== EXCOM 0.3.125 =====
 * MINIMAL:
 * - smaller Reference / Condition tiles on the right, stacked vertically
 *   (Reference on top, Condition below),
 * - title/content block vertically centered against the image area on the left.
 */
#products.excom-pv--minimal .excom-minimal-right-meta {
  align-self: start !important;
  justify-self: end !important;
}

#products.excom-pv--minimal .excom-minimal-right-meta > .excom-product-meta--miniature-right {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
  gap: 4px !important;
}

#products.excom-pv--minimal .excom-product-meta--miniature-right > .excom-product-meta__item {
  min-height: 0 !important;
  padding: 3px 8px !important;
  gap: 4px !important;
  font-size: .78rem !important;
  line-height: 1.15 !important;
  border-radius: 4px !important;
}

#products.excom-pv--minimal .excom-product-meta--miniature-right .excom-product-meta__label {
  font-size: .78rem !important;
  line-height: 1.15 !important;
}

#products.excom-pv--minimal .excom-product-meta--miniature-right .excom-product-meta__value {
  font-size: .78rem !important;
  line-height: 1.15 !important;
}

#products.excom-pv--minimal .product-miniature__content {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-self: center !important;
  min-height: 100% !important;
}

#products.excom-pv--minimal .product-miniature__content > .excom-product-card-heading {
  display: flex !important;
  align-items: center !important;
  min-height: 100% !important;
  margin: 0 !important;
}

#products.excom-pv--minimal .excom-product-card-heading .product-miniature__title {
  align-self: center !important;
}

@container excom-minimal (max-width: 760px) {
  #products.excom-pv--minimal .excom-minimal-right-meta > .excom-product-meta--miniature-right {
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
  }

  #products.excom-pv--minimal .product-miniature__content {
    min-height: 0 !important;
  }

  #products.excom-pv--minimal .product-miniature__content > .excom-product-card-heading {
    min-height: 0 !important;
  }
}

/* ===== EXCOM 0.3.126 =====
 * LIST: image + Compare should be vertically centered relative to the middle
 * information block (title + short description), not stretched to the full
 * card height.
 */
@container excom-list (min-width: 761px) {
  #products.excom-pv--list .product-miniature__inner {
    align-items: center !important;
  }

  #products.excom-pv--list .product-miniature__top {
    align-self: center !important;
    justify-content: center !important;
    min-height: 0 !important;
    height: auto !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  #products.excom-pv--list .product-miniature__bottom,
  #products.excom-pv--list .product-miniature__infos {
    align-self: center !important;
    height: auto !important;
    min-height: 0 !important;
  }

  #products.excom-pv--list .product-miniature__infos {
    align-items: center !important;
  }

  #products.excom-pv--list .product-miniature__content {
    align-self: center !important;
  }

  #products.excom-pv--list .product-miniature__commerce {
    align-self: stretch !important;
  }
}

/* ===== EXCOM 0.3.128: align the actual visible content =====
 * LIST: excom.js measures the short description and centers the complete
 * media group against it. Matching margins reserve room inside the card.
 * MINIMAL: the photo and title share a row; Compare has a separate row.
 */
@container excom-list (min-width: 761px) {
  #products.excom-pv--list .product-miniature__inner {
    --excom-align-list-media: 1;
  }

  #products.excom-pv--list .product-miniature__top {
    transform: translateY(var(--excom-list-media-shift, 0px)) !important;
    margin-block: var(--excom-list-media-reserve, 0px) !important;
    transition: none !important;
  }

  #products.excom-pv--list .product-miniature__content > .excom-product-meta--miniature {
    display: none !important;
  }

  #products.excom-pv--list .product-miniature__commerce {
    padding-top: 0 !important;
  }

  /* Use the existing right-hand copy in normal flow, including long values. */
  #products.excom-pv--list .excom-minimal-right-meta {
    display: block;
    order: 0;
    align-self: flex-end;
    width: 100%;
    min-width: 0;
    margin: 0 0 18px;
  }

  #products.excom-pv--list .excom-minimal-right-meta > .excom-product-meta--miniature-right {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    gap: 5px !important;
  }

  #products.excom-pv--list .excom-product-meta--miniature-right > .excom-product-meta__item {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    width: 100%;
    min-height: 30px;
    padding: 5px 8px;
    box-sizing: border-box;
    text-align: right;
  }

  #products.excom-pv--list .excom-product-meta--miniature-right .excom-product-meta__label {
    flex: 0 0 auto;
  }

  #products.excom-pv--list .excom-product-meta--miniature-right .excom-product-meta__value {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@container excom-minimal (min-width: 761px) {
  #products.excom-pv--minimal .product-miniature__inner {
    grid-template-columns: 77px minmax(0, 1fr) auto auto auto auto !important;
    grid-template-rows: auto auto auto !important;
    grid-template-areas:
      '. . meta meta meta meta'
      'image content price description cart quickview'
      'compare . price description cart quickview' !important;
    column-gap: 5px !important;
    row-gap: 3px !important;
    align-items: center !important;
  }

  #products.excom-pv--minimal .product-miniature__top,
  #products.excom-pv--minimal .product-miniature__bottom,
  #products.excom-pv--minimal .product-miniature__infos {
    display: contents !important;
  }

  #products.excom-pv--minimal .product-miniature__top > .product-miniature__image-container {
    grid-area: image !important;
    align-self: center !important;
  }

  #products.excom-pv--minimal .product-miniature__top > .excom-compare-slot--info {
    grid-area: compare !important;
    align-self: start !important;
    min-height: 0 !important;
  }

  #products.excom-pv--minimal .product-miniature__content {
    min-height: 0 !important;
    margin-left: 7px !important;
  }

  #products.excom-pv--minimal .product-miniature__content > .excom-product-card-heading {
    min-height: 0 !important;
  }

  #products.excom-pv--minimal .excom-minimal-right-meta {
    align-self: start !important;
    max-width: 100%;
  }

  #products.excom-pv--minimal .excom-minimal-right-meta > .excom-product-meta--miniature-right {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 6px !important;
  }

  #products.excom-pv--minimal .excom-product-meta--miniature-right .excom-product-meta__value {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

/* Missing native fields must stay hidden in both metadata locations. */
#products .excom-product-meta > .excom-product-meta__item[hidden] {
  display: none !important;
}
#products .excom-minimal-right-meta:not(:has(.excom-product-meta__item:not([hidden]))) {
  display: none !important;
}

/* Keep the existing stacked layout at narrow card widths. The desktop
 * metadata row must not force title, price and controls onto one mobile row. */
@container excom-minimal (max-width: 760px) {
  #products.excom-pv--minimal .product-miniature__infos {
    grid-template-columns: minmax(0, 1fr) auto auto auto !important;
    grid-template-rows: auto auto !important;
    grid-template-areas:
      'content content content content'
      'price description cart quickview' !important;
  }
}

@container excom-minimal (max-width: 560px) {
  #products.excom-pv--minimal .product-miniature__infos {
    grid-template-columns: minmax(0, 1fr) auto auto !important;
    grid-template-rows: auto auto auto !important;
    grid-template-areas:
      'content content content'
      'price price price'
      'description cart quickview' !important;
  }
}

/* ===== EXCOM 0.3.130: footer store icon, contact address, clean country-free layout ===== */
#footer .excom-footer-store {
  margin-bottom: 1rem;
}
#footer .excom-footer-store__name,
#footer .excom-footer-store__address {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
#footer .excom-footer-store__name {
  margin-bottom: 0.375rem;
}
#footer .excom-footer-store__name strong {
  font-weight: 600;
}
#footer .excom-footer-store__name > .material-icons,
#footer .excom-footer-store__address > .material-icons {
  flex: 0 0 auto;
  font-size: 1.125rem;
  line-height: 1.25;
}
#footer .excom-footer-store__address-text {
  margin: 0;
  min-width: 0;
  font-style: normal;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
#footer .excom-footer-store__address-line {
  display: block;
}


/* ==========================================================
   EXCOM – strona CMS "Gwarancja"
   Wszystkie reguły zaczynają się od .xg, więc nie kolidują z motywem.
   ========================================================== */
.xg{
  --xg-blue:#0672ce; --xg-blue-dark:#0559a6; --xg-navy:#10294f; --xg-deep:#092c51;
  --xg-text:#4a5d74; --xg-muted:#66788e; --xg-line:#dce7ef; --xg-soft:#f5f9fd; --xg-tint:#eaf4fd;
  --xg-r:10px;
  color:var(--xg-text); background:#fff; font-size:15px; line-height:1.6; overflow:hidden;
}
.xg *,.xg *::before,.xg *::after{box-sizing:border-box}
.xg h2,.xg h3,.xg p,.xg ul,.xg li{margin:0;padding:0}
.xg ul,.xg li{list-style:none!important}
.xg li::before{content:none!important}
.xg img{display:block;max-width:100%;height:auto;border:0}
.xg strong{color:var(--xg-navy)}
.xg .xg-i{font-family:"Material Icons";font-style:normal;font-weight:400;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;-webkit-font-feature-settings:"liga";font-feature-settings:"liga";-webkit-font-smoothing:antialiased;color:var(--xg-blue);vertical-align:middle;user-select:none}

/* ---------- typografia ---------- */
.xg .xg-eyebrow{margin:0 0 8px;font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--xg-blue)}
.xg h2.xg-title{margin:0 0 10px;font-size:clamp(24px,3vw,31px);line-height:1.2;font-weight:700;color:var(--xg-navy);text-transform:none;letter-spacing:normal}
.xg h3{margin:0 0 6px;font-size:17px;line-height:1.3;font-weight:700;color:var(--xg-navy);text-transform:none;letter-spacing:normal}
.xg .xg-sub{color:var(--xg-muted);font-size:15px}

/* ---------- sekcje / siatki ---------- */
.xg-section{padding:44px 18px}
.xg-section--soft{background:var(--xg-soft);border-top:1px solid var(--xg-line);border-bottom:1px solid var(--xg-line)}
.xg-head{max-width:680px;margin:0 auto 30px;text-align:center}
.xg-grid{display:grid;gap:16px;grid-template-columns:1fr}
@media (min-width:576px){
  .xg-grid--2,.xg-grid--3,.xg-grid--4{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:768px){
  .xg-section{padding:60px 40px}
}
@media (min-width:992px){
  .xg-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .xg-grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}
}

/* ---------- karty ---------- */
.xg-card{background:#fff;border:1px solid var(--xg-line);border-radius:var(--xg-r);padding:24px 20px}
.xg-card--center{text-align:center}
.xg-card--accent{border:2px solid var(--xg-blue)}
.xg-card p{font-size:14px;color:var(--xg-muted)}
.xg-ico{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;margin-bottom:14px;border-radius:50%;background:var(--xg-tint);font-size:23px;line-height:1}
.xg-ico .xg-i{font-size:inherit}
.xg .xg-card__big{margin:0 0 4px;font-size:26px;line-height:1.1;font-weight:700;color:var(--xg-navy)}

/* ---------- przyciski ---------- */
.xg a.xg-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 22px;border:2px solid transparent;border-radius:6px;font-size:14px;font-weight:700;line-height:1.2;text-decoration:none;white-space:nowrap;transition:background .15s,color .15s,border-color .15s}
.xg a.xg-btn .xg-i{color:inherit}
.xg a.xg-btn--primary{background:var(--xg-blue);color:#fff}
.xg a.xg-btn--primary:hover,.xg a.xg-btn--primary:focus{background:var(--xg-blue-dark);color:#fff}
.xg a.xg-btn--outline{background:#fff;color:var(--xg-navy);border-color:var(--xg-line)}
.xg a.xg-btn--outline:hover,.xg a.xg-btn--outline:focus{border-color:var(--xg-blue);color:var(--xg-blue)}
.xg a.xg-btn--light{background:#fff;color:var(--xg-deep)}
.xg a.xg-btn--light:hover,.xg a.xg-btn--light:focus{background:var(--xg-tint);color:var(--xg-deep)}
.xg a.xg-btn:focus-visible{outline:3px solid #8fc4ec;outline-offset:2px}
.xg-actions{display:flex;flex-wrap:wrap;gap:10px}

/* ---------- HERO ---------- */
.xg-hero{display:grid;grid-template-columns:1fr;align-items:center;gap:26px;padding:28px 18px 8px}
.xg-hero__logo{width:190px;margin-bottom:18px}
.xg h2.xg-hero__title{margin:0 0 14px;font-size:clamp(28px,3.6vw,38px);line-height:1.12;font-weight:700;color:var(--xg-navy)}
.xg-hero__title span{color:var(--xg-blue)}
.xg .xg-lead{margin-bottom:20px;font-size:16px}
.xg-highlight{display:flex;align-items:center;gap:14px;margin-bottom:16px;padding:14px 18px;background:var(--xg-tint);border-left:4px solid var(--xg-blue);border-radius:0 8px 8px 0}
.xg-highlight .xg-i{font-size:30px}
.xg-highlight strong{display:block;font-size:19px;line-height:1.2}
.xg-highlight span{font-size:13px;color:var(--xg-muted)}
.xg-checks{margin-bottom:22px!important}
.xg-checks li{padding:5px 0!important;font-size:15px;color:#314861}
.xg-checks .xg-i{display:inline-block;width:22px;margin-right:10px;text-align:center;font-size:18px;vertical-align:-2px}
.xg-hero__media img{width:100%;border-radius:var(--xg-r)}
@media (min-width:992px){
  .xg-hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;padding:36px 40px 44px}
  .xg-hero__logo{width:210px}
}

/* ---------- najważniejsze informacje ---------- */
.xg-info{max-width:920px;margin:0 auto;background:#fff;border:1px solid var(--xg-line);border-radius:var(--xg-r)}
.xg-info__row{display:grid;grid-template-columns:1fr;gap:4px;padding:16px 20px;border-bottom:1px solid #e5edf4}
.xg-info__row:last-child{border-bottom:0}
.xg-info__label{display:flex;align-items:center;gap:10px;font-weight:700;color:var(--xg-navy)}
.xg-info__label .xg-i{width:20px;text-align:center;font-size:18px}
.xg-info__value strong.xg-hl{color:var(--xg-blue);font-size:17px}
@media (min-width:768px){
  .xg-info__row{grid-template-columns:230px 1fr;gap:24px;align-items:baseline;padding:18px 24px}
}

/* ---------- kroki ---------- */
.xg-step{position:relative}
.xg-step__num{position:absolute;top:18px;right:20px;font-size:34px;font-weight:800;line-height:1;color:#e3edf6}
.xg .xg-step__label{margin-bottom:2px;font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--xg-blue)}

/* ---------- pasek CTA ---------- */
.xg-band{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:18px 30px;margin:24px 0 0;padding:24px;background:#fff;border:1px solid var(--xg-line);border-left:4px solid var(--xg-blue);border-radius:var(--xg-r)}
.xg-band h3{font-size:20px}
.xg-band p{font-size:14px;color:var(--xg-muted)}

/* ---------- bateria: liczby ---------- */
.xg .xg-stat{margin:2px 0 6px;font-size:40px;line-height:1.1;font-weight:800;color:var(--xg-blue)}

/* ---------- miernik kondycji ---------- */
.xg-split{display:grid;grid-template-columns:1fr;gap:28px;align-items:center}
.xg-split p + p{margin-top:12px}
@media (min-width:768px){ .xg-split{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:44px} }
.xg-meter{padding:24px;background:var(--xg-soft);border:1px solid var(--xg-line);border-radius:var(--xg-r)}
.xg-meter__row{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px dashed var(--xg-line);font-size:14px}
.xg-meter__bar{position:relative;height:14px;margin:22px 0 8px;background:#dfe8f0;border-radius:999px}
.xg-meter__fill{width:79%;height:100%;background:linear-gradient(90deg,#3d9be9,var(--xg-blue));border-radius:999px}
.xg-meter__limit{left:50%;position:absolute;top:-6px;bottom:-6px;width:2px;background:#c0392b}
.xg-meter__legend{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:var(--xg-muted)}
.xg-meter__legend b{color:#c0392b}
.xg-meter__result{margin-top:16px;padding:12px 16px;background:#fff;border-left:4px solid var(--xg-blue);border-radius:0 8px 8px 0;font-size:14px}
.xg-meter__result strong{font-size:20px;color:var(--xg-blue)}

/* ---------- listy z ikoną ---------- */
.xg-list{display:grid;grid-template-columns:1fr;gap:12px}
@media (min-width:768px){ .xg-list{grid-template-columns:repeat(2,minmax(0,1fr))} }
.xg-list li{display:flex;align-items:flex-start;gap:12px;padding:14px 16px!important;background:#fff;border:1px solid var(--xg-line);border-radius:8px;font-size:14px}
.xg-list li .xg-i{flex:0 0 auto;margin-top:2px;font-size:19px}
.xg-list li.is-key{border:2px solid var(--xg-blue);background:var(--xg-tint)}

/* ---------- zakres (kafelki) ---------- */
.xg-note{max-width:820px;margin:0 auto 24px;padding:14px 18px;background:var(--xg-tint);border-left:4px solid var(--xg-blue);border-radius:0 8px 8px 0;font-size:14px}
.xg-tiles{display:grid;grid-template-columns:1fr;gap:12px}
@media (min-width:480px){ .xg-tiles{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (min-width:992px){ .xg-tiles{grid-template-columns:repeat(3,minmax(0,1fr))} }
.xg-tiles li{display:flex;align-items:center;gap:14px;padding:16px 18px!important;border:1px solid var(--xg-line);border-radius:8px;font-weight:700;color:var(--xg-navy);font-size:14px}
.xg-tiles .xg-i{width:28px;text-align:center;font-size:24px}

/* ---------- wyłączenia + plomby ---------- */
.xg-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px!important}
.xg-chips li{display:inline-flex;align-items:center;gap:7px;padding:6px 13px!important;background:#fff;border:1px solid var(--xg-line);border-radius:999px;font-size:13px;color:#405772}
.xg-chips .xg-i{color:#8b9aab;font-size:16px}
.xg-seal{display:flex;gap:16px;padding:22px;background:#fff;border:1px solid var(--xg-line);border-radius:var(--xg-r)}
.xg-seal > .xg-i{flex:0 0 auto;font-size:30px}
.xg-seal p{font-size:14px;color:var(--xg-muted)}

/* ---------- końcowe CTA ---------- */
.xg-final{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:22px 40px;padding:36px 18px;background:var(--xg-deep);color:#c3d5e5}
.xg-final .xg-eyebrow{color:#8fc4ec}
.xg-final h2.xg-title{color:#fff;margin-bottom:6px}
.xg-final p{max-width:560px;font-size:14px;color:#c3d5e5}
@media (min-width:768px){ .xg-final{padding:40px} }

/* ---------- nota prawna ---------- */
.xg .xg-legal{padding:18px;font-size:12px;line-height:1.6;color:#6b7a8c;border-bottom:1px solid #e4edf4}
@media (min-width:768px){ .xg .xg-legal{padding:20px 40px} }
/* ===== Gwarancja – poprawki (tytuł H1, logo Dell pod przyciskami) ===== */
body.cms-id-6 .page-header{display:none}
.xg h1.xg-hero__title{margin:0 0 14px;font-size:clamp(28px,3.6vw,38px);line-height:1.12;font-weight:700;color:var(--xg-navy);letter-spacing:normal;text-transform:none}
.xg-partner{display:flex;align-items:center;gap:16px;margin-top:24px;padding-top:20px;border-top:1px solid var(--xg-line)}
.xg-partner img{flex:0 0 auto;width:160px}
.xg-partner span{font-size:13px;line-height:1.45;color:var(--xg-muted)}
@media (min-width:992px){.xg-hero{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}}

/* ===== Strona "O firmie" – korzysta z tych samych klas .xg co strona Gwarancja ===== */
.xg--red{--xg-blue:#2b2f36;--xg-blue-dark:#000;--xg-accent:#e90d3a;--xg-tint:#f0f1f3;--xg-navy:#22252b;--xg-deep:#22252b;--xg-text:#4b5260;--xg-muted:#6b7280;--xg-line:#e6e8ec;--xg-soft:#f7f7f8}
.xg--red .xg-eyebrow{color:#7a808a}
.xg--red .xg-final .xg-eyebrow{color:var(--xg-accent)}

/* tytuł motywu ukryty – H1 jest w treści strony (ten sam tekst + hasło) */
#center-column:has(.xg-about) .page-header{display:none}

/* nagłówek: tekst po lewej, 5000+ po prawej */
.xg .xg-hv__kicker{display:block;margin-bottom:8px;font-size:12px;line-height:1.3;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--xg-accent)}
.xg h1.xg-hv__title{margin:0 0 14px;font-size:clamp(28px,3.6vw,40px);line-height:1.12;font-weight:700;color:var(--xg-navy);letter-spacing:normal;text-transform:none}
.xg .xg-hv__title em{font-style:normal;color:var(--xg-accent)}
.xg .xg-hv__lead{margin:0 0 24px;font-size:16px}
.xg .xg-hv__logo{display:block;width:170px;height:auto;margin:0 0 22px}
.xg-hv--e{display:grid;grid-template-columns:1fr;gap:30px;align-items:center;padding:36px 18px 40px}
@media (min-width:992px){.xg-hv--e{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:0;padding:52px 40px}.xg-hv--e .xg-hv__side{padding-left:44px;border-left:1px solid var(--xg-line)}}
.xg-hv__big{display:block;font-size:clamp(46px,5.2vw,64px);line-height:1;font-weight:800;letter-spacing:-.02em;color:var(--xg-navy)}
.xg-hv__big em{font-style:normal;color:var(--xg-accent)}
.xg .xg-hv__bigl{margin:6px 0 20px;font-size:15px;color:var(--xg-muted)}
.xg-hv__list li{display:flex;align-items:center;gap:14px;padding:12px 0!important;border-top:1px solid var(--xg-line);font-size:15px;font-weight:700;color:var(--xg-navy)}
.xg .xg-hv__list .xg-i{display:flex;align-items:center;justify-content:center;flex:0 0 auto;width:40px;height:40px;border-radius:50%;background:#fdecef;color:var(--xg-accent);font-size:21px}
.xg-hv__meta{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:6px;padding-top:14px;border-top:1px solid var(--xg-line);font-size:13px;font-weight:600;color:var(--xg-navy)}
.xg-hv__meta span{display:inline-flex;align-items:center;gap:6px}
.xg .xg-hv__meta .xg-i{font-size:17px;color:var(--xg-muted)}

/* kim jesteśmy */
.xg-split--top{align-items:start}
.xg-split .xg-card h3 + .xg-checks{margin-top:8px!important}
.xg-split .xg-card .xg-checks + h3{margin-top:18px}
.xg-split .xg-card .xg-checks{margin-bottom:0!important}
.xg-split .xg-card .xg-checks li{display:flex;align-items:flex-start;line-height:1.45}
.xg-split .xg-card .xg-checks .xg-i{flex:0 0 auto;margin-top:1px}

/* logotypy partnerów */
.xg-logos{display:grid;grid-template-columns:1fr;gap:12px;max-width:900px;margin:0 auto}
@media (min-width:576px){.xg-logos{grid-template-columns:repeat(3,minmax(0,1fr))}}
.xg .xg-logos__item{display:flex;align-items:center;justify-content:center;height:110px;padding:16px;background:#fff;border:1px solid var(--xg-line);border-radius:var(--xg-r);transition:border-color .15s}
.xg a.xg-logos__item:hover{border-color:var(--xg-accent)}
.xg .xg-logos__item img{display:block;width:auto;max-width:100%;height:52px}

/* certyfikat */
.xg-cert{display:grid;grid-template-columns:1fr;gap:20px;align-items:center;max-width:900px;margin:16px auto 0;padding:20px;background:#fff;border:1px solid var(--xg-line);border-radius:var(--xg-r)}
@media (min-width:768px){.xg-cert{grid-template-columns:280px 1fr;gap:28px}}
.xg-cert__img img{width:100%;border:1px solid var(--xg-line);border-radius:6px}
.xg-cert p{font-size:14px;color:var(--xg-muted)}

/* ikony w kartach "Co nas wyróżnia" – czerwone koło w kolorze logo */
.xg--red .xg-grid .xg-ico{width:56px;height:56px;background:linear-gradient(135deg,#ff3d64,var(--xg-accent));box-shadow:0 8px 18px rgba(233,13,58,.25);font-size:26px}
.xg--red .xg-grid .xg-ico .xg-i{color:#fff}
/* ===== Strona "Komputery poleasingowe Dell" + elementy wspólne dla kolejnych stron ===== */
/* tytuł motywu ukryty na stronach, które mają własny H1 w treści */
#center-column:has(.xg-hide-title) .page-header{display:none}
.xg h1.xg-hero__title{margin:0 0 14px;font-size:clamp(28px,3.6vw,38px);line-height:1.12;font-weight:700;color:var(--xg-navy);letter-spacing:normal;text-transform:none}

/* szerszy nagłówek sekcji + hasło */
.xg-head--wide{max-width:820px}
.xg .xg-motto{margin-top:14px;font-size:19px;line-height:1.35;font-weight:700;color:var(--xg-blue)}

/* nagłówek sekcji: tytuł po lewej, opis po prawej */
.xg-head-split{display:grid;grid-template-columns:1fr;gap:10px 40px;align-items:end;margin-bottom:28px}
@media (min-width:768px){.xg-head-split{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}}
.xg-head-split .xg-title{margin-bottom:0}
.xg-head-split .xg-title span{color:var(--xg-blue)}

/* karta z ikoną po lewej */
.xg-card--row{display:flex;gap:16px;align-items:flex-start}
.xg-card--row .xg-ico{flex:0 0 auto;margin-bottom:0}

/* zdjęcia z podpisem */
.xg .xg-photo{margin:0;overflow:hidden;background:#fff;border:1px solid var(--xg-line);border-radius:var(--xg-r)}
.xg .xg-photo img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
.xg .xg-photo figcaption{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 10px;padding:12px 16px;font-size:14px}
.xg .xg-photo figcaption span{font-size:11px;color:var(--xg-muted)}

/* kafelki 4 w rzędzie z podpisem */
@media (min-width:992px){.xg-tiles--4{grid-template-columns:repeat(4,minmax(0,1fr))}}
.xg-tiles--4 li{align-items:flex-start!important}
.xg-tiles--4 small{display:block;margin-top:2px;font-size:12px;font-weight:400;color:var(--xg-muted)}


/* ===== Strona "Certyfikat Dell" ===== */
.xg .xg-hero__media .xg-sub{margin-top:8px;font-size:13px;text-align:center}
.xg .xg-logo-big{height:220px}
.xg .xg-logo-big img{height:80px}
.xg-split .xg-checks li{display:flex;align-items:flex-start;line-height:1.45}
.xg-split .xg-checks .xg-i{flex:0 0 auto;margin-top:2px}
.xg-hero__text .xg-checks li{padding-left:32px!important;text-indent:-32px}
@media (max-width:767px){.xg .xg-logo-big{height:150px}.xg .xg-logo-big img{height:60px}}


/* ===== Strona "Leasing LeaseLink" – fioletowy wariant klas .xg ===== */
.xg--violet{--xg-blue:#5b2d90;--xg-blue-dark:#45207a;--xg-tint:#f1eaf9;--xg-soft:#f8f6fc;--xg-line:#e7dcf5;--xg-navy:#231a33;--xg-deep:#2a1648;--xg-text:#4a4458;--xg-muted:#6e6880}
.xg--violet .xg-final .xg-eyebrow{color:#cdb4f0}
.xg .xg-ll-logo{display:block;width:220px;height:auto;margin:0 0 20px}

/* karta z liczbami w nagłówku */
.xg-kpi{padding:24px;background:#fff;border:1px solid var(--xg-line);border-radius:14px;box-shadow:0 12px 32px rgba(45,22,80,.08)}
.xg .xg-kpi__title{margin:0 0 16px;font-size:16px;font-weight:700;color:var(--xg-navy)}
.xg-kpi__row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:18px}
.xg-kpi__row > div{padding:14px 8px;background:var(--xg-soft);border-radius:10px;text-align:center}
.xg .xg-kpi__row .xg-i{display:block;margin-bottom:6px;font-size:24px}
.xg-kpi__row b{display:block;font-size:22px;line-height:1.1;font-weight:800;color:var(--xg-blue)}
.xg-kpi__row small{display:block;margin-top:3px;font-size:12px;color:var(--xg-muted)}
.xg-kpi .xg-checks{margin:0!important;padding-top:16px!important;border-top:1px solid var(--xg-line)}
.xg-kpi .xg-checks li{padding-left:32px!important;text-indent:-32px;font-size:14px}

/* kroki ze zrzutami ekranu */
.xg-howto{display:grid;gap:18px}
.xg-howto__item{display:grid;grid-template-columns:1fr;gap:18px;align-items:center;padding:20px;background:#fff;border:1px solid var(--xg-line);border-radius:var(--xg-r)}
@media (min-width:768px){.xg-howto__item{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:32px;padding:24px}}
.xg-howto__num{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;margin-bottom:12px;border-radius:50%;background:var(--xg-blue);color:#fff;font-size:18px;font-weight:800}
.xg .xg-howto__num .xg-i{color:#fff;font-size:22px}
.xg-howto__text h3{font-size:20px}
.xg-howto__text p{font-size:15px}
.xg .xg-howto__img img{display:block;width:100%;height:auto;border:1px solid var(--xg-line);border-radius:8px}

/* odstęp drugiego nagłówka w tej samej sekcji */
.xg .xg-head--gap{margin-top:44px}

/* kontakt */
.xg-contact p{margin-bottom:10px!important;font-size:15px;color:var(--xg-text)}
.xg .xg-contact__row{display:flex;align-items:center;gap:10px;margin:0 0 6px!important}
.xg-contact a{color:var(--xg-blue);font-weight:600}


/* ===== Odroczona płatność / Leasing – wyróżniony punkt na całą szerokość ===== */
.xg--violet .xg-list li.is-key{grid-column:1/-1}


/* ===== Strona "Regulamin" – dokument prawny w stylu .xg ===== */
.xg-doc{max-width:900px;margin:0 auto}
.xg-doc__cards{margin-top:24px}
.xg-doc__sec{padding:26px 0;border-top:1px solid var(--xg-line)}
.xg-doc__sec:first-child{border-top:0;padding-top:0}
.xg .xg-doc h2{margin:0 0 14px;font-size:21px;line-height:1.3;font-weight:700;color:var(--xg-navy)}
.xg .xg-doc ol{margin:0!important;padding:0 0 0 24px!important}
.xg .xg-doc ol > li{list-style:decimal!important;margin:0 0 10px!important;padding-left:4px!important;font-size:15px;line-height:1.7;color:var(--xg-text)}
.xg .xg-doc ol.xg-doc__alpha{margin:8px 0 0!important}
.xg .xg-doc ol.xg-doc__alpha > li{list-style:lower-alpha!important;margin-bottom:4px!important}
.xg .xg-doc li::marker{color:var(--xg-blue);font-weight:700}
.xg .xg-todo{padding:0 4px;background:#fff3bf;border-radius:3px;color:#7a5b00;font-weight:600}
.xg-doc__form{padding:20px;background:var(--xg-soft);border:1px dashed var(--xg-line);border-radius:var(--xg-r)}
.xg-doc__form p{margin:0 0 10px!important;font-size:14px}
.xg .xg-doc__logo{display:block;width:140px;height:auto;margin:0 0 16px;mix-blend-mode:multiply}
.xg .xg-doc__note{margin-top:10px;font-size:13px;font-style:italic;color:var(--xg-muted)}


/* ===== Okno „Dodano do koszyka” (ps_shoppingcart/modal.tpl) – wariant A ===== */
#blockcart-modal.xcm{
  --xcm-blue:#0672ce; --xcm-blue-dark:#0559a6; --xcm-navy:#10294f; --xcm-text:#4a5d74;
  --xcm-muted:#66788e; --xcm-line:#dce7ef; --xcm-soft:#f5f9fd; --xcm-green:#1f8a4c; --xcm-green-bg:#e8f6ee;
  --bs-modal-width:880px;
}
#blockcart-modal.xcm .xcm__content{border:0;border-radius:14px;box-shadow:0 24px 70px rgba(9,44,81,.35);overflow:hidden;color:var(--xcm-text)}
#blockcart-modal.xcm p{margin:0}
#blockcart-modal.xcm .material-icons{line-height:1}

/* nagłówek */
#blockcart-modal.xcm .xcm__head{display:flex;align-items:center;gap:14px;padding:20px 24px;border-bottom:1px solid var(--xcm-line)}
#blockcart-modal.xcm .xcm__ok{flex:0 0 auto;display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;background:var(--xcm-green-bg);color:var(--xcm-green)}
#blockcart-modal.xcm .xcm__ok .material-icons{font-size:24px}
#blockcart-modal.xcm .xcm__head-text{min-width:0}
#blockcart-modal.xcm .xcm__title{font-size:21px;font-weight:700;line-height:1.2;color:var(--xcm-navy)}
#blockcart-modal.xcm .xcm__subtitle{margin-top:3px;font-size:14px;color:var(--xcm-muted)}
#blockcart-modal.xcm .xcm__close{display:flex;align-items:center;justify-content:center;flex:0 0 auto;width:38px;height:38px;margin-left:auto;padding:0;border:0;border-radius:8px;background:transparent;color:var(--xcm-muted);cursor:pointer}
#blockcart-modal.xcm .xcm__close:hover{background:var(--xcm-soft);color:var(--xcm-navy)}
#blockcart-modal.xcm .xcm__close .material-icons{font-size:22px}

/* treść */
#blockcart-modal.xcm .xcm__body{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:24px;padding:24px}
#blockcart-modal.xcm .xcm__product{display:flex;align-items:flex-start;gap:18px;min-width:0}
#blockcart-modal.xcm .xcm__thumb{display:flex;align-items:center;justify-content:center;flex:0 0 150px;height:120px;padding:8px;background:#fff;border:1px solid var(--xcm-line);border-radius:10px}
#blockcart-modal.xcm .xcm__image{display:block;max-width:100%;max-height:100%;width:auto;height:auto;margin:0;border-radius:0}
#blockcart-modal.xcm .xcm__info{min-width:0}
#blockcart-modal.xcm .xcm__name{margin-bottom:4px;font-size:16px;font-weight:700;line-height:1.35;color:var(--xcm-navy)}
#blockcart-modal.xcm .xcm__spec{margin-bottom:10px;font-size:13px;line-height:1.45;color:var(--xcm-muted)}
#blockcart-modal.xcm .xcm__chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}
#blockcart-modal.xcm .xcm__chip{display:inline-flex;align-items:center;padding:4px 10px;font-size:13px;line-height:1.3;color:var(--xcm-navy);background:var(--xcm-soft);border:1px solid var(--xcm-line);border-radius:999px}
#blockcart-modal.xcm .xcm__chip b{font-weight:600}
#blockcart-modal.xcm .xcm__price{font-size:22px;font-weight:700;line-height:1.2;color:var(--xcm-navy)}
#blockcart-modal.xcm .xcm__price small{margin-left:4px;font-size:13px;font-weight:400;color:var(--xcm-muted)}

/* podsumowanie */
#blockcart-modal.xcm .xcm__summary{align-self:start;padding:18px 20px;background:var(--xcm-soft);border:1px solid var(--xcm-line);border-radius:12px}
#blockcart-modal.xcm .xcm__count{display:flex;align-items:center;gap:8px;margin-bottom:12px;font-size:14px;font-weight:600;color:var(--xcm-navy)}
#blockcart-modal.xcm .xcm__count .material-icons{font-size:20px;color:var(--xcm-blue)}
#blockcart-modal.xcm .xcm__row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:6px 0;font-size:14px}
#blockcart-modal.xcm .xcm__val{font-weight:600;color:var(--xcm-navy);white-space:nowrap;text-align:right}
#blockcart-modal.xcm .xcm__val--free{display:inline-flex;align-items:center;gap:5px;color:var(--xcm-green)}
#blockcart-modal.xcm .xcm__val--free .material-icons{font-size:18px}
#blockcart-modal.xcm .xcm__row--sub{font-size:13px}
#blockcart-modal.xcm .xcm__total{margin-top:8px;padding-top:12px;border-top:1px solid var(--xcm-line);font-size:15px;font-weight:700;color:var(--xcm-navy)}
#blockcart-modal.xcm .xcm__total .xcm__val{font-size:22px;font-weight:700}
#blockcart-modal.xcm .blockcart-modal__extra:empty{display:none}

/* atuty */
#blockcart-modal.xcm .xcm__trust{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 24px;margin:0;padding:12px 24px;list-style:none;background:#fbfcfe;border-top:1px solid var(--xcm-line);font-size:13px;color:var(--xcm-text)}
#blockcart-modal.xcm .xcm__trust li{display:inline-flex;align-items:center;gap:6px;margin:0}
#blockcart-modal.xcm .xcm__trust .material-icons{font-size:18px;color:var(--xcm-blue)}

/* przyciski */
#blockcart-modal.xcm .xcm__foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;padding:18px 24px;border-top:1px solid var(--xcm-line)}
#blockcart-modal.xcm .xcm__btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 22px;font-size:15px;font-weight:600;line-height:1.2;white-space:nowrap;text-decoration:none;border:1px solid var(--xcm-blue);border-radius:8px;cursor:pointer;transition:background-color .15s,border-color .15s,color .15s}
#blockcart-modal.xcm .xcm__btn .material-icons{font-size:20px}
#blockcart-modal.xcm .xcm__btn--primary{background:var(--xcm-blue);color:#fff}
#blockcart-modal.xcm .xcm__btn--primary:hover{background:var(--xcm-blue-dark);border-color:var(--xcm-blue-dark);color:#fff}
#blockcart-modal.xcm .xcm__btn--outline{background:#fff;color:var(--xcm-blue)}
#blockcart-modal.xcm .xcm__btn--outline:hover{background:var(--xcm-soft)}
#blockcart-modal.xcm .xcm__btn:focus-visible,#blockcart-modal.xcm .xcm__close:focus-visible{outline:3px solid rgba(6,114,206,.35);outline-offset:2px}
#blockcart-modal.xcm .blockcart-modal__cart-footer-extra{width:100%}

/* tablet */
@media (max-width:991.98px){
  #blockcart-modal.xcm .xcm__body{grid-template-columns:1fr;gap:16px}
}
/* telefon – okno wysuwane od dołu */
@media (max-width:575.98px){
  #blockcart-modal.xcm .modal-dialog{align-items:flex-end;min-height:100%;max-width:none;margin:0}
  #blockcart-modal.xcm .xcm__content{max-height:92vh;border-radius:16px 16px 0 0}
  #blockcart-modal.xcm.fade .modal-dialog{transform:translateY(40px)}
  #blockcart-modal.xcm.show .modal-dialog{transform:none}
  #blockcart-modal.xcm .xcm__head{padding:16px}
  #blockcart-modal.xcm .xcm__title{font-size:19px}
  #blockcart-modal.xcm .xcm__body{padding:16px}
  #blockcart-modal.xcm .xcm__thumb{flex-basis:96px;height:80px}
  #blockcart-modal.xcm .xcm__name{font-size:15px}
  #blockcart-modal.xcm .xcm__price,#blockcart-modal.xcm .xcm__total .xcm__val{font-size:19px}
  #blockcart-modal.xcm .xcm__trust{justify-content:flex-start;gap:6px 16px;padding:10px 16px}
  #blockcart-modal.xcm .xcm__foot{flex-direction:column-reverse;padding:14px 16px}
  #blockcart-modal.xcm .xcm__btn{width:100%}
}

/* ===== Checkout – krok „Adresy”: adres dostawy / „Chcę otrzymać fakturę VAT” (0.3.133) ===== */
#checkout-addresses-step{--xa-blue:#0672ce;--xa-navy:#10294f;--xa-text:#4a5d74;--xa-muted:#66788e;--xa-line:#dce7ef;--xa-soft:#f5f9fd;--xa-tint:#eaf4fd}
#checkout-addresses-step .excom-addr-head{margin:0 0 16px}
#checkout-addresses-step .excom-addr-head--invoice{margin-top:28px}
#checkout-addresses-step .excom-addr-head__title{margin:0;font-size:22px;font-weight:700;line-height:1.25;color:var(--xa-navy)}
#checkout-addresses-step .excom-addr-head__lead{margin:4px 0 0;font-size:14px;color:var(--xa-muted)}
#checkout-addresses-step .excom-addr-head__lead[hidden]{display:none}
#checkout-addresses-step .excom-addr-card{padding:22px 24px 6px;margin-bottom:18px;background:#fff;border:1px solid var(--xa-line);border-radius:12px}
#checkout-addresses-step .excom-addr-card .buttons-wrapper{margin-bottom:16px}

/* pole „Chcę otrzymać fakturę VAT” */
#checkout-addresses-step .excom-fv{position:relative;display:flex;align-items:flex-start;gap:14px;margin:6px 0 16px;padding:16px 18px;background:var(--xa-soft);border:1px solid var(--xa-line);border-radius:12px;cursor:pointer;transition:background-color .15s,border-color .15s}
#checkout-addresses-step .excom-fv.is-on{background:var(--xa-tint);border-color:var(--xa-blue)}
#checkout-addresses-step .excom-fv__input{flex:0 0 auto;width:22px;height:22px;margin:1px 0 0;cursor:pointer}
#checkout-addresses-step .excom-fv__label{display:block;margin:0;cursor:pointer}
#checkout-addresses-step .excom-fv__label b{display:block;margin-bottom:3px;font-size:15px;font-weight:700;color:var(--xa-navy)}
#checkout-addresses-step .excom-fv__label span{display:block;font-size:13px;line-height:1.45;color:var(--xa-muted)}
#checkout-addresses-step .excom-fv__label::after{content:"";position:absolute;inset:0}
#checkout-addresses-step .excom-fv--link{text-decoration:none;margin-top:16px}
#checkout-addresses-step .excom-fv--link:hover{border-color:var(--xa-blue)}
#checkout-addresses-step .excom-fv__box{flex:0 0 22px;width:22px;height:22px;margin-top:1px;background:#fff;border:2px solid #9fb0c3;border-radius:5px}

/* podpowiedź przy danych do faktury */
#checkout-addresses-step .excom-fv-hint{display:flex;align-items:flex-start;gap:8px;margin:4px 0 8px;padding:10px 12px;font-size:13px;line-height:1.5;color:var(--xa-text);background:#fff8e6;border:1px solid #f3e0a6;border-radius:8px}
#checkout-addresses-step .excom-fv-hint .material-icons{flex:0 0 auto;font-size:18px;color:#b7791f}
#checkout-addresses-step .excom-fv-hint a{margin-left:4px;font-weight:600;color:var(--xa-blue);text-decoration:underline}

@media (max-width:575.98px){
  #checkout-addresses-step .excom-addr-head__title{font-size:20px}
  #checkout-addresses-step .excom-addr-card{padding:16px 14px 2px}
  #checkout-addresses-step .excom-fv{padding:14px}
}

/* ===== Checkout 0.3.135: przycisk kopiowania danych i karta „Dokument sprzedaży” ===== */
#checkout-addresses-step .excom-addr-head--invoice{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px}
#checkout-addresses-step .excom-copy-btn{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:8px 14px;font-size:14px;font-weight:600;line-height:1.2;color:#0672ce;background:#fff;border:1px solid #0672ce;border-radius:8px;cursor:pointer}
#checkout-addresses-step .excom-copy-btn:hover{background:#f5f9fd}
#checkout-addresses-step .excom-copy-btn .material-icons{font-size:18px}
.excom-doc-card .excom-doc-card__type{display:flex;align-items:center;gap:8px;margin:0 0 6px;font-weight:600;color:#10294f}
.excom-doc-card .excom-doc-card__type .material-icons{font-size:20px;color:#1f8a4c}
.excom-doc-card .excom-doc-card__note{margin:0;font-size:14px;color:#66788e}
@media (max-width:575.98px){
  #checkout-addresses-step .excom-copy-btn{width:100%;justify-content:center}
}

/* ===== Checkout 0.3.136: wybór płatności pod podsumowaniem zamówienia ===== */
#checkout-payment-step .excom-pay-title{margin:2rem 0 1rem;padding-top:1.5rem;border-top:1px solid var(--bs-border-color,#dee2e6);line-height:1.2}
/* tytuł kroku „Płatność” przeniesiony nad metody płatności – górny zostaje tylko dla czytników ekranu */
#checkout-payment-step.step--current .step__title{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
#checkout-payment-step .step__content > hr{display:none}
#checkout-payment-step .final-summary > .h2:first-child{margin-top:0}
#checkout-payment-step .excom-pay-title--first{margin-top:0;padding-top:0;border-top:0}

/* ===== Checkout 0.3.139: ikony nagłówków podsumowania i metod płatności ===== */
.final-summary__header .excom-sec-title,.excom-pay-title .excom-sec-title{display:inline-flex;align-items:center;gap:10px}
.final-summary .final-summary__header,#checkout-payment-step .excom-pay-title{color:#10294f;padding-bottom:10px;border-bottom:2px solid #eaf4fd}
.final-summary__header .excom-sec-title,.excom-pay-title .excom-sec-title{position:relative;padding-left:14px}
.final-summary__header .excom-sec-title::before,.excom-pay-title .excom-sec-title::before{content:"";position:absolute;left:0;top:2px;bottom:2px;width:4px;border-radius:4px;background:#0672ce}
.excom-sec-title i.excom-sec-ico.material-icons{display:inline-flex!important;flex:0 0 auto;align-items:center;justify-content:center;font-size:26px!important;line-height:1!important;color:#0672ce;background:transparent}
#checkout-payment-step .payment-options__list{gap:10px}
#checkout-payment-step .payment-option{padding:14px 16px;background:#fff;border:1px solid #dce7ef;border-radius:12px;transition:border-color .15s,background-color .15s}
#checkout-payment-step .payment-option:hover{border-color:#9cc3ea}
#checkout-payment-step .payment-option:has(.payment-option__input:checked){border-color:#0672ce;background:#f5f9fd;box-shadow:0 0 0 1px #0672ce inset}
#checkout-payment-step .payment-option__form-check{display:flex;align-items:center;gap:12px;margin:0;padding-left:0}
#checkout-payment-step .payment-option__form-check .form-check-input{flex:0 0 auto;float:none;margin:0}
#checkout-payment-step .payment-option__label{display:flex;flex:1 1 auto;align-items:center;gap:12px;font-size:16px;font-weight:600;color:#10294f;cursor:pointer}
#checkout-payment-step .excom-pay-ico{display:inline-flex!important;flex:0 0 auto;align-items:center;justify-content:center;width:40px;height:40px;color:#4a5d74;background:#f1f4f8;border-radius:10px;transition:background-color .15s,color .15s}
#checkout-payment-step .payment-option:has(.payment-option__input:checked) .excom-pay-ico{color:#0672ce;background:#eaf4fd}
#checkout-payment-step .excom-pay-ico .material-icons{font-size:22px;line-height:1}
#checkout-payment-step .excom-pay-logo{flex:0 0 auto;max-width:64px;max-height:32px;width:auto}
#checkout-payment-step .payment-option__additional-information{margin-top:12px;padding:12px 0 0 34px;border-top:1px dashed #dce7ef;font-size:14px}
@media (max-width:575.98px){
  .excom-sec-title i.excom-sec-ico.material-icons{font-size:22px!important}
  #checkout-payment-step .payment-option__additional-information{padding-left:0}
}

/* ===== 0.3.142 – kroki zamówienia: ikona + mały numer (wariant B) ===== */
.checkout-steps { --xs-blue:#0672ce; --xs-green:#1f8a4c; --xs-line:#dce7ef; --xs-grey:#9aabbd; --xs-navy:#10294f; }
.checkout-steps .checkout-steps__step::before,
.checkout-steps .checkout-steps__step::after { top: 1.5rem; height: 3px; background: var(--xs-line); border-radius: 2px; }
.checkout-steps .checkout-steps__step--current::before,
.checkout-steps .checkout-steps__step--success::before,
.checkout-steps .checkout-steps__step--success::after { background: var(--xs-green); }
.checkout-steps .checkout-steps__number.excom-step-c {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; margin: 0 auto .5rem; border-radius: 50%;
  background: #fff; border: 2px solid var(--xs-line); color: var(--xs-grey);
  transition: background-color .2s, border-color .2s, color .2s;
}
.checkout-steps .excom-step-ico, .checkout-steps .excom-step-done { font-size: 1.5rem; line-height: 1; }
.checkout-steps .excom-step-done { display: none; }
.checkout-steps .excom-step-num {
  position: absolute; top: -.3rem; right: -.45rem; display: flex; align-items: center; justify-content: center;
  width: 1.3rem; height: 1.3rem; border-radius: 50%; background: #fff; border: 2px solid currentColor;
  font-size: .7rem; font-weight: 700; line-height: 1;
}
.checkout-steps .checkout-steps__step--current .checkout-steps__number.excom-step-c {
  background: var(--xs-blue); border-color: var(--xs-blue); color: #fff; box-shadow: 0 0 0 5px rgba(6,114,206,.15);
}
.checkout-steps .checkout-steps__step--current .excom-step-num { color: var(--xs-blue); }
.checkout-steps .checkout-steps__step--success .checkout-steps__number.excom-step-c { background: var(--xs-green); border-color: var(--xs-green); color: #fff; }
.checkout-steps .checkout-steps__step--success .excom-step-num { color: var(--xs-green); }
.checkout-steps .checkout-steps__step--success .excom-step-ico { display: none; }
.checkout-steps .checkout-steps__step--success .excom-step-done { display: inline-block; }
.checkout-steps .checkout-steps__btn { color: var(--xs-grey); font-weight: 600; }
.checkout-steps .checkout-steps__step--success .checkout-steps__btn { color: var(--xs-navy); }
.checkout-steps .checkout-steps__step--current .checkout-steps__btn,
.checkout-steps .checkout-steps__btn.active { color: var(--xs-blue); font-weight: 700; }
.checkout-steps .checkout-steps__step--success .checkout-steps__btn:hover { color: var(--xs-blue); }

/* telefon: rząd ikon zamiast kółka postępu */
@media (max-width: 767.98px) {
  .checkout-steps .checkout-steps__desktop { display: block; max-width: 22rem; margin: 0 auto .75rem; padding-top: .5rem; }
  .checkout-steps .checkout-steps__btn { display: none; }
  .checkout-steps .checkout-steps__number.excom-step-c { width: 2.5rem; height: 2.5rem; margin-bottom: 0; }
  .checkout-steps .excom-step-ico, .checkout-steps .excom-step-done { font-size: 1.25rem; }
  .checkout-steps .checkout-steps__step::before, .checkout-steps .checkout-steps__step::after { top: 1.25rem; }
  .checkout-steps .checkout-steps__left { display: none; }
  .checkout-steps .checkout-steps__mobile { justify-content: center; text-align: center; }
  .checkout-steps .checkout-steps__title { font-size: 1.125rem; color: var(--xs-blue); }
}

/* ===== 0.3.144 – O firmie: sekcja „Nasz zespół” (zespół na jasnej karcie) ===== */
.xg .xg-team img{display:block;width:100%;height:auto}
.xg .xg-team--cut{display:grid;grid-template-columns:1fr;align-items:end;overflow:hidden;border-radius:var(--xg-r);background:radial-gradient(120% 90% at 70% 100%,#ffffff 0%,var(--xg-tint,#f0f1f3) 60%)}
.xg .xg-team--cut .xg-team__txt{padding:28px 24px 8px}
.xg .xg-team--cut .xg-team__txt p:not(.xg-eyebrow){margin:0 0 16px}
.xg .xg-team--cut figure{margin:0}
.xg .xg-team--cut img{mix-blend-mode:multiply}
@media (min-width:768px){
  .xg .xg-team--cut{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
  .xg .xg-team--cut .xg-team__txt{padding:44px 0 44px 44px;align-self:center}
  .xg .xg-team--cut figure{margin:28px 0 0}
}

/* ===== 0.3.145 – opis kategorii „Komputery do oprogramowania” (xsw) ===== */
.xsw{--xsw-a:#e90d3a;--xsw-ink:#14161a;--xsw-tx:#4b5260;--xsw-mu:#7a808a;--xsw-ln:#e7e9ee;--xsw-bg:#f6f7f9;margin:4px 0 28px;color:var(--xsw-tx);line-height:1.5}
.xsw *{box-sizing:border-box}
.xsw .material-icons{line-height:1}
.xsw-grid{display:grid;grid-template-columns:1fr;gap:24px;align-items:center}
.xsw-kicker{display:flex;align-items:center;gap:10px;margin:0;font-size:13px;font-weight:700;color:var(--xsw-a)}
.xsw-kicker img{height:34px;width:auto;max-width:140px;object-fit:contain}
.xsw-kicker:empty{display:none}
.xsw-kicker img.xsw-icon{width:36px;height:36px;border-radius:9px;box-shadow:0 0 0 1px var(--xsw-ln);background:#fff}
.xsw h2.xsw-title{margin:14px 0 14px;font-size:clamp(28px,3.6vw,44px);line-height:1.05;font-weight:800;letter-spacing:-.02em;color:var(--xsw-ink);text-transform:none}
.xsw h2.xsw-title span{background:linear-gradient(90deg,var(--xsw-a),#ff6a3d);-webkit-background-clip:text;background-clip:text;color:transparent}
.xsw p.xsw-lead{margin:0;max-width:560px;font-size:16px;line-height:1.6;color:var(--xsw-tx)}
.xsw-spec{padding:20px 22px;border:1px solid var(--xsw-ln);border-radius:18px;background:var(--xsw-bg)}
.xsw-spec__head{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin:0 0 6px;font-size:13px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--xsw-mu)}
.xsw-spec__head span{letter-spacing:0;text-transform:none;font-weight:600;color:#16a34a;white-space:nowrap}
.xsw-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:12px;align-items:center;padding:11px 0;border-bottom:1px solid var(--xsw-ln)}
.xsw-row:last-child{border-bottom:0}
.xsw-row > .material-icons{width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:10px;background:#fff;border:1px solid var(--xsw-ln);font-size:19px;color:var(--xsw-ink)}
.xsw-row b{display:block;font-size:14px;color:var(--xsw-ink)}
.xsw-row small{display:block;font-size:12.5px;color:var(--xsw-mu)}
.xsw-ok{display:inline-flex;align-items:center;gap:4px;padding:4px 9px;border-radius:20px;background:#dcfce7;color:#15803d;font-size:12px;font-weight:700;white-space:nowrap}
.xsw-ok .material-icons{font-size:15px}
.xsw-trust{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:10px 24px;padding-top:14px;border-top:1px solid var(--xsw-ln);font-size:13.5px}
.xsw-trust > span{display:inline-flex;align-items:center;gap:6px}
.xsw-trust > span .material-icons{font-size:18px;color:#16a34a}
.xsw-trust a{margin-left:auto;font-weight:700;color:var(--xsw-ink);text-decoration:none}
.xsw-trust a:hover{color:var(--xsw-a)}
@media (min-width:900px){
  .xsw-grid{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:48px}
  .xsw-spec{padding:22px 26px}
}
@media (max-width:575px){.xsw-trust a{margin-left:0}}

/* ===== 0.3.147 – blok .xsw w nagłówku modułu excomcategoryheader9 (bez zmian w module) ===== */
/* Gdy opis kategorii zawiera blok .xsw: pełna szerokość, bez logo/zdjęcia modułu i bez skrótu „Rozwiń opis”. */
.exch9:has(.xsw) .exch9-image,
.exch9:has(.xsw) .exch9-title,
.exch9:has(.xsw) .exch9-title-image,
.exch9:has(.xsw) .exch9-excerpt,
.exch9:has(.xsw) .exch9-toggle{display:none!important}
.exch9:has(.xsw) .exch9-full{display:block!important}
/* Bootstrap ma [hidden]{display:none!important} w warstwie bs-base; !important z wcześniejszej warstwy (vendors) wygrywa */
@layer vendors{.exch9:has(.xsw) .exch9-full[hidden]{display:block!important}}
.exch9:has(.xsw) .exch9-copy{text-align:left}
.exch9:has(.xsw) .exch9-description{font-size:inherit;line-height:inherit;overflow-wrap:normal}
.exch9:has(.xsw) .xsw{margin-top:0}

/* ===== 0.3.149 – blok .xsw: logo programu zostaje w nagłówku modułu (po lewej), pasek partnerów ===== */
/* 0.3.150: logo z modułu NAD opisem (nie z boku) */
.exch9:has(.xsw){display:block}
.exch9:has(.xsw) .exch9-logo{width:auto;max-width:min(var(--exch9-logo,140px),60%);height:auto;max-height:56px;margin:0 0 18px;vertical-align:top}
.exch9:has(.xsw) .exch9-copy{min-width:0}
.xsw-partner{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:14px 22px;padding:14px 18px;border:1px solid var(--xsw-ln);border-radius:14px;background:#fff}
.xsw-partner__logos{display:flex;align-items:center;gap:12px;flex:0 0 auto}
.xsw-partner__logos img{height:30px;width:auto;max-width:150px;object-fit:contain}
.xsw-partner__x{font-size:18px;font-weight:700;color:var(--xsw-a)}
.xsw-partner p{flex:1 1 280px;margin:0;font-size:13.5px;line-height:1.5;color:var(--xsw-tx)}
.xsw-partner p strong{color:var(--xsw-ink)}
.xsw-partner a{margin-left:auto;display:inline-flex;align-items:center;gap:6px;padding:10px 16px;border-radius:999px;background:var(--xsw-ink);color:#fff!important;font-size:13.5px;font-weight:700;text-decoration:none;white-space:nowrap}
.xsw-partner a:hover{background:var(--xsw-a)}
.xsw-partner a .material-icons{font-size:18px}
@media (max-width:575px){.xsw-partner a{margin-left:0;width:100%;justify-content:center}}

/* ===== 0.3.151 – tytuł bloku .xsw dopasowany do szerokości kolumny (bez zawijania na PC) ===== */
.xsw-grid > div:first-child{container-type:inline-size;min-width:0}
.xsw h2.xsw-title{font-size:clamp(24px,2.4vw,36px);font-size:clamp(22px,6.1cqi,42px);line-height:1.12}

/* ===== 0.3.152 – blok .xsw: lista aplikacji (chipsy) i obrazek pod opisem ===== */
.xsw-apps{display:flex;flex-wrap:wrap;gap:6px;margin:16px 0 0;padding:0;list-style:none}
.xsw-apps span{display:inline-flex;align-items:center;padding:6px 11px;border-radius:999px;background:#fff;border:1px solid var(--xsw-ln);font-size:12.5px;font-weight:700;color:var(--xsw-ink)}
.xsw-visual{display:block;width:100%;max-width:440px;height:auto;margin-top:22px}
.xsw-partner--solo p{flex:1 1 320px}

/* ===== 0.3.153 – blok .xsw: motyw „kreatywny” (gradient) i płaskie kafelki programów ===== */
.xsw--creative{--xsw-a:#c2185b;--xsw-g:linear-gradient(90deg,#7b2ff7 0%,#e8206f 55%,#ff8a00 100%)}
.xsw--creative h2.xsw-title span,
.xsw--creative .xsw-kicker{background:var(--xsw-g);-webkit-background-clip:text;background-clip:text;color:transparent}
.xsw--creative .xsw-spec{position:relative;overflow:hidden}
.xsw--creative .xsw-spec::before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:var(--xsw-g)}
.xsw--creative .xsw-partner a:hover{background:#7b2ff7}
.xsw-tiles{display:flex;flex-wrap:wrap;gap:14px 12px;margin-top:22px}
.xsw-tile{display:flex;flex-direction:column;align-items:center;gap:7px;width:76px;text-align:center}
.xsw-tile > .material-icons{width:64px;height:64px;display:flex;align-items:center;justify-content:center;border-radius:16px;background:var(--c,#7b2ff7);color:#fff;font-size:32px}
.xsw-tile span{font-size:12px;font-weight:700;line-height:1.2;color:var(--xsw-ink)}
@media (max-width:575px){.xsw-tiles{gap:12px 8px}.xsw-tile{width:62px}.xsw-tile > .material-icons{width:54px;height:54px;border-radius:14px;font-size:27px}.xsw-tile span{font-size:11px}}
/* 0.3.154 – kafelek ze skrótem programu (np. Ps) zamiast ikony */
.xsw-tile > b{width:64px;height:64px;display:flex;align-items:center;justify-content:center;border-radius:16px;background:var(--c,#7b2ff7);color:#fff;font-size:26px;font-weight:800;letter-spacing:-.02em;line-height:1}
@media (max-width:575px){.xsw-tile > b{width:54px;height:54px;border-radius:14px;font-size:22px}}
/* 0.3.155 – kolory kafelków klasami (edytor/moduł usuwa atrybut style="--c:…") */
.xsw-tile.xsw-c--blue{--c:#2f7bff}.xsw-tile.xsw-c--orange{--c:#ff8a00}.xsw-tile.xsw-c--violet{--c:#7c4dff}
.xsw-tile.xsw-c--pink{--c:#d81b9a}.xsw-tile.xsw-c--cyan{--c:#00b8d9}.xsw-tile.xsw-c--green{--c:#16a34a}
.xsw-tile.xsw-c--red{--c:#e90d3a}.xsw-tile.xsw-c--yellow{--c:#f5b400}.xsw-tile.xsw-c--teal{--c:#0d9488}
.xsw-tile.xsw-c--navy{--c:#1e3a8a}.xsw-tile.xsw-c--magenta{--c:#c026d3}.xsw-tile.xsw-c--gray{--c:#4b5563}

/* ===== 0.3.156 – motyw exocad (fiolet → pomarańcz) ===== */
.xsw.xsw--exocad{--xsw-a:#e36b2c;--xsw-g:linear-gradient(90deg,#483b6d 0%,#8a4fb3 45%,#e36b2c 100%)}
.xsw--exocad .xsw-partner a:hover{background:#483b6d}
.xsw-tile.xsw-c--plum{--c:#483b6d}
.xsw-visual.xsw-visual--sm{max-width:260px}

/* ===== 0.3.157 – opis kategorii „exocad”: fioletowy baner + nachodzące karty (xdn) ===== */
.xdn{--xdn-ink:#241c3a;--xdn-tx:#5a5270;--xdn-mu:#8a83a0;--xdn-ln:#e7e1f3;--xdn-bg:#f6f3fc;--xdn-v:#483b6d;--xdn-v2:#6b4fa3;--xdn-o:#e36b2c;color:var(--xdn-tx);line-height:1.5}
.xdn *{box-sizing:border-box}
.xdn .material-icons{line-height:1}
.xdn-hero{position:relative;display:grid;grid-template-columns:1fr;gap:20px;align-items:center;padding:28px 24px 70px;border-radius:24px;background:linear-gradient(120deg,#3a2f5a 0%,var(--xdn-v) 45%,var(--xdn-v2) 100%);color:#ddd5f0;overflow:hidden}
.xdn-hero::after{content:"";position:absolute;right:-80px;bottom:-120px;width:320px;height:320px;border-radius:50%;background:radial-gradient(circle,rgba(227,107,44,.45),transparent 65%);pointer-events:none}
.xdn-hero > div{position:relative;z-index:1;min-width:0}
.xdn-kick{display:inline-flex;align-items:center;gap:6px;margin:0 0 12px;padding:5px 12px;border-radius:999px;background:rgba(255,255,255,.12);color:#fff;font-size:12.5px;font-weight:700}
.xdn-kick .material-icons{font-size:16px;color:#ff9a5a}
.xdn h2.xdn-title{margin:0 0 12px;color:#fff;font-size:clamp(26px,3vw,40px);line-height:1.1;font-weight:800;letter-spacing:-.02em;text-transform:none}
.xdn h2.xdn-title span{color:#ff9a5a}
.xdn p.xdn-lead{margin:0;font-size:15.5px;color:#ddd5f0}
.xdn-mods{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.xdn-mods span{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border-radius:10px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);font-size:13px;font-weight:700;color:#fff}
.xdn-mods .material-icons{font-size:17px;color:#ffb185}
.xdn-img{border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 24px 50px -20px rgba(0,0,0,.5)}
.xdn-img img{display:block;width:100%;height:auto}
.xdn-cards{position:relative;z-index:2;display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:-48px 14px 0}
.xdn-card{padding:14px;border-radius:16px;background:#fff;border:1px solid var(--xdn-ln);box-shadow:0 12px 30px -18px rgba(72,59,109,.5)}
.xdn-card > .material-icons{font-size:22px;color:var(--xdn-v2)}
.xdn-card b{display:block;margin:6px 0 1px;font-size:14px;line-height:1.3;color:var(--xdn-ink)}
.xdn-card small{display:block;font-size:12px;color:var(--xdn-mu)}
.xdn-ok{display:inline-flex;align-items:center;gap:3px;margin-top:6px;font-size:11.5px;font-weight:700;color:#16a34a}
.xdn-ok .material-icons{font-size:15px}
.xdn-foot{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin-top:16px;padding:14px 18px;border-radius:18px;background:var(--xdn-bg);border:1px solid var(--xdn-ln)}
.xdn-foot p{flex:1 1 300px;margin:0;font-size:14px;color:var(--xdn-tx)}
.xdn-foot p strong{color:var(--xdn-ink)}
.xdn-foot a{margin-left:auto;display:inline-flex;align-items:center;gap:8px;padding:12px 20px;border-radius:999px;background:var(--xdn-o);color:#fff!important;font-size:14px;font-weight:700;text-decoration:none;white-space:nowrap}
.xdn-foot a:hover{background:var(--xdn-v)}
.xdn-foot a .material-icons{font-size:18px}
@media (min-width:900px){.xdn-hero{grid-template-columns:1.1fr 1fr;padding:38px 36px 80px}.xdn-cards{grid-template-columns:repeat(6,minmax(0,1fr));margin:-52px 24px 0}}
@media (max-width:575px){.xdn-hero{padding:24px 18px 64px}.xdn-cards{margin:-44px 8px 0}.xdn-foot a{margin-left:0;width:100%;justify-content:center}}
/* 0.3.158 – karty exocad: dowolna liczba kart w jednym rzędzie na PC */
@media (min-width:900px){.xdn-cards{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}}
@media (max-width:899.98px){.xdn-card:last-child:nth-child(odd){grid-column:1/-1}}

/* ===== 0.3.159 – blok .xsw: poziomy mocy (SOLIDWORKS) i szeroka grafika ===== */
.xsw-visual.xsw-visual--wide{max-width:none;margin-top:0;border-radius:16px}
.xsw-tiers{grid-column:1/-1;display:grid;grid-template-columns:1fr;gap:14px;margin-top:6px}
.xsw-tier{position:relative;padding:18px;border:1px solid var(--xsw-ln);border-radius:16px;background:#fff}
.xsw-tier--hot{border-color:var(--xsw-a);box-shadow:0 14px 34px -22px rgba(233,13,58,.6)}
.xsw-tier__badge{position:absolute;top:-11px;left:16px;padding:3px 10px;border-radius:999px;background:var(--xsw-a);color:#fff;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.xsw .xsw-tier h3{display:flex;align-items:center;gap:8px;margin:0 0 2px;font-size:16px;line-height:1.3;color:var(--xsw-ink);text-transform:none}
.xsw-tier h3 .material-icons{color:var(--xsw-a);font-size:22px}
.xsw-tier > small{display:block;margin-bottom:10px;font-size:12.5px;color:var(--xsw-mu)}
.xsw-tier dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:6px 12px;font-size:13.5px}
.xsw-tier dt{font-weight:400;color:var(--xsw-mu)}
.xsw-tier dd{margin:0;font-weight:700;color:var(--xsw-ink);text-align:right}
@media (min-width:900px){.xsw-tiers{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* EXCOM 0.3.163: cart page heading with the header's cart icon.
   0.3.166: the same style for checkout step titles (Dane osobowe, Adresy,
   Metoda dostawy, Płatność). */
.excom-cart-title,
.excom-step-title {
  display: flex;
  align-items: center;
  gap: 0.35em;
}
.excom-cart-title__icon,
.excom-step-title__icon {
  flex: 0 0 auto;
  font-size: 1em;
  line-height: 1;
  color: inherit; /* 0.3.165: same colour as the heading text */
}

/* EXCOM 0.3.164: cart line total centred under the quantity stepper
   (stepper = max 9rem on phones, 9rem column from 576 px). */
.product-line__content-right > .product-line__price {
  width: 100%;
  max-width: 9rem;
  text-align: center;
}

/* ===== EXCOM 0.3.167: listing toolbar compare, card actions, product meta ===== */
/* Compare button in the sorting toolbar (mirrors the module's own button). */
#products.excom-compare-in-toolbar > #cdpcp-go-to-compare-form { display: none !important; }
.excom-compare-tool {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  height: 38px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  background: #fff;
  color: #1f2a37;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
}
.excom-compare-tool__icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.excom-compare-tool__count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: #e3e8ef;
  color: #526071;
  font-size: 11.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.excom-compare-tool.is-active { border-color: #0b69f6; color: #0b69f6; }
.excom-compare-tool.is-active .excom-compare-tool__count { background: #0b69f6; color: #fff; }
.excom-compare-tool.is-active:hover { background: #f2f7ff; }
.excom-compare-tool[aria-disabled="true"] { cursor: default; }
.excom-compare-tool:focus-visible { outline: 2px solid #0b69f6; outline-offset: 2px; }
@media (max-width: 575.98px) {
  .excom-compare-tool { padding: 0 10px; gap: 6px; }
  .excom-compare-tool__label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
  }
}

/* "See details" (product without add to cart). */
#products.excom-pv--minimal .product-miniature__details,
#products.excom-pv--grid .product-miniature__details {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}
#products.excom-pv--minimal .product-miniature__details::after,
#products.excom-pv--grid .product-miniature__details::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 1px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}
/* Minimal: same height as the icon buttons beside it. */
#products.excom-pv--minimal .product-miniature__details {
  height: 32px;
  min-height: 32px;
  padding: 0 10px;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1;
}
/* Grid: right edge, under the price. */
#products.excom-pv--grid .product-miniature__actions:has(> .product-miniature__details) {
  display: flex;
  justify-content: flex-end;
}
#products.excom-pv--grid .product-miniature__details {
  width: auto;
  margin-left: auto;
}

/* Grid: index + condition centred across the card. */
#products.excom-pv--grid .excom-product-meta--miniature { justify-content: center; }

/* Product page: index + condition side by side directly above the price. */
.page-product .product__right > .excom-product-meta--product {
  flex-wrap: wrap;
  margin: 0 0 10px;
}
.page-product .product__right > .excom-product-meta--product > .excom-product-meta__item { white-space: nowrap; }

/* ===== EXCOM 0.3.169 ===== */
/* Listing toolbar from 768 px: count, sorting, Compare, view switch and the
   Filter button in one row. The theme made Filter grow to the full width of
   the sort area (flex-basis 0 / grow 1), which pushed it onto a second line
   whenever the sidebar is hidden (tablets, narrow desktop windows). */
@media (min-width: 768px) {
  #js-product-list-top .products__selection {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem 1rem;
  }
  #js-product-list-top .products__count {
    order: 0;
    flex: 0 1 auto;
    white-space: nowrap;
  }
  #js-product-list-top .products__sort {
    order: 1;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    justify-content: flex-end;
    min-width: 0;
  }
  #js-product-list-top .products__sort-dropdown {
    flex: 0 1 230px;
    min-width: 130px;
  }
  #js-product-list-top .products__filter-button {
    flex: 0 0 auto;
    width: auto;
    padding-inline: 14px;
  }
}
/* 768–991 px: the dropdown already shows the chosen order, so the
   "Sort by:" label goes to make room for one row. */
@media (min-width: 768px) and (max-width: 991.98px) {
  #js-product-list-top .products__sort-label { display: none; }
}

/* Icons before page headings: Contact (mail), My offers (tag),
   Service portal "Report a problem / Sign in" (wrench). Material Icons
   glyphs, same colour as the heading text, like the cart/checkout titles. */
body#contact .cbp-contact-page-heading > h1::before,
body#module-excomclientoffers-history :is(.exo-access, .exo-history-heading) h1::before,
body#module-excomservice-portal #exs-auth-title::before {
  display: inline-block;
  margin-right: .35em;
  font-family: "Material Icons";
  font-size: 1em;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  direction: ltr;
  vertical-align: -.14em;
  color: inherit;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "liga";
}
body#contact .cbp-contact-page-heading > h1::before { content: "\e158"; }
body#module-excomclientoffers-history :is(.exo-access, .exo-history-heading) h1::before { content: "\e54e"; }
body#module-excomservice-portal #exs-auth-title::before { content: "\e869"; }

/* EXCOM 0.3.170: module product carousels (category slider, product slider,
   "products in the same category", viewed, specials, new products). */
:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .excom-product-meta--miniature {
  justify-content: center !important;
}
/* Feature icon supplied by excomfaceticons (img inside the label group, no
   short-description icon tile): same soft square tile in column 1, spanning
   label and value, instead of an extra row under the text. */
:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .exsd-short-feature-row:has(.excom-fi-card-icon):not(:has(.exsd-short-feature-icon-wrap)) {
  grid-template-columns: 36px minmax(0, 1fr) !important;
}
:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .exsd-short-feature-row:not(:has(.exsd-short-feature-icon-wrap)) .exsd-short-feature-label-group > .excom-fi-card-icon {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  align-self: center !important;
  box-sizing: border-box !important;
  display: block !important;
  flex: none !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  margin: 0 !important;
  padding: 6px !important;
  border-radius: 8px !important;
  background: #f4f6f8 !important;
  object-fit: contain !important;
}
:is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .exsd-short-feature-row:has(.excom-fi-card-icon):not(:has(.exsd-short-feature-icon-wrap)) :is(.exsd-short-feature-label, .exsd-short-feature-value) {
  grid-column: 2 !important;
}
@media (max-width: 575.98px) {
  :is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .exsd-short-feature-row:has(.excom-fi-card-icon):not(:has(.exsd-short-feature-icon-wrap)) {
    grid-template-columns: 30px minmax(0, 1fr) !important;
    column-gap: 6px !important;
  }
  :is(.ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .exsd-short-feature-row:not(:has(.exsd-short-feature-icon-wrap)) .exsd-short-feature-label-group > .excom-fi-card-icon {
    width: 27px !important; height: 27px !important; min-width: 27px !important; min-height: 27px !important;
    max-width: 27px !important; max-height: 27px !important; padding: 5px !important; border-radius: 7px !important;
  }
}

/* ===== EXCOM 0.3.171: dodane bloki z 0.3.160–0.3.162 (AutoCAD .xui, O firmie – odznaka Dell) ===== */
/* ===== 0.3.160 – opis kategorii „AutoCAD”: okno programu z wierszem poleceń (xui) ===== */
.xui{margin:4px 0 0;border-radius:14px;overflow:hidden;background:#1f262d;color:#c5ccd3;box-shadow:0 20px 40px -24px rgba(0,0,0,.6);line-height:1.5}
.xui *{box-sizing:border-box}
.xui-bar{position:relative;display:flex;align-items:center;gap:8px;margin:0;padding:9px 14px 9px 66px;background:#2b333b;border-bottom:1px solid #12171c;font-size:12px;font-weight:600;color:#fff}
.xui-bar::before{content:"";position:absolute;left:14px;top:50%;width:11px;height:11px;margin-top:-5.5px;border-radius:50%;background:#e5484d;box-shadow:17px 0 0 #f5a524,34px 0 0 #30a46c}
.xui-tabs{display:flex;gap:2px;margin:0;padding:0 10px;background:#262e36;font-size:12.5px;white-space:nowrap;overflow:hidden}
.xui-tabs span{padding:8px 12px;color:#9aa4ad}
.xui-tabs span:first-child{color:#fff;border-bottom:2px solid #e5484d}
.xui-body{display:grid;grid-template-columns:1fr;gap:24px;padding:26px 22px;background:#1b2127;background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);background-size:24px 24px}
.xui-body > div{min-width:0}
.xui h2.xui-title{margin:0 0 12px;color:#fff;font-size:clamp(26px,3vw,38px);line-height:1.1;font-weight:800;letter-spacing:-.02em;text-transform:none}
.xui h2.xui-title span{color:#ff5a6e}
.xui p.xui-lead{margin:0;font-size:15px;color:#c5ccd3}
.xui-body img{display:block;width:100%;height:auto;border:1px solid #39424b;border-radius:6px}
.xui-cmd{padding:14px 18px;background:#12171c;border-top:1px solid #39424b;font:13px/1.75 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#9aa4ad}
.xui-cmd p{margin:0}
.xui-cmd b{color:#fff;font-weight:600}
.xui-line{display:flex;align-items:baseline}
.xui-line span{display:flex;flex:1;min-width:0;align-items:baseline}
.xui-line span::after{content:"";flex:1;min-width:16px;margin:0 8px;border-bottom:1px dotted #4b5560;transform:translateY(-4px)}
.xui-line em{font-style:normal;font-weight:700;color:#7cf0a5}
.xui-cmd p.xui-cur{color:#fff}
.xui-cmd p.xui-cur::after{content:"▍";color:#ff5a6e;animation:xui-blink 1s steps(1) infinite}
@keyframes xui-blink{50%{opacity:0}}
.xui-foot{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;padding:12px 18px;background:#2b333b;font-size:13.5px}
.xui-foot p{flex:1 1 260px;margin:0;color:#c5ccd3}
.xui-foot a{margin-left:auto;display:inline-flex;align-items:center;gap:6px;padding:9px 16px;border-radius:6px;background:#e5484d;color:#fff!important;font-weight:700;text-decoration:none;white-space:nowrap}
.xui-foot a:hover{background:#c8102e}
.xui-foot a .material-icons{font-size:18px}
@media (min-width:900px){.xui-body{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);padding:32px;align-items:center}}
@media (max-width:575px){.xui-tabs span:nth-child(n+4){display:none}.xui-cmd{font-size:12px;padding:12px 14px}.xui-foot a{margin-left:0;width:100%;justify-content:center}}
@media (prefers-reduced-motion:reduce){.xui-cmd p.xui-cur::after{animation:none}}
.xui-foot p strong{color:#fff}

/* ===== 0.3.161 – O firmie: rząd logo Excom + odznaka Dell w hero ===== */
.xg .xg-hv__brands{display:flex;flex-wrap:wrap;align-items:center;gap:14px 22px;margin:0 0 22px}
.xg .xg-hv__brands .xg-hv__logo{margin:0}
.xg .xg-hv__brands span{width:1px;height:40px;background:var(--xg-line)}
.xg a.xg-hv__badge{display:inline-flex;align-items:center;transition:opacity .15s}
.xg a.xg-hv__badge:hover{opacity:.8}
.xg a.xg-hv__badge img{display:block;width:auto;height:52px;max-width:220px;object-fit:contain}
@media (max-width:575px){.xg .xg-hv__brands{flex-wrap:nowrap;gap:14px}.xg .xg-hv__brands span{display:none}.xg .xg-hv__brands .xg-hv__logo{width:120px}.xg a.xg-hv__badge img{height:40px;max-width:170px}}

/* ===== 0.3.162 – O firmie: odznaka Dell obok „5000+” ===== */
.xg .xg-hv__bigrow{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 20px}
.xg .xg-hv__bigrow .xg-hv__big{margin:0}
.xg .xg-hv__bigrow a.xg-hv__badge img{height:56px;max-width:200px}
@media (max-width:575px){.xg .xg-hv__bigrow{flex-wrap:nowrap}.xg .xg-hv__bigrow a.xg-hv__badge img{height:42px;max-width:150px}}

/* ===== EXCOM 0.3.172 – O firmie: logo Dell Technologies w lewym górnym rogu banera „Nasz zespół” ===== */
.xg .xg-team a.xg-team__dell{display:inline-block;margin:0 0 18px;line-height:0;transition:opacity .15s}
.xg .xg-team a.xg-team__dell:hover{opacity:.75}
.xg .xg-team a.xg-team__dell img{display:block;width:180px;max-width:100%;height:auto;mix-blend-mode:normal}
@media (max-width:575px){.xg .xg-team a.xg-team__dell img{width:150px}}
/* 0.3.174 – logo Dell w lewym górnym rogu banera „Nasz zespół” (proporcje względem banera) */
@media (min-width:768px){
  .xg .xg-team--cut{position:relative;container-type:inline-size}
  .xg .xg-team--cut a.xg-team__dell{position:absolute;z-index:2;left:44px;top:2.3cqi;margin:0}
  .xg .xg-team--cut a.xg-team__dell img{width:20.4cqi;min-width:170px;max-width:400px}
  /* wysokość banera bez zmian: tekst zaczyna się pod logo, mniejszy dolny odstęp i tytuł dopasowany do kolumny */
  .xg .xg-team--cut .xg-team__txt{align-self:stretch;display:flex;flex-direction:column;justify-content:center;padding-top:calc(2.3cqi + 4.2cqi + 18px);padding-bottom:20px}
  .xg .xg-team--cut .xg-team__txt h2.xg-title{font-size:clamp(20px,2.35cqi,31px)}
}
@media (max-width:767.98px){
  .xg .xg-team a.xg-team__dell{margin:0 0 16px}
  .xg .xg-team a.xg-team__dell img{width:min(220px,60%)}
}

/* ===== 0.3.176 – pasek poziomu wydajności (Podstawowa / Zalecana / Wydajna) =====
   Bez dodatkowych elementów HTML (edytor PrestaShop usuwa puste znaczniki):
   wystarczy klasa na istniejącym bloku, pasek rysuje ::before.
   xsw-lvl-1 / -2 / -3   – poziom 1–3 z trzech (Podstawowa / Zalecana / Wydajna)
   xsw-lvl-1of2 / -2of2  – programy z dwoma poziomami (np. AutoCAD)
   Kolory jak pasek na liście produktów (moduł excomdedicatedcards). */
.xsw-lvl-1,.xsw-lvl-2,.xsw-lvl-3,.xsw-lvl-1of2,.xsw-lvl-2of2{--xl-off:#e2e8f0;--xl-1:#f59e0b;--xl-2:#22c55e;--xl-3:#2563eb}
.xsw-lvl-1::before,.xsw-lvl-2::before,.xsw-lvl-3::before,.xsw-lvl-1of2::before,.xsw-lvl-2of2::before{
  content:"";display:block;height:6px;margin:0 0 12px;border-radius:3px;
  background:
    linear-gradient(var(--xl-a),var(--xl-a)) left/calc((100% - 6px)/3) 100% no-repeat,
    linear-gradient(var(--xl-b),var(--xl-b)) center/calc((100% - 6px)/3) 100% no-repeat,
    linear-gradient(var(--xl-c),var(--xl-c)) right/calc((100% - 6px)/3) 100% no-repeat}
.xsw-lvl-1{--xl-a:var(--xl-1);--xl-b:var(--xl-off);--xl-c:var(--xl-off)}
.xsw-lvl-2{--xl-a:var(--xl-2);--xl-b:var(--xl-2);--xl-c:var(--xl-off)}
.xsw-lvl-3{--xl-a:var(--xl-3);--xl-b:var(--xl-3);--xl-c:var(--xl-3)}
.xsw-lvl-1of2::before,.xsw-lvl-2of2::before{
  background:
    linear-gradient(var(--xl-a),var(--xl-a)) left/calc((100% - 3px)/2) 100% no-repeat,
    linear-gradient(var(--xl-b),var(--xl-b)) right/calc((100% - 3px)/2) 100% no-repeat}
.xsw-lvl-1of2{--xl-a:var(--xl-1);--xl-b:var(--xl-off)}
.xsw-lvl-2of2{--xl-a:var(--xl-2);--xl-b:var(--xl-2)}
/* Kolor ikony i nazwy poziomu w kafelku .xsw-tier */
.xsw-tier.xsw-lvl-1 h3,.xsw-tier.xsw-lvl-1of2 h3,.xsw-tier.xsw-lvl-1 h3 .material-icons,.xsw-tier.xsw-lvl-1of2 h3 .material-icons{color:#b45309}
.xsw-tier.xsw-lvl-2 h3,.xsw-tier.xsw-lvl-2of2 h3,.xsw-tier.xsw-lvl-2 h3 .material-icons,.xsw-tier.xsw-lvl-2of2 h3 .material-icons{color:#15803d}
.xsw-tier.xsw-lvl-3 h3,.xsw-tier.xsw-lvl-3 h3 .material-icons{color:#1d4ed8}

/* ===== 0.3.177 – blok .xsw na stronie CMS „Co oznacza pasek wydajności?” =====
   Tylko klasy (style w atrybutach style="" usuwa filtr HTML PrestaShop). */
.xsw-grid.xsw-grid--single{grid-template-columns:1fr}
.xsw-grid--single p.xsw-lead{max-width:780px}
.xsw-tier > p{margin:0;font-size:13.5px;line-height:1.55;color:var(--xsw-tx)}
.xsw-tier > p strong{color:var(--xsw-ink)}
.xsw-note{grid-column:1/-1;margin:0;font-size:13px;line-height:1.55;color:var(--xsw-mu)}
.xsw-note strong{color:#15803d}
.xsw h3.xsw-h3{grid-column:1/-1;margin:6px 0 -16px;font-size:20px;line-height:1.25;font-weight:800;letter-spacing:-.01em;color:var(--xsw-ink);text-transform:none}
.xsw-info{grid-column:1/-1;display:grid;grid-template-columns:1fr;gap:12px}
.xsw-info > div{padding:14px 16px;border-radius:14px;background:var(--xsw-bg)}
.xsw-info b{display:flex;align-items:center;gap:7px;margin:0 0 4px;font-size:14.5px;color:var(--xsw-ink)}
.xsw-info b .material-icons{font-size:20px;color:var(--xsw-a)}
.xsw-info p{margin:0;font-size:13.5px;line-height:1.5;color:var(--xsw-tx)}
@media (min-width:576px){.xsw-info{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:992px){.xsw-info{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* ===== 0.3.178 – mniejszy odstęp nad kafelkami podkategorii (np. „Laptopy”) =====
   1) Nagłówek modułu excomcategoryheader9 bez żadnej treści (bez tytułu, opisu i zdjęć)
      zostawiał puste białe pole: 22 + 22 px paddingu + 18 px marginu. Klasę
      .excom-exch9-empty dodaje excom.js tylko wtedy, gdy w nagłówku nie ma tekstu ani obrazu,
      więc kategorie z opisem lub tytułem modułu wyglądają jak dotąd.
   2) Statyczne kafelki modułu podkategorii (exsc9, styl minimalny) bez górnego odstępu
      toru i karty – zdjęcia zaczynają się na wysokości górnej krawędzi filtrów. */
#excom-header9.excom-exch9-empty{display:none!important}
body#category .exsc9-static .exsc9-track{padding-top:0}
body#category .exsc9-static.exsc9-minimal .exsc9-card{padding-top:0}


/* ===== 0.3.179 – Coohom: jasne studio projektowe, niezalezny blok .xco ===== */
.xsw.xco{
  --xco-blue:#146fdc;--xco-dark:#152c45;--xco-text:#53677c;--xco-line:#e0e9f1;
  margin:4px 0 28px;border:1px solid var(--xco-line);border-radius:22px;
  background:#fff;color:var(--xco-text);line-height:1.55;overflow:hidden;isolation:isolate;
}
.xco .xco-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.02fr);gap:34px;align-items:center;padding:30px 32px 26px}
.xco .xco-copy,.xco .xco-visual{min-width:0}
.xco .xco-brand{display:flex;align-items:center;gap:16px;margin-bottom:24px}
.xco .xco-brand img{display:block;width:158px;max-width:48%;height:46px;object-fit:cover;object-position:center}
.xco .xco-brand span{padding-left:16px;border-left:1px solid var(--xco-line);font-size:10px;font-weight:600;line-height:1.5;letter-spacing:.13em;text-transform:uppercase;color:#647991}
.xco p.xco-kicker{margin:0 0 10px;font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--xco-blue)}
.xco h2.xco-title{margin:0 0 16px;font-size:clamp(29px,2.7vw,42px);font-weight:700;line-height:1.12;letter-spacing:-.045em;text-transform:none;color:var(--xco-dark);text-wrap:balance}
.xco h2.xco-title span{display:block;color:var(--xco-blue)}
.xco p.xco-lead{margin:0;max-width:510px;font-size:14.5px;line-height:1.75;color:var(--xco-text)}
.xco .xco-steps{display:flex;flex-wrap:wrap;gap:12px 18px;margin-top:23px;padding-top:16px;border-top:1px solid var(--xco-line)}
.xco .xco-steps span{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:600;color:var(--xco-dark)}
.xco .xco-steps b{font-size:10px;font-weight:700;color:var(--xco-blue)}
.xco .xco-visual{align-self:center;padding:9px;border:1px solid #e1eaf2;border-radius:17px;background:#f3f7fb;overflow:hidden;box-shadow:0 16px 34px -24px rgba(38,77,118,.32)}
.xco .xco-visual > img{display:block;width:100%;height:auto;aspect-ratio:740 / 444;object-fit:contain;border-radius:9px}
.xco p.xco-visual-caption{margin:0;padding:12px 8px 4px;font-size:11px;line-height:1.4;text-align:center;color:#61758a}
.xco .xco-cloud{display:flex;align-items:center;gap:14px;margin:0 32px 24px;padding:14px 17px;border-left:3px solid var(--xco-blue);border-radius:0 9px 9px 0;background:#f3f8ff}
.xco .xco-cloud > .material-icons{flex:0 0 auto;font-size:26px;color:var(--xco-blue)}
.xco .xco-cloud p{margin:0;font-size:12px;line-height:1.55;color:var(--xco-text)}
.xco .xco-cloud strong{display:block;margin-bottom:2px;font-size:13px;font-weight:700;color:var(--xco-dark)}
.xco .xco-specs{padding:21px 32px 22px;border-top:1px solid var(--xco-line);background:#fcfdff}
.xco p.xco-specs-title{margin:0 0 16px;font-size:10px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:#61758a}
.xco .xco-spec-grid{display:grid;grid-template-columns:1fr 1.2fr 1fr 1fr;gap:0}
.xco .xco-spec{min-width:0;padding:0 16px;border-left:1px solid var(--xco-line)}
.xco .xco-spec:first-child{padding-left:0;border-left:0}
.xco .xco-spec:last-child{padding-right:0}
.xco .xco-spec > .material-icons{display:block;margin-bottom:7px;font-size:20px;color:var(--xco-blue)}
.xco .xco-spec b{display:block;font-size:14px;font-weight:700;line-height:1.35;color:var(--xco-dark)}
.xco .xco-spec small{display:block;margin-top:4px;font-size:11px;line-height:1.5;color:#61758a}
.xco .xco-contact{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px 24px;padding:21px 32px;border-top:1px solid var(--xco-line);background:#fff}
.xco .xco-contact p{flex:1 1 260px;margin:0;font-size:12px;line-height:1.6;color:var(--xco-text)}
.xco .xco-contact strong{display:block;margin-bottom:3px;font-size:16px;font-weight:700;letter-spacing:-.02em;color:var(--xco-dark)}
.xco .xco-contact a{display:inline-flex;justify-content:center;align-items:center;gap:13px;min-height:45px;padding:11px 18px;border-radius:9px;background:var(--xco-blue);color:#fff!important;font-size:12px;font-weight:700;line-height:1.4;text-decoration:none;white-space:nowrap;transition:background .16s ease}
.xco .xco-contact a:hover{background:#075fce}
.xco .xco-contact a:focus-visible{outline:3px solid #80b8ff;outline-offset:3px}
.xco .xco-contact a .material-icons{font-size:18px}
@media (max-width:1050px) and (min-width:768px){
  .xco .xco-hero{gap:22px;padding:26px 24px}
  .xco h2.xco-title{font-size:32px}
  .xco .xco-brand{gap:12px;margin-bottom:20px}
  .xco .xco-brand span{padding-left:12px;font-size:9px}
  .xco .xco-steps{gap:10px 14px}
  .xco .xco-cloud{margin-right:24px;margin-left:24px}
  .xco .xco-specs,.xco .xco-contact{padding-right:24px;padding-left:24px}
}
@media (max-width:767.98px){
  .xco .xco-hero{grid-template-columns:minmax(0,1fr);gap:24px;padding:24px}
  .xco .xco-brand{margin-bottom:21px}
  .xco h2.xco-title{font-size:clamp(30px,5.5vw,40px)}
  .xco .xco-visual{width:100%;max-width:520px;justify-self:center}
  .xco .xco-cloud{margin:0 24px 24px}
  .xco .xco-specs,.xco .xco-contact{padding:21px 24px}
  .xco .xco-spec-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 0}
  .xco .xco-spec:nth-child(odd){padding-left:0;border-left:0}
  .xco .xco-spec:nth-child(even){padding-right:0}
}
@media (max-width:420px){
  .xsw.xco{border-radius:16px}
  .xco .xco-hero{padding:20px 18px;gap:22px}
  .xco .xco-brand{gap:12px}
  .xco .xco-brand img{width:144px;height:42px}
  .xco .xco-brand span{font-size:9px;padding-left:12px}
  .xco p.xco-lead{font-size:13.5px}
  .xco .xco-steps{gap:9px 13px}
  .xco .xco-steps span{font-size:10px}
  .xco .xco-cloud{margin:0 18px 20px;padding:12px;gap:10px}
  .xco .xco-cloud > .material-icons{font-size:23px}
  .xco .xco-cloud strong{font-size:12px}
  .xco .xco-cloud p{font-size:11px}
  .xco .xco-specs,.xco .xco-contact{padding:19px 18px}
  .xco .xco-spec{padding-right:12px;padding-left:12px}
  .xco .xco-spec b{font-size:12.5px}
  .xco .xco-spec small{font-size:10.5px}
  .xco .xco-contact a{width:100%}
}
@media (prefers-reduced-motion:reduce){.xco .xco-contact a{transition:none}}



/* ===== 0.3.180 – Coohom bez dodatkowej ramki i powtorzonego logo =====
   Zgodnosc z juz wklejonym opisem PL i EN. Logo w naglowku modulu zostaje. */
.xsw.xco{border:0;border-radius:0;box-shadow:none;background:transparent}
.xco .xco-brand{display:none}

/* Excom 0.3.182: centre the sharing row and LeaseLink calculator in the
   product purchase panel. Keep the modules' own display/visibility rules. */
body#product .excom-product-purchase .product__additional-info .ps-sharebuttons {
  width: 100%;
  max-width: 100%;
  justify-content: center;
  flex-wrap: wrap;
}
body#product .excom-product-purchase .buttonKalkulatorLeasingowego,
body#product .excom-product-purchase .additionalInfoLeaseLink {
  float: none;
  width: 100%;
  max-width: 100%;
  align-self: center;
  text-align: center;
}

/* Excom 0.3.183: the current LeaseLink module renders a web component inside
   #leaselink-onsite. Center that host without changing the calculator modal. */
body#product .excom-product-purchase .product__additional-info #leaselink-onsite > widget-leaselink-button {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}

/* Excom 0.3.184: availability and performance locations on catalog cards. */
.excom-card-minimal-stock,
.excom-card-minimal-performance,
.excom-card-purchase-performance { display: none; }

/* On the regular list and grid, availability precedes both current and old
   prices. The shipping module stays after the price. */
#products.excom-pv--grid .product-miniature .product-miniature__prices > .exav,
#products.excom-pv--list .product-miniature .product-miniature__prices > .exav {
  order: -2 !important;
  margin: 0 0 2px !important;
}

/* The performance slot precedes the action row in the DOM. Both have the
   same order so it stays directly above quantity and add-to-cart. */
#products .product-miniature__commerce > .excom-card-purchase-performance:not(:empty) {
  display: block;
  order: 2 !important;
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
}
#products.excom-pv--minimal .product-miniature__commerce > .excom-card-purchase-performance {
  display: none !important;
}
#products.excom-pv--grid .product-miniature__prices:has(+ .excom-card-purchase-performance:not(:empty)),
#products.excom-pv--list .product-miniature__prices:has(+ .excom-card-purchase-performance:not(:empty)) {
  margin-bottom: 4px !important;
}
#products .excom-card-purchase-performance .exdc-perf {
  margin-top: 3px;
  margin-bottom: 6px;
}

/* Compact view: keep both indicators below the product title, without
   creating an automatic grid cell in the narrow image column. */
#products.excom-pv--minimal .product-miniature__content > .excom-card-minimal-stock,
#products.excom-pv--minimal .product-miniature__content > .excom-card-minimal-performance:not(:empty) {
  display: block !important;
  width: 100%;
  min-width: 0;
}
#products.excom-pv--minimal .product-miniature .product-miniature__commerce .product-miniature__prices > .exav.exav--listing,
#products.excom-pv--minimal .product-miniature .product-miniature__commerce .product-miniature__prices > .exav.exav--section {
  display: none !important;
}
#products.excom-pv--minimal .product-miniature__content > .excom-product-card-heading {
  flex: 0 0 auto !important;
  min-height: 0 !important;
}
#products.excom-pv--minimal .excom-card-minimal-stock .exav {
  display: flex !important;
  justify-content: flex-start !important;
  width: 100% !important;
  margin: 2px 0 0 !important;
  text-align: left !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
}
#products.excom-pv--minimal .excom-card-minimal-performance .exdc-perf {
  width: 100%;
  max-width: 220px;
  min-width: 0;
  margin: 4px 0 0;
  font-size: 10px;
  line-height: 1.2;
}
#products.excom-pv--minimal .excom-card-minimal-performance .exdc-perf__main {
  padding: 4px 6px 3px;
}
#products.excom-pv--minimal .excom-card-minimal-performance .exdc-perf__head {
  align-items: center;
  margin-bottom: 3px;
}
#products.excom-pv--minimal .excom-card-minimal-performance .exdc-perf__level {
  white-space: normal;
  text-align: right;
}

/* Bring the two delivery lines closer without changing the character icon. */
#products .product-miniature .exsc.exsc--listing { gap: 0; }
#products .product-miniature .exsc.exsc--listing .exsc__delivery { margin-top: 0; }

/* Excom 0.3.185: tune the space between cost and delivery time per view.
   In list view the 25px animated icon adds empty vertical space to an
   unwrapped line. Leave wrapped dates and rows without a cost untouched. */
#products.excom-pv--list .product-miniature .exsc.exsc--listing > .exsc__cost:not([hidden]) + .exsc__delivery--default:not([hidden]):has(> .exsc__delivery-line:not(.exsc__delivery-line--wrapped) > .exsc__express:not([hidden])) {
  margin-top: -5px;
}
#products.excom-pv--grid .product-miniature .exsc.exsc--listing > .exsc__cost:not([hidden]) + .exsc__delivery:not([hidden]),
#products.excom-pv--minimal .product-miniature .exsc.exsc--listing > .exsc__cost:not([hidden]) + .exsc__delivery:not([hidden]) {
  margin-top: 2px;
}

/* Excom 0.3.186: product sections use a grid with explicit price rows.
   When the section stock indicator is present, reserve a row for it before
   both prices. The shipping module remains after the current price. */
.module-products .product-miniature .product-miniature__prices:has(> .exav--section) > .exav--section {
  grid-column: 1 / -1 !important;
  grid-row: 1 !important;
  order: -2 !important;
  margin: 0 0 2px !important;
}
.module-products .product-miniature .product-miniature__prices:has(> .exav--section) > .product-miniature__discount-price {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  order: -1 !important;
}
.module-products .product-miniature .product-miniature__prices:has(> .exav--section) > .product-miniature__price {
  grid-column: 1 / -1 !important;
  grid-row: 3 !important;
  order: 0 !important;
}

/* MINIMAL: performance stays below the title. The stock indicator is shown
   with delivery information instead of in the title block. */
#products.excom-pv--minimal .product-miniature__content > .excom-card-minimal-stock {
  display: none !important;
}
#products.excom-pv--minimal .product-miniature .product-miniature__commerce .product-miniature__prices > .exav.exav--listing,
#products.excom-pv--minimal .product-miniature .product-miniature__commerce .product-miniature__prices > .exav.exav--section {
  display: flex !important;
  order: 10 !important;
  margin: 2px 0 0 !important;
}

/* On wide cards, place stock and delivery to the left, and the price above
   the purchase buttons, as in the compact reference. Narrow cards retain
   their stacked layout. */
@container excom-minimal (min-width: 761px) {
  #products.excom-pv--minimal .product-miniature__inner {
    grid-template-columns: 77px minmax(0, 1fr) auto auto auto auto !important;
    grid-template-rows: auto auto auto auto auto !important;
    grid-template-areas:
      '. . meta meta meta meta'
      'image content stock-location . . .'
      'image content stock-indicator compact-price compact-price compact-price'
      'image content compact-delivery description cart quickview'
      'compare content compact-delivery description cart quickview' !important;
  }

  #products.excom-pv--minimal .product-miniature__prices {
    display: contents !important;
  }

  #products.excom-pv--minimal .product-miniature .product-miniature__prices > .excom-product-location--miniature {
    grid-area: stock-location !important;
    justify-self: end !important;
  }
  #products.excom-pv--minimal .product-miniature .product-miniature__prices > .product-miniature__price {
    grid-area: compact-price !important;
    justify-self: end !important;
    align-self: center !important;
    width: auto !important;
  }
  #products.excom-pv--minimal .product-miniature .product-miniature__commerce .product-miniature__prices > .exav {
    grid-area: stock-indicator !important;
    justify-self: end !important;
    align-self: center !important;
  }
  #products.excom-pv--minimal .product-miniature .product-miniature__prices > .exsc.exsc--listing {
    grid-area: compact-delivery !important;
    justify-self: end !important;
    align-self: start !important;
  }
  #products.excom-pv--minimal .excom-product-description,
  #products.excom-pv--minimal .product-miniature__actions,
  #products.excom-pv--minimal .excom-list-quickview {
    align-self: start !important;
  }
}

/* Excom 0.3.189: in list view align the product title and its configuration
   with the feature labels below. Move the brand logo with the title. */
#products.excom-pv--list .product-miniature__inner {
  --excom-list-heading-shift: 17px;
}
#products.excom-pv--list .product-miniature .excom-product-card-heading > .excom-product-card-brand {
  margin-left: calc(0px - var(--excom-list-heading-shift)) !important;
}

/* The origin module uses a grid for the title when its notice is present.
   Keep its right-hand notice in place while aligning the title exactly like
   the regular flex heading. This also works when the module is disabled. */
#products.excom-pv--list .product-miniature.exorigin-positioned .excom-product-card-heading:has(> .excom-product-card-brand):has(> .product-miniature__title .expt-title__model):has(> .product-miniature__title .expt-title__values) {
  grid-template-columns: calc(28px - var(--excom-list-heading-shift)) minmax(0, 1fr) fit-content(48%) !important;
}

/* Preserve room between the logo and the photo on narrow product lists. */
@container excom-list (max-width: 760px) {
  #products.excom-pv--list .product-miniature__inner {
    --excom-list-heading-shift: 12px;
  }
}
@container excom-list (max-width: 400px) {
  #products.excom-pv--list .product-miniature__inner {
    --excom-list-heading-shift: 8px;
  }
}

/* Excom 0.3.196: the same layout (price directly above quantity and add-to-cart)
   now also applies to recently viewed, promotions, new products and product sliders. */
/* Excom 0.3.190 / 0.3.194: on catalog list/grid cards and other products in
   the same category, keep the current price directly above quantity and
   add-to-cart. The prices wrapper stays in the DOM so price, tax and delivery
   modules can continue to find their hooks. */
:is(#products:is(.excom-pv--grid, .excom-pv--list) #js-product-list, .ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__commerce > .product-miniature__prices {
  display: contents !important;
}

/* Unknown price-hook output remains above the performance indicator. */
:is(#products:is(.excom-pv--grid, .excom-pv--list) #js-product-list, .ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__commerce > .product-miniature__prices > * {
  order: 4 !important;
}
:is(#products:is(.excom-pv--grid, .excom-pv--list) #js-product-list, .ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__commerce > .product-miniature__prices > .excom-product-location--miniature {
  order: 1 !important;
}
:is(#products:is(.excom-pv--grid, .excom-pv--list) #js-product-list, .ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__commerce > .product-miniature__prices > .exorigin--card {
  order: 2 !important;
}
:is(#products:is(.excom-pv--grid, .excom-pv--list) #js-product-list, .ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__commerce > .product-miniature__prices > .exav {
  order: 3 !important;
}
:is(#products:is(.excom-pv--grid, .excom-pv--list) #js-product-list, .ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__commerce > .excom-card-purchase-performance {
  order: 5 !important;
}
:is(#products:is(.excom-pv--grid, .excom-pv--list) #js-product-list, .ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__commerce > .product-miniature__prices > .product-miniature__discount-price {
  order: 6 !important;
}
:is(#products:is(.excom-pv--grid, .excom-pv--list) #js-product-list, .ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__commerce > .product-miniature__prices > .product-miniature__price {
  order: 7 !important;
  margin: 2px 0 6px !important;
}
:is(#products:is(.excom-pv--grid, .excom-pv--list) #js-product-list, .ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__commerce > .product-miniature__actions {
  order: 8 !important;
}
:is(#products:is(.excom-pv--grid, .excom-pv--list) #js-product-list, .ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__commerce > .excom-card-action-row {
  order: 9 !important;
}

/* The price container has no box in these views; keep the existing separator
   above the buying area in grid cards on their commerce wrapper. */
:is(#products.excom-pv--grid #js-product-list, .ps-categoryproducts .module-products, .ps-viewedproduct .module-products, .ps-specials .module-products, .ps-newproducts .module-products, .excom-productslider.module-products) .product-miniature__commerce:has(> .product-miniature__prices) {
  border-top: 1px solid #edf0f4 !important;
  padding-top: 10px !important;
}

/* Excom 0.3.192: additional space above the price in list view only. */
#products.excom-pv--list #js-product-list .product-miniature__commerce > .product-miniature__prices > .product-miniature__price {
  margin-top: 14px !important;
}

/* In a promotion the old and current prices remain close together; put the
   extra space above the old price instead of between the two prices. */
#products.excom-pv--list #js-product-list .product-miniature__commerce > .product-miniature__prices > .product-miniature__discount-price:has(.excom-regular-price-line) {
  margin-top: 12px !important;
}
#products.excom-pv--list #js-product-list .product-miniature__commerce > .product-miniature__prices:has(> .product-miniature__discount-price .excom-regular-price-line) > .product-miniature__price {
  margin-top: 2px !important;
}

/* ===== Excom 0.3.193 – opis kategorii „Komputery do CAD i grafiki”: „Jak to działa?” w 3 krokach (xcs) =====
   Opis w Katalog → Kategorie (kod HTML): <div class="xcs"> … <ol class="xcs-steps"> … </ol> … </div>
   Numery i ikony (SVG w CSS) dodaje motyw – w opisie są tylko tekst i klasy, więc TinyMCE/HTMLPurifier niczego nie wytnie.
   W module excomcategoryheader9 blok wyłącza skrót „Rozwiń opis” i nadaje tytułowi granatowy, pogrubiony styl. */
.xcs{--xcs-blue:#0672ce;--xcs-navy:#10294f;--xcs-tx:#33465c;--xcs-mu:#66788e;--xcs-ln:#e3e9f0;--xcs-ico-prog:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='4' width='17' height='13' rx='1.5'/%3E%3Cpath d='M2.5 7.5h17'/%3E%3Cpath d='M5 5.75h.01M7 5.75h.01'/%3E%3Cpath d='M13.5 12.5l7 2.5-3 1.2-1.2 3z'/%3E%3C/svg%3E");--xcs-ico-match:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13.5 2.5H6.5A1.5 1.5 0 0 0 5 4v16a1.5 1.5 0 0 0 1.5 1.5H11'/%3E%3Cpath d='M13.5 2.5V7H18'/%3E%3Cpath d='M13.5 2.5L18 7v3'/%3E%3Cpath d='M8 10.5h5M8 14h3'/%3E%3Ccircle cx='17' cy='17' r='4.5'/%3E%3Cpath d='M15 17l1.5 1.5 2.5-2.5'/%3E%3C/svg%3E");--xcs-ico-cmp:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h10M17 6h4M3 12h4M11 12h10M3 18h12M19 18h2'/%3E%3Ccircle cx='15' cy='6' r='2'/%3E%3Ccircle cx='9' cy='12' r='2'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3C/svg%3E");--xcs-ico-shield:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 4.5-3 8-7 10-4-2-7-5.5-7-10V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E");--xcs-ico-layers:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l9 5-9 5-9-5z'/%3E%3Cpath d='M3 13l9 5 9-5'/%3E%3C/svg%3E");color:var(--xcs-tx);font-size:15px;line-height:1.55;text-align:left}
.xcs *{box-sizing:border-box}
.xcs p{margin:0}
.xcs p.xcs-lead{font-size:clamp(16px,1.4vw,18px);line-height:1.5;color:#55667a}
.xcs p.xcs-trust{display:flex;align-items:flex-start;gap:7px;margin-top:8px;font-size:13px;line-height:1.45;color:var(--xcs-mu)}
.xcs p.xcs-trust::before,.xcs p.xcs-note::before{content:"";flex:0 0 auto;width:16px;height:16px;margin-top:1px;background:#1f8a4c;-webkit-mask:var(--xcs-ico-shield) center/contain no-repeat;mask:var(--xcs-ico-shield) center/contain no-repeat}
.xcs p.xcs-how{margin-top:18px;padding-top:16px;border-top:1px solid var(--xcs-ln);font-size:17px;font-weight:700;color:var(--xcs-navy)}
.xcs ol.xcs-steps{counter-reset:xcs;display:grid;grid-template-columns:1fr;margin:6px 0 0;padding:0;list-style:none}
.xcs ol.xcs-steps > li.xcs-step{counter-increment:xcs;display:grid;grid-template-columns:38px minmax(0,1fr);column-gap:6px;align-content:start;margin:0;padding:12px 0;border-top:1px solid var(--xcs-ln)}
.xcs ol.xcs-steps > li.xcs-step:first-child{border-top:0}
.xcs ol.xcs-steps > li.xcs-step::before{content:counter(xcs,decimal-leading-zero);grid-row:1/3;font-size:20px;font-weight:500;line-height:1.2;color:var(--xcs-blue);font-variant-numeric:tabular-nums}
.xcs .xcs-step__title{display:block;font-size:16px;font-weight:700;line-height:1.5;color:var(--xcs-navy)}
.xcs .xcs-step__title::after{content:"";display:inline-block;vertical-align:-6px;margin-left:9px;width:24px;height:24px;background:var(--xcs-blue);-webkit-mask:var(--xcs-ico) center/contain no-repeat;mask:var(--xcs-ico) center/contain no-repeat}
.xcs li.xcs-step:nth-child(1){--xcs-ico:var(--xcs-ico-prog)}
.xcs li.xcs-step:nth-child(2){--xcs-ico:var(--xcs-ico-match)}
.xcs li.xcs-step:nth-child(3){--xcs-ico:var(--xcs-ico-cmp)}
.xcs .xcs-step__text{display:block;margin-top:3px;font-size:13.5px;line-height:1.5;color:var(--xcs-mu)}
.xcs p.xcs-note{display:flex;align-items:flex-start;gap:7px;margin-top:4px;padding-top:12px;border-top:1px solid var(--xcs-ln);font-size:13px;line-height:1.45;color:var(--xcs-mu)}
.xcs p.xcs-note::before{background:var(--xcs-blue);-webkit-mask-image:var(--xcs-ico-layers);mask-image:var(--xcs-ico-layers)}
.xcs p.xcs-note strong{color:var(--xcs-navy);font-weight:600}
@media (min-width:768px){
  .xcs ol.xcs-steps{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:14px}
  .xcs ol.xcs-steps > li.xcs-step{grid-template-columns:38px minmax(0,1fr);padding:0 20px 16px;border-top:0;border-left:1px solid var(--xcs-ln)}
  .xcs ol.xcs-steps > li.xcs-step:first-child{padding-left:0;border-left:0}
  .xcs ol.xcs-steps > li.xcs-step:last-child{padding-right:0}
  .xcs ol.xcs-steps > li.xcs-step::before{font-size:22px}
  .xcs p.xcs-note{margin-top:6px;padding-top:14px}
}
/* tablet / wąska kolumna: numer nad tytułem, żeby tytuł z ikoną się mieścił */
@media (min-width:768px) and (max-width:1099.98px){
  .xcs ol.xcs-steps > li.xcs-step{grid-template-columns:minmax(0,1fr)}
  .xcs ol.xcs-steps > li.xcs-step::before{grid-row:auto;font-size:18px;margin-bottom:2px}
  .xcs .xcs-step__title{font-size:15px;line-height:1.35}
}
/* nagłówek modułu excomcategoryheader9 */
.exch9:has(.xcs) .exch9-excerpt,.exch9:has(.xcs) .exch9-toggle{display:none!important}
.exch9:has(.xcs) .exch9-full{display:block!important}
@layer vendors{.exch9:has(.xcs) .exch9-full[hidden]{display:block!important}}
.exch9:has(.xcs) .exch9-description{font-size:inherit;line-height:inherit;overflow-wrap:normal}
.exch9:has(.xcs) .exch9-title{margin-bottom:6px;font-size:clamp(26px,2.6vw,34px);font-weight:800;letter-spacing:-.015em;color:#10294f}

/* ===== Excom 0.3.194 – „Komputery do CAD i grafiki”: strzałka do karuzeli podkategorii + mniejszy odstęp =====
   Działa tylko na stronie, której opis zawiera blok .xcs. Odstępy karuzeli pochodzą z modułu
   excomsubcategorycarousel9 – nadpisane tutaj, bez zmian w module. */
.exch9:has(.xcs){position:relative}
.exch9:has(.xcs)::after{content:"expand_more";position:absolute;z-index:2;left:50%;bottom:-18px;width:36px;height:36px;margin-left:-18px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#2b2f36;color:#fff;box-shadow:0 0 0 5px #fff;font-family:'Material Icons';font-size:26px;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;-webkit-font-smoothing:antialiased;font-feature-settings:'liga';pointer-events:none}
.exch9:has(.xcs) ~ #excom-carousel9 .exsc9-navigation{padding-top:0}
.exch9:has(.xcs) ~ #excom-carousel9 .exsc9-track{padding-top:0}
.exch9:has(.xcs) ~ #excom-carousel9 .exsc9-track .exsc9-card{padding-top:6px!important}

/* ===== Excom 0.3.195 – exocad: jaśniejszy nagłówek (tekst na białym, fiolet tylko za zdjęciem) =====
   Włącza się klasą xdn--light w opisie kategorii: <div class="xsw xdn xdn--light">. */
.xdn-kick:empty{display:none}
.xdn--light .xdn-hero{padding:0;border-radius:0;background:none;color:var(--xdn-tx);overflow:visible;gap:28px}
.xdn--light .xdn-hero::after{content:none}
.xdn--light h2.xdn-title{color:var(--xdn-ink)}
.xdn--light h2.xdn-title span{color:var(--xdn-o)}
.xdn--light p.xdn-lead{color:var(--xdn-tx)}
.xdn--light .xdn-mods span{background:var(--xdn-bg);border-color:var(--xdn-ln);color:var(--xdn-v)}
.xdn--light .xdn-mods .material-icons{color:var(--xdn-o)}
.xdn--light .xdn-img{position:relative;padding:18px;border-radius:24px;background:linear-gradient(120deg,#3a2f5a 0%,var(--xdn-v) 45%,var(--xdn-v2) 100%);box-shadow:none;overflow:hidden}
.xdn--light .xdn-img::after{content:"";position:absolute;right:-60px;bottom:-90px;width:240px;height:240px;border-radius:50%;background:radial-gradient(circle,rgba(227,107,44,.45),transparent 65%);pointer-events:none}
.xdn--light .xdn-img img{position:relative;z-index:1;border-radius:14px;box-shadow:0 24px 50px -20px rgba(0,0,0,.5)}

/* ===== EXCOM 0.3.197: sort dropdown no longer overlaps the view switch =====
   The dropdown had a fixed 230 px basis while the button text is nowrap
   (Bootstrap .dropdown-toggle). Long labels such as "Data dodania, od
   najnowszych" (Nowe produkty) overflowed the box and slid under the
   grid/list switch. Now the dropdown sizes to its label; when space runs
   out it shrinks and the label is cut with an ellipsis instead. */
#js-product-list-top .products__sort-dropdown-button {
  display: flex;
  align-items: center;
  gap: .5rem;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}
#js-product-list-top .products__sort-dropdown-label {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}
#js-product-list-top .products__sort-dropdown-button::after {
  flex: 0 0 auto;
}
@media (min-width: 768px) {
  #js-product-list-top .products__sort > * {
    flex-shrink: 0;
  }
  #js-product-list-top .products__sort-dropdown {
    flex: 0 1 auto;
    min-width: 130px;
    max-width: 320px;
  }
  #js-product-list-top .products__sort > .products__sort-dropdown {
    flex-shrink: 1;
  }
}


/* Excom: baner AI w opisie kategorii. Style poza edytorem HTML. */
.exch9:has(.xsw.xai) .exch9-logo { margin-bottom: 8px; }
.xsw.xai {
  --xsw-a: #0b987f;
  --xsw-ink: #151b29;
  --xsw-tx: #606a78;
  --xsw-mu: #808998;
  margin: 0;
  background: #fff;
}
.xsw.xai .xsw-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 32px;
  align-items: start;
}
.xsw.xai .xsw-kicker {
  margin: 0 0 18px;
  color: #5e6878;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.xsw.xai h2.xsw-title {
  margin: 0 0 20px;
  color: var(--xsw-ink);
  font-size: clamp(32px, 4vw, 52px);
  font-size: clamp(32px, 8.8cqi, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: none;
}
.xsw.xai h2.xsw-title span {
  display: block;
  background: none;
  color: var(--xsw-a);
  -webkit-text-fill-color: currentColor;
}
.xsw.xai p.xsw-lead {
  max-width: 520px;
  margin: 0;
  color: var(--xsw-tx);
  font-size: 16px;
  line-height: 1.7;
}
.xsw.xai .xai-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 24px;
  color: #303c4b;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}
.xsw.xai .xai-features > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.xsw.xai .xai-features > span::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--xsw-a);
}
.xsw.xai .xai-visual {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
}
.xsw.xai .xai-visual > img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  border: 0;
  background: transparent;
}
.xsw.xai p.xai-caption {
  margin: 8px 0 0;
  color: var(--xsw-mu);
  text-align: center;
  font-size: 11px;
  line-height: 1.5;
}
@media (max-width: 899.98px) {
  .xsw.xai .xsw-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .xsw.xai h2.xsw-title {
    font-size: clamp(32px, 6vw, 48px);
  }
  .xsw.xai .xai-visual {
    max-width: 640px;
    margin: 0 auto;
  }
}
@media (max-width: 479.98px) {
  .xsw.xai p.xsw-lead { font-size: 15px; }
  .xsw.xai .xai-features { gap: 9px 14px; }
}
