/* Visual effects only: no dimensions, grid rules or document spacing change. */
html[data-rg-css~="newui"][data-rg-css~="catalogue"] body #catalog #indexmainpage .catalogue-list-item.ajax_buy:not(tr) .product-preview {
  transition: box-shadow 240ms ease, border-color 240ms ease !important;
}
html[data-rg-css~="newui"][data-rg-css~="catalogue"] body #catalog #indexmainpage .catalogue-list-item.ajax_buy:not(tr) .product-preview .image img {
  transition: transform 360ms cubic-bezier(.2,.7,.2,1) !important;
  transform-origin: center;
}
html[data-rg-css~="newui"][data-rg-css~="catalogue"] body #catalog #indexmainpage .catalogue-list-item.ajax_buy:not(tr):focus-within .product-preview {
  box-shadow: inset 0 -2px 0 rgba(223,87,69,.8), 0 8px 24px rgba(69,56,44,.085) !important;
  border-bottom-color: #df5745 !important;
  transform: none !important;
}
@media (hover: hover) and (pointer: fine) {
  html[data-rg-css~="newui"][data-rg-css~="catalogue"] body #catalog #indexmainpage .catalogue-list-item.ajax_buy:not(tr):hover .product-preview {
    box-shadow: inset 0 -2px 0 rgba(223,87,69,.8), 0 8px 24px rgba(69,56,44,.085) !important;
  border-bottom-color: #df5745 !important;
  transform: none !important;
  }
  html[data-rg-css~="newui"][data-rg-css~="catalogue"] body #catalog #indexmainpage .catalogue-list-item.ajax_buy:not(tr):hover .product-preview .image img {
    transform: scale(1.035) !important;
  }
}
/* A hovered section owns the line; otherwise it belongs to the active section. */
html[data-rg-css~="newui"] body .header-workbench .header-nav>.inner>ul>li>a::after {
  left: 0 !important;
  right: 0 !important;
  width: auto !important;
  box-sizing: border-box !important;
  padding-left: inherit !important;
  padding-right: inherit !important;
  background-clip: content-box !important;
}
html[data-rg-css~="newui"] body .header-workbench .header-nav>.inner>ul>li>a:not(.active)::after {
  content: none !important;
  display: none !important;
}
html[data-rg-css~="newui"] body .header-workbench .header-nav>.inner>ul>li>a.active::after {
  content: "" !important;
  display: block !important;
  width: auto !important;
  background-color: #df5745 !important;
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
@media (hover: hover) and (pointer: fine) {
  html[data-rg-css~="newui"] body .header-workbench .header-nav>.inner>ul>li:hover>a::after {
    content: "" !important;
    display: block !important;
    width: auto !important;
    background-color: #df5745 !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  html[data-rg-css~="newui"] body .header-workbench .header-nav>.inner>ul:has(>li:hover>a:not(.active))>li>a.active::after {
    content: none !important;
    display: none !important;
  }
}
/* The drawer has a separate tablet close control; retain the mobile button only on mobile. */
@media (min-width: 769px) {
  html[data-rg-css~="newui"][data-rg-css~="catalogue"] #cat_form > .rg-mobile-filter-close {
    display: none !important;
  }
}
/* Keep the drawer body from drawing another frame below its heading. */
@media (max-width: 1024px) {
  html[data-rg-css~="newui"][data-rg-css~="catalogue"] body #catalog #cat_form.rg-stable-filter > .catalogue-filter {
    border-color: transparent !important;
  }
}
/* Transparent borders retain geometry without drawing extra separator bands. */
html[data-rg-css~="newui"][data-rg-css~="catalogue"] body #catalog #cat_form.rg-stable-filter .catalogue-filter-title,
html[data-rg-css~="newui"][data-rg-css~="catalogue"] body #catalog #cat_form.catalogue-filter-holder.rg-stable-filter .catalogue-filter-scroll>.filter-btns.catalogue-filter-actions-outside {
  border-bottom-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}
html[data-rg-css~="newui"][data-rg-css~="catalogue"] body #catalog #cat_form.catalogue-filter-holder.rg-stable-filter .catalogue-filter-scroll>.filter-btns.catalogue-filter-actions-outside {
  background-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
html[data-rg-css~="newui"][data-rg-css~="catalogue"] #catalog #cat_form.catalogue-filter-holder.rg-stable-filter {
  transition: none !important;
}
html[data-rg-css~="newui"][data-rg-css~="catalogue"] #catalog #cat_form.catalogue-filter-holder.rg-stable-filter.active {
  transition: opacity 180ms ease !important;
}
@keyframes rg-panel-enter {
  from { filter: opacity(0); translate: 0 -8px; }
  to { filter: opacity(1); translate: 0 0; }
}
html[data-rg-css~="newui"] .header-workbench .header-right-search.is-open .header-search-desktop,
html[data-rg-css~="newui"] .header-workbench .header-search[aria-hidden="false"],
html[data-rg-css~="newui"] .header-workbench .header-cart-dropdown.active {
  animation: rg-panel-enter 240ms cubic-bezier(.2,.7,.2,1) backwards;
}
@media (prefers-reduced-motion: reduce) {
  html[data-rg-css~="newui"][data-rg-css~="catalogue"] body #catalog #indexmainpage .catalogue-list-item.ajax_buy:not(tr) .product-preview,
  html[data-rg-css~="newui"][data-rg-css~="catalogue"] body #catalog #indexmainpage .catalogue-list-item.ajax_buy:not(tr) .product-preview .image img,
  html[data-rg-css~="newui"][data-rg-css~="catalogue"] #catalog #cat_form.catalogue-filter-holder.rg-stable-filter {
    transition: none !important;
  }
  html[data-rg-css~="newui"][data-rg-css~="catalogue"] body #catalog #indexmainpage .catalogue-list-item.ajax_buy:not(tr):hover .product-preview .image img {
    transform: none !important;
  }
  html[data-rg-css~="newui"] .header-workbench .header-right-search.is-open .header-search-desktop,
  html[data-rg-css~="newui"] .header-workbench .header-search[aria-hidden="false"],
  html[data-rg-css~="newui"] .header-workbench .header-cart-dropdown.active {
    animation: none !important;
  }
}
