/* PM Autopeças — visual clone of leo_carsmarket (PS 1.6) on Classic (PS 9) */

:root {
  --pm-yellow: #efce14;
  --pm-yellow-dark: #d7b912;
  --pm-topbar: #1d1916;
  --pm-text: #666666;
  --pm-price: #d63d3d;
  --pm-chooser: #222222;
}

body,
body#index {
  font-family: "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
  color: var(--pm-text);
  background: #fff;
}

h1, h2, h3, h4, .h1, .h2, .h3, .h4,
.product-title,
.product-title a {
  font-family: Raleway, "Source Sans Pro", sans-serif;
  font-weight: 300;
}

.form-control {
  color: #555555;
}

/* Match leo_carsmarket grid: 10px gutters, 1190px container at xl */
.container {
  padding-left: 10px;
  padding-right: 10px;
}

.row {
  margin-left: -10px;
  margin-right: -10px;
}

.row > .col,
.row > [class*="col-"] {
  padding-left: 10px;
  padding-right: 10px;
}

@media (min-width: 768px) {
  .container,
  #header .container,
  #wrapper .container,
  #footer .container {
    width: 740px;
    max-width: 100%;
  }
}

@media (min-width: 992px) {
  .container,
  #header .container,
  #wrapper .container,
  #footer .container {
    width: 960px;
    max-width: 100%;
  }
}

@media (min-width: 1200px) {
  .container,
  #header .container,
  #wrapper .container,
  #footer .container {
    width: 1190px !important;
    max-width: 1190px !important;
  }
}

/* Bootstrap 4 .no-gutters — Classic (alpha) does not ship this class */
.row.no-gutters {
  margin-right: 0;
  margin-left: 0;
}

.row.no-gutters > .col,
.row.no-gutters > [class*="col-"] {
  padding-right: 0;
  padding-left: 0;
}

.pm-header-bottom .row.no-gutters {
  margin-left: 0;
  margin-right: 0;
}

#header {
  background: #fff;
  box-shadow: none;
  border-bottom: 0;
  overflow: visible;
  position: relative;
  z-index: 20;
  font-size: 0;
}

#header > *,
#header .header-nav,
#header .header-top,
#header .pm-header-bottom {
  font-size: 12px;
}

#header .header-banner,
#header .header-banner:empty {
  display: none !important;
  height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  line-height: 0;
  overflow: hidden;
}

/* Top bar — dark like 1.6 #topbar. Classic paints a 2px #f6f6f6 bottom border. */
.pm-topbar,
#header .header-nav,
#header .header-nav.pm-topbar {
  background: var(--pm-topbar);
  color: #999;
  height: 36px;
  min-height: 36px;
  max-height: 36px !important;
  font-size: 12px;
  font-weight: 400;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none;
  line-height: 36px;
  overflow: visible;
}

.pm-topbar > .container,
.pm-topbar > .container > .row {
  margin-bottom: 0;
  height: 36px;
}

.pm-topbar-inner,
.pm-topbar .hidden-sm-down,
.pm-topbar .hidden-sm-down.pm-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 36px;
  float: none;
}

.pm-topbar-left,
.pm-topbar-right,
#header .header-nav .right-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  float: none;
  width: auto;
  max-width: none;
  padding: 0;
  margin: 0;
  height: 36px;
}

#header .header-nav #_desktop_contact_link,
#header .header-nav #_desktop_contact_link #contact-link,
#header .header-nav .user-info {
  display: flex;
  align-items: center;
  margin: 0 !important;
  padding: 0;
  white-space: nowrap;
  height: 36px;
}

.pm-topbar .pm-contact-link {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 5px;
}

.pm-topbar .pm-topbar-item {
  display: inline-flex;
  align-items: center;
  height: 33px;
  padding: 0 10px;
  margin: 0;
  line-height: 33px;
  background-color: rgba(255, 255, 255, 0.07);
  border-radius: 3px;
}

.pm-topbar .pm-topbar-item:hover {
  background-color: #fff;
}

.pm-topbar .pm-topbar-item:hover,
.pm-topbar .pm-topbar-item:hover a,
.pm-topbar .pm-topbar-item:hover strong,
.pm-topbar a.pm-topbar-item.shop-email:hover {
  color: #111;
}

.pm-topbar a,
.pm-topbar .shop-phone,
.pm-topbar #contact-link,
.pm-topbar .user-info a,
.pm-topbar .cart-preview a,
.pm-topbar .blockcart a {
  color: #fff;
}

.pm-topbar .shop-phone,
.pm-topbar .pm-welcome {
  color: #999;
}

#header .header-nav.pm-topbar a.shop-email,
.pm-topbar a.shop-email {
  color: #999;
}

.pm-topbar .shop-phone a,
.pm-topbar .shop-phone strong {
  color: #fff;
  font-weight: 600;
}

.pm-topbar a:hover,
.pm-topbar .shop-phone a:hover {
  color: var(--pm-yellow);
}

.pm-topbar .shop-phone::after {
  content: " (Chamada para a rede fixa nacional)";
  color: #999;
  font-weight: 400;
}

.pm-topbar .material-icons,
.pm-topbar i.material-icons {
  display: inline-block;
  font-size: 16px;
  width: auto;
  height: auto;
  padding: 0;
  vertical-align: middle;
  color: var(--pm-yellow);
  margin-right: 4px;
  line-height: 1;
}

#header .header-nav.pm-topbar .pm-welcome a,
.pm-topbar .pm-welcome a {
  color: #fff;
  text-decoration: none;
}

#header .header-nav.pm-topbar .pm-welcome a:hover,
.pm-topbar .pm-welcome a:hover,
#header .header-nav.pm-topbar a.shop-email:hover,
.pm-topbar a.shop-email:hover {
  color: var(--pm-yellow);
}

.pm-topbar .pm-user-info {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.pm-topbar .pm-user-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  height: 36px;
}

.pm-topbar .pm-user-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
}

.pm-topbar .pm-user-icon::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2px;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 4px solid #999;
}

.pm-topbar .pm-user-icon .material-icons {
  font-size: 16px;
  margin-right: 0;
  color: var(--pm-yellow);
}

.pm-topbar .pm-user-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: auto;
  z-index: 50;
  min-width: 170px;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  text-align: left;
  line-height: 1.2;
}

.pm-topbar .pm-user-menu li {
  margin: 0;
  padding: 0;
  line-height: 1.2;
  text-align: left;
}

.pm-topbar .pm-user-dropdown:hover .pm-user-menu,
.pm-topbar .pm-user-dropdown:focus-within .pm-user-menu {
  display: block;
}

.pm-topbar .pm-user-menu a {
  display: block;
  padding: 2px 12px;
  color: #666 !important;
  font-size: 12px;
  line-height: 18px;
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
}

.pm-topbar .pm-user-menu a:hover {
  color: var(--pm-yellow) !important;
  background: transparent;
}

#header .header-nav .right-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

/* Cart: compact horizontal block like 1.6 #cart (icon + "Carrinho (vazio)") */
#header .header-nav #_desktop_cart,
.pm-topbar #_desktop_cart {
  display: flex;
  align-items: center;
  height: 36px;
}

#header .header-nav .blockcart,
#header .header-nav .blockcart.active,
#header .header-nav .cart-preview.active,
.pm-topbar .blockcart,
.pm-topbar .pm-cart {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  height: 30px !important;
  max-height: 30px !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 0 0 6px !important;
  background: transparent !important;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  line-height: 1;
}

#header .header-nav .blockcart .header,
.pm-topbar .pm-cart .header {
  display: flex;
  margin: 0 !important;
  padding: 0;
  height: 30px;
}

#header .header-nav .blockcart a,
.pm-topbar .pm-cart-link {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  height: 30px;
  padding: 0;
  color: #fff !important;
  text-decoration: none;
}

.pm-cart-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  background: #c23737;
  border-bottom: 3px solid #982626;
  border-radius: 3px 0 0 3px;
}

.pm-cart-label {
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: #d73e3e;
  border-bottom: 3px solid #ae2929;
  border-radius: 0 3px 3px 0;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
}

#header .header-nav .blockcart a:hover,
.pm-topbar .pm-cart-link:hover,
#header .header-nav .cart-preview .shopping-cart,
#header .header-nav .blockcart .shopping-cart,
.pm-topbar .blockcart a,
.pm-topbar .blockcart .material-icons,
.pm-cart-icon .material-icons {
  color: #fff !important;
}

.pm-topbar .blockcart .material-icons,
.pm-cart-icon .material-icons {
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 16px !important;
  width: auto !important;
  height: auto !important;
  line-height: 1 !important;
}

/* Hide lang/currency if still hooked */
.pm-topbar .language-selector,
.pm-topbar .currency-selector,
#header .language-selector-wrapper,
#header .currency-selector {
  display: none;
}

/* White header / logo + menu — flush against the topbar */
.pm-header-main,
#header .header-top,
#header .header-top.pm-header-main {
  background: #fff;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  position: relative;
  z-index: 30;
  font-size: 12px;
}

/* Beat Classic: #header .header-top>.container>.row:first-of-type { align-items:center } */
#header .header-top > .container > .row:first-of-type,
#header .header-top.pm-header-main > .container > .row:first-of-type {
  display: flex;
  align-items: stretch;
  min-height: 70px;
}

#header .header-top > .container > .row:first-of-type > #_desktop_logo,
#header .header-top > .container > .row:first-of-type > .header-top-right {
  display: flex;
  align-items: stretch;
  min-height: 70px;
  padding-top: 0;
  padding-bottom: 0;
}

#header #_desktop_logo,
#header #_desktop_logo .pm-logo-heading,
#header #_desktop_logo a {
  display: flex;
  align-items: center;
  height: 100%;
  margin: 0;
}

.pm-logo-heading {
  margin: 0;
  font-size: inherit;
}

#header #_desktop_logo img,
#header .logo {
  max-height: 70px;
  width: auto;
}

#header .header-top-right,
#header .header-top .header-top-right {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  min-height: 70px;
  padding-right: 0;
}

/* Beat Classic: #header .header-top .menu { padding-left:15px } */
#header .header-top .menu {
  padding-left: 0;
}

/* Beat Classic: #header .menu,#header .menu>ul>li { display:inline-block } */
#header .menu,
#header .menu > ul > li,
#header #_desktop_top_menu,
#header #_desktop_top_menu > ul > li {
  display: flex;
  align-items: stretch;
  height: 100%;
  margin: 0;
  float: none;
}

#header .menu,
#header #_desktop_top_menu {
  width: 100%;
}

#header .menu > .clearfix {
  display: none;
}

#header #top-menu.top-menu,
#header .top-menu[data-depth="0"],
#header .menu > ul.top-menu {
  background: #fff;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
}

#header .top-menu > li,
#header .menu > ul > li {
  position: relative;
  display: flex;
  align-items: stretch;
  height: 100%;
  margin: 0;
}

#header .header-top .top-menu > li > a.dropdown-item[data-depth="0"],
#header .top-menu > li > a[data-depth="0"] {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0 25px;
  clear: none;
  color: #000;
  font-family: Raleway, "Source Sans Pro", sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
  border-left: 1px solid #cbcbcb;
  border-radius: 0;
  box-shadow: 1px 0 0 0 #fff inset;
}

#header .top-menu > li.has-children > a[data-depth="0"]::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  vertical-align: middle;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}

#header .header-top .top-menu > li > a.dropdown-item[data-depth="0"]:hover,
#header .header-top .top-menu > li > a.dropdown-item[data-depth="0"]:focus,
#header .header-top .top-menu > li > a.dropdown-item[data-depth="0"]:focus-visible,
#header .header-top .top-menu > li.current > a.dropdown-item[data-depth="0"],
#header .header-top .top-menu > li:hover > a.dropdown-item[data-depth="0"],
#header .top-menu a[data-depth="0"]:hover,
#header .top-menu > li.current > a[data-depth="0"],
#header .top-menu > li:hover > a[data-depth="0"],
body#index #header .top-menu > li#lnk-inicio > a[data-depth="0"] {
  color: #000;
  background-color: var(--pm-yellow);
}

#header .header-top .top-menu > li > a[data-depth="0"]:focus,
#header .header-top .top-menu > li > a[data-depth="0"]:focus-visible,
#header .header-top .top-menu > li > a[data-depth="0"]:active,
#header .header-top .top-menu > li > a.dropdown-item[data-depth="0"]:focus,
#header .header-top .top-menu > li > a.dropdown-item[data-depth="0"]:focus-visible,
#header .header-top .top-menu > li > a.dropdown-item[data-depth="0"]:active {
  outline: 0;
  outline-offset: 0;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  border-left: 1px solid #cbcbcb;
  box-shadow: 1px 0 0 0 #fff inset;
}

.top-menu .sub-menu,
#header .top-menu .sub-menu,
#header .top-menu > li > .sub-menu,
#header .top-menu > li > .js-sub-menu,
#header .top-menu > li > .popover.sub-menu {
  z-index: 40;
  margin-left: 0;
}

@media (min-width: 768px) {
  #header .top-menu > li:hover > .sub-menu,
  #header .top-menu > li:hover > .js-sub-menu {
    display: block !important;
    visibility: visible;
    opacity: 1;
  }

  #header .top-menu > li > .popover.sub-menu,
  #header .top-menu > li > .js-sub-menu {
    left: 0;
    right: auto;
    max-width: none;
    width: auto;
    min-width: 0;
    margin-left: 0;
    border: 0;
    border-radius: 0;
    padding: 20px;
    background-color: #222;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.17);
    font-family: Raleway, "Source Sans Pro", sans-serif;
  }

  #header .top-menu > li > .popover.sub-menu.pm-mega-3,
  #header .top-menu > li > .js-sub-menu.pm-mega-3 {
    min-width: 540px;
    width: 540px;
  }

  #header .top-menu > li > .popover.sub-menu.pm-mega-2,
  #header .top-menu > li > .js-sub-menu.pm-mega-2 {
    min-width: 398px;
    width: 398px;
  }

  #header .pm-mega-list {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
    column-gap: 28px;
  }

  #header .pm-mega-3 .pm-mega-list {
    column-count: 3;
  }

  #header .pm-mega-2 .pm-mega-list {
    column-count: 2;
  }

  #header .pm-mega-list > li {
    display: block;
    float: none;
    width: auto;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    line-height: 25px;
  }

  #header .pm-mega-list > li > a,
  #header .pm-mega a[data-depth="1"] {
    display: block;
    color: #999;
    background: transparent;
    padding: 0;
    font-size: 12px;
    font-weight: 300;
    text-transform: none;
    line-height: 25px;
    white-space: normal;
  }

  #header .pm-mega-list > li > a:hover,
  #header .pm-mega a[data-depth="1"]:hover {
    color: #fff;
    background: transparent;
  }
}

/* Catalog + search row (1.6 #header-bottom) — below the top menu stacking context */
.pm-header-bottom {
  position: relative;
  z-index: 20;
  background: #fff;
}

.pm-catalog {
  position: relative;
}

.pm-catalog-toggle {
  display: flex;
  align-items: center;
  width: 100%;
  height: 43px;
  margin: 0;
  padding: 0 12px 0 16px;
  border: 0;
  cursor: pointer;
  color: #111;
  text-transform: uppercase;
  font-family: Raleway, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--pm-yellow);
}

.pm-catalog-toggle .material-icons {
  font-size: 20px;
  color: #111;
}

.pm-catalog-toggle span {
  flex: 1;
  text-align: right;
  padding: 0 8px;
}

.pm-catalog-caret {
  margin-left: 0;
}

.pm-catalog-panel {
  display: none;
  position: absolute;
  z-index: 40;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.17);
}

.pm-catalog.is-open .pm-catalog-panel {
  display: block;
}

@media (min-width: 768px) {
  .pm-catalog:hover .pm-catalog-panel {
    display: block;
  }
}

.pm-catalog .block-categories,
.pm-catalog .category-top-menu,
.pm-catalog .category-sub-menu {
  margin: 0;
  padding: 0;
  background: #fff;
}

.pm-catalog .category-top-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pm-catalog .category-top-menu > li:first-child,
.pm-catalog .pm-cat-block-title,
.pm-catalog .pm-cat-qty {
  display: none;
}

.pm-catalog .category-sub-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pm-catalog .category-sub-menu > li[data-depth="0"] {
  position: relative;
  line-height: 36px;
}

.pm-catalog .category-sub-menu > li[data-depth="0"] > a {
  display: block;
  color: #000;
  background: #fff;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  padding: 8px 15px;
  line-height: 20px;
  border-bottom: 1px solid #e5c50d;
}

.pm-catalog .category-sub-menu > li[data-depth="0"]:last-child > a {
  border-bottom: 0;
}

.pm-catalog .category-sub-menu > li[data-depth="0"]:hover > a,
.pm-catalog .category-sub-menu > li[data-depth="0"] > a:hover {
  color: var(--pm-yellow);
  background: #fff;
  text-decoration: none;
}

.pm-catalog .navbar-toggler,
.pm-catalog .collapse-icons,
.pm-catalog .arrows {
  display: none !important;
}

.pm-catalog .category-sub-menu .collapse {
  display: none !important;
}

/* Dark search bar next to CATÁLOGO */
#search_widget.pm-search,
.pm-header-bottom #search_widget {
  float: none;
  min-width: 0;
  width: 100%;
  margin: 0;
  background: #222;
  height: 43px;
  padding: 0 10px;
  overflow: visible;
}

.pm-header-bottom #search_widget form,
#search_widget.pm-search form {
  position: relative;
  height: 43px;
  display: flex;
  align-items: center;
}

.pm-header-bottom #search_widget input,
#search_widget.pm-search input {
  width: 100%;
  height: 32px;
  margin: 0;
  padding: 8px 36px 8px 10px;
  border: 0;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 12px;
  font-weight: 300;
}

.pm-header-bottom #search_widget input::placeholder,
#search_widget.pm-search input::placeholder {
  color: #ccc;
}

.pm-search-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  line-height: 1;
}

.pm-search-submit .material-icons,
#search_widget .pm-search-submit .material-icons,
.pm-header-bottom #search_widget .pm-search-submit i {
  display: block;
  font-size: 18px;
  position: static;
  padding: 0;
  color: #fff;
}

/* Classic leftover icon, not the lupa submit button */
.pm-header-bottom #search_widget form > i.search {
  display: none;
}

.pm-header-bottom #search_widget i.clear {
  right: 32px;
  color: #fff;
}

/* Homepage hero */
#pm-slideshow {
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}

.pm-hero-slider {
  min-height: 387px;
  background: #eee;
  overflow: hidden;
}

.pm-hero-slider .homeslider-container,
.pm-hero-slider #carousel {
  margin-bottom: 0;
  float: none;
  width: 100%;
}

.pm-hero-slider .carousel,
.pm-hero-slider .carousel-inner,
.pm-hero-slider .carousel-item,
.pm-hero-slider .carousel-item figure,
.pm-hero-slider img {
  min-height: 387px;
  height: 387px;
  width: 100%;
  object-fit: cover;
}

.pm-hero-slider .carousel-item figure {
  position: relative;
  margin: 0;
}

.pm-slide-layers {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  background: none;
  padding: 0;
  color: inherit;
  text-align: left;
  pointer-events: none;
}

.pm-hero-slider .carousel-inner,
.pm-hero-slider .carousel-item,
.pm-hero-slider .carousel-item figure {
  overflow: hidden;
}

.pm-cap {
  position: absolute;
  left: 6%;
  white-space: nowrap;
  margin: 0;
  line-height: 1.1;
  pointer-events: auto;
}

.pm-hero-slider .pm-cap {
  opacity: 0;
}

.pm-hero-slider .carousel-item.active .pm-cap-title {
  animation: pmCapFromLeft 0.85s cubic-bezier(0.19, 1, 0.22, 1) 0.15s both;
}

.pm-hero-slider .carousel-item.active .pm-cap-sub {
  animation: pmCapFromTop 0.85s cubic-bezier(0.19, 1, 0.22, 1) 0.45s both;
}

.pm-hero-slider .carousel-item.active .pm-cap-line:not(.pm-cap-line2) {
  animation: pmCapFromRight 0.85s cubic-bezier(0.19, 1, 0.22, 1) 0.75s both;
}

.pm-hero-slider .carousel-item.active .pm-cap-line2 {
  animation: pmCapFromRight 0.85s cubic-bezier(0.19, 1, 0.22, 1) 1.05s both;
}

.pm-hero-slider .carousel-item.active .pm-cap-btn {
  animation: pmCapFromBottom 0.85s cubic-bezier(0.19, 1, 0.22, 1) 1.35s both;
}

@keyframes pmCapFromLeft {
  from {
    opacity: 0;
    transform: translateX(-160px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pmCapFromTop {
  from {
    opacity: 0;
    transform: translateY(-80px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pmCapFromRight {
  from {
    opacity: 0;
    transform: translateX(160px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pmCapFromBottom {
  from {
    opacity: 0;
    transform: translateY(80px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.pm-cap-title {
  top: 16.5%;
  color: var(--pm-yellow);
  font-family: Raleway, sans-serif;
  font-weight: 800;
  font-size: 52px;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.pm-cap-sub {
  top: 33.5%;
  color: #fff;
  font-family: Raleway, sans-serif;
  font-weight: 300;
  font-size: 26px;
}

.pm-cap-line {
  top: 50%;
  color: #fff;
  font-family: Raleway, sans-serif;
  font-weight: 500;
  font-size: 24px;
}

.pm-cap-line2 {
  top: 56.5%;
}

.pm-cap-btn {
  top: 78%;
  display: inline-block;
  padding: 6px 18px 4px;
  background: linear-gradient(to bottom, #ecc711 0%, #f0d115 100%);
  border: 0;
  border-bottom: 3px solid #d0ad00;
  border-radius: 3px;
  color: #111 !important;
  font-family: Raleway, sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
}

.pm-cap-btn:hover {
  background: #5e5e5e;
  border-bottom-color: #444;
  color: #fff !important;
}

.pm-choosecar {
  background: var(--pm-chooser);
  min-height: 387px;
  color: #fff;
  padding: 0 24px 24px;
}

.pm-choosecar select,
.pm-choosecar .form-control {
  display: block;
  width: 100%;
  margin: 0 0 14px;
  height: 38px;
  border: 0;
  color: #555;
  padding: 6px 10px;
}

.pm-choosecar-actions {
  text-align: center;
  margin-top: 8px;
}

.pm-choosecar-actions button {
  background: var(--pm-yellow);
  color: #222;
  border: 0;
  padding: 8px 28px;
  font-weight: 600;
  cursor: pointer;
}

.pm-choosecar-actions button:disabled {
  opacity: 0.7;
  cursor: default;
}

.pm-choosecar:has(.pmvehiclefits) .pm-choosecar-fallback {
  display: none;
}

/* Product cards — landscape like 1.6 home_default 280x136 / product-block */
.product-miniature.product-block,
#products .product-miniature.product-block {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: left;
}

.product-miniature .product-title.name,
.product-miniature.product-block .name {
  padding: 15px 20px;
  margin: 0;
  border-bottom: 2px solid #e8e8e8;
  text-transform: uppercase;
  text-align: left;
  font-size: 12px;
  line-height: 1.35;
  min-height: 52px;
}

.product-miniature .product-title.name a,
.product-miniature.product-block .name a {
  color: #000;
  font-family: Raleway, "Source Sans Pro", sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.product-miniature .product-title.name a:hover {
  color: var(--pm-yellow);
}

.product-miniature .thumbnail-container,
#products .thumbnail-container {
  width: 100%;
}

.product-miniature.product-block .thumbnail-container {
  margin-bottom: 0;
}

.product-miniature.product-block .thumbnail-container .product-thumbnail {
  height: auto;
}

.product-miniature .product-thumbnail,
.product-miniature .thumbnail-top {
  position: relative;
}

.product-miniature .product-thumbnail img {
  width: 100%;
  height: auto;
  aspect-ratio: 280 / 136;
  object-fit: contain;
  background: #fff;
}

.product-miniature.product-block .product-meta {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  background: #f8f8f8;
}

.product-miniature.product-block .product_price,
.product-miniature.product-block .product-price-and-shipping {
  position: relative;
  float: none;
  width: 100%;
  padding: 12px 20px 8px;
  background: #fff;
  text-align: left;
  font-weight: 700;
}

.product-miniature.product-block .content_price {
  position: relative;
  float: none;
  display: block;
}

.product-miniature.product-block .content_price::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  width: 50px;
  border: 3px solid var(--pm-price);
  z-index: 1;
}

.product-miniature.product-block .product-detail {
  display: block;
  padding: 10px 18px 12px;
  border-top: 1px solid #e8e8e8;
}

.product-miniature.product-block .product-desc {
  display: block;
  height: 55px;
  overflow: hidden;
  margin: 0 0 10px;
  color: #666;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.35;
}

.product-miniature.product-block .functional-buttons {
  padding: 0 20px 20px;
  margin-top: auto;
  background: #f8f8f8;
}

.product-miniature.product-block .highlighted-informations,
.product-miniature.product-block .product-flags {
  display: none;
}

.pm-add-cart-form {
  margin: 0;
}

.btn.pm-add-cart,
.product-miniature .pm-add-cart {
  color: #111;
  background: #eecc13;
  border: 1px solid #d0ad00;
  border-radius: 2px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.btn.pm-add-cart:hover,
.product-miniature .pm-add-cart:hover {
  background: #caad0f;
  border-color: #937a00;
  color: #111;
}

.btn.pm-add-cart:disabled {
  opacity: 0.55;
  cursor: default;
}

#products .products.row,
#js-product-list .products.row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

#products .js-product,
#js-product-list .js-product {
  display: flex;
  margin-bottom: 20px;
}

#products .js-product > .product-miniature,
#js-product-list .js-product > .product-miniature {
  width: 100%;
}

.pm-product-cat {
  color: #888;
  font-weight: 400;
}

#js-product-list-header.page-heading,
body#search #js-product-list-header,
body#search .page-heading,
body#category #js-product-list-header,
body#best-sales #js-product-list-header,
body#new-products #js-product-list-header,
body#prices-drop #js-product-list-header {
  overflow: hidden;
  margin: 0 0 20px;
  font-family: Raleway, "Source Sans Pro", sans-serif;
  font-size: 24px;
  font-weight: 300;
  text-transform: uppercase;
  color: #000;
  line-height: 1.3;
}

body#search #js-product-list-header .lighter {
  font-weight: 300;
  color: #000;
}

#js-product-list-header .heading-counter,
body#search #js-product-list-header .heading-counter {
  float: right;
  margin-top: 6px;
  font-size: 14px;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  color: #666;
}

body#search .products-selection,
#js-product-list-top.products-selection {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 12px;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 12px;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 2px 1px rgba(0, 1, 1, 0.1);
  font-size: 12px;
}

body#search .products-selection .total-products,
#js-product-list-top .total-products {
  display: none;
}

.pm-listing-display-col {
  display: flex;
  align-items: center;
}

.pm-listing-display {
  display: flex;
  align-items: center;
  line-height: 30px;
}

.pm-listing-display-title {
  margin-right: 8px;
  color: #666;
  font-size: 12px;
}

.pm-listing-display-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 30px;
  margin-right: 5px;
  border: 1px solid #e8e8e8;
  background: #fff;
  color: #9c9b9b;
  text-decoration: none;
}

.pm-listing-display-btn .material-icons {
  font-size: 22px;
  width: 22px;
  height: 22px;
  line-height: 22px;
  color: #9c9b9b;
  transition: color 0.2s ease-out;
}

.pm-listing-display-btn.selected .material-icons,
.pm-listing-display-btn:hover .material-icons {
  color: var(--pm-yellow);
}

.pm-listing-display-btn:hover {
  color: var(--pm-yellow);
  text-decoration: none;
}

.pm-list-name {
  display: none;
}

#js-product-list .products.list .js-product {
  flex: 0 0 100%;
  max-width: 100%;
  width: 100%;
}

#js-product-list .products.list .product-miniature.product-block {
  flex-direction: row;
  align-items: stretch;
  overflow: visible;
}

#js-product-list .products.list .left-block {
  flex: 0 0 32%;
  max-width: 320px;
  width: 32%;
}

#js-product-list .products.list .left-block > .name {
  display: none;
}

#js-product-list .products.list .pm-list-name {
  display: block;
  min-height: 0;
  padding: 15px 20px 10px 0;
  border-bottom: 0;
}

#js-product-list .products.list .product-meta {
  flex: 1 1 auto;
  flex-direction: row;
  align-items: stretch;
  background: #fff;
}

#js-product-list .products.list .product-description {
  flex: 1 1 auto;
  padding: 0 10px 0 20px;
}

#js-product-list .products.list .product-price-and-shipping,
#js-product-list .products.list .product_price {
  padding: 0 0 8px;
}

#js-product-list .products.list .content_price::before {
  display: none;
}

#js-product-list .products.list .product-detail {
  padding: 0;
  border-top: 0;
}

#js-product-list .products.list .product-desc {
  height: auto;
  margin: 7px 0 0;
}

#js-product-list .products.list .functional-buttons {
  flex: 0 0 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
  padding: 0 10px;
  border-left: 1px solid #e5e5e5;
  background: #fff;
}

@media (max-width: 767px) {
  #js-product-list .products.list .product-miniature.product-block {
    flex-direction: column;
  }

  #js-product-list .products.list .left-block {
    flex: none;
    max-width: none;
    width: 100%;
  }

  #js-product-list .products.list .left-block > .name {
    display: block;
  }

  #js-product-list .products.list .pm-list-name {
    display: none;
  }

  #js-product-list .products.list .product-meta {
    flex-direction: column;
  }

  #js-product-list .products.list .functional-buttons {
    flex: none;
    width: 100%;
    margin: 0;
    padding: 0 20px 20px;
    border-left: 0;
    background: #f8f8f8;
    justify-content: flex-start;
  }
}

body#search #js-product-list-bottom,
body#search .pagination,
#js-product-list-bottom .pagination,
#products .pagination {
  background: #fff;
  padding: 12px;
  margin-top: 8px;
  border-radius: 2px;
  box-shadow: 0 2px 1px rgba(0, 1, 1, 0.1);
}

.ui-autocomplete.searchbar-autocomplete,
.ui-autocomplete.searchbar-autocomplete.ui-menu,
.ui-autocomplete.searchbar-autocomplete.ui-widget {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  max-width: none;
  border: 1px solid #ddd;
  border-radius: 0;
  background: #fff;
  font-size: 12px;
  font-family: Raleway, "Source Sans Pro", sans-serif;
  z-index: 1100;
}

@media (min-width: 768px) {
  .ui-autocomplete.searchbar-autocomplete {
    width: auto;
    min-height: auto;
  }
}

.ui-autocomplete.searchbar-autocomplete li,
.ui-autocomplete.searchbar-autocomplete .ui-menu-item {
  margin: 0;
  padding: 0;
  border: 0;
}

.ui-autocomplete.searchbar-autocomplete li a,
.ui-autocomplete.searchbar-autocomplete li a.ui-state-focus,
.ui-autocomplete.searchbar-autocomplete li a.ui-state-active,
.ui-autocomplete.searchbar-autocomplete .ui-menu-item-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 6px 10px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  outline: 0;
  box-shadow: none;
  background: #fff;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.3;
  color: #333;
  white-space: normal;
}

.ui-autocomplete.searchbar-autocomplete li a:hover,
.ui-autocomplete.searchbar-autocomplete li a.ui-state-focus,
.ui-autocomplete.searchbar-autocomplete li a.ui-state-active {
  background-color: #f3f3f3;
  color: #111;
  cursor: pointer;
}

.ui-autocomplete.searchbar-autocomplete li a .product {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.3;
  color: inherit;
  white-space: normal;
}

.ui-autocomplete.searchbar-autocomplete li a .autocomplete-thumbnail {
  flex: 0 0 50px;
  float: none;
  width: 50px;
  height: auto;
  max-height: 36px;
  margin: 0;
  object-fit: contain;
}

.product-price,
.product-miniature .price {
  color: var(--pm-price);
}

/* Footer yellow like 1.6 */
body#checkout #footer {
  padding: 0;
}

/* Classic theme hides search on checkout; keep PM header search visible */
body#checkout .pm-header-bottom #search_widget,
body#checkout #search_widget.pm-search {
  display: block;
}

/* Checkout cart table (.pt) */
.pm-checkout-page .pm-checkout-cart {
  border: 1px solid #e0e0e0;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 0;
}

.pm-checkout-page .pm-checkout-cart .card-block {
  padding: 1rem 1.25rem 0.5rem;
}

.pm-checkout-page .pm-checkout-cart-title {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  color: #222;
}

.pm-checkout-page .pm-checkout-cart-count {
  margin-bottom: 0;
  color: #666;
  font-size: 0.85rem;
}

.pm-checkout-page .pm-checkout-cart-count.pm-cart-summary-heading {
  font-weight: normal;
}

.pm-checkout-page .pm-checkout-cart .separator {
  margin: 0;
}

.pm-checkout-page .pm-cart-empty-message {
  margin: 1rem;
  padding: 0 0 0.25rem;
  color: #666;
  font-size: 0.95rem;
}

.pm-checkout-page .pm-cart-table-wrap {
  padding: 0;
  overflow-x: auto;
}

.pm-checkout-page .pm-cart-table {
  margin-bottom: 0;
  background: #fff;
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
}

.pm-checkout-page .pm-col-product { width: 9%; }
.pm-checkout-page .pm-col-desc { width: 34%; }
.pm-checkout-page .pm-col-stock { width: 11%; }
.pm-checkout-page .pm-col-unit { width: 13%; }
.pm-checkout-page .pm-col-qty { width: 11%; }
.pm-checkout-page .pm-col-total { width: 12%; }
.pm-checkout-page .pm-col-action { width: 6%; }

.pm-checkout-page .pm-cart-table thead th {
  background: #f0f0f0;
  border: 1px solid #ddd;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  vertical-align: middle;
  color: #333;
  padding: 0.65rem 0.5rem;
}

.pm-checkout-page .pm-cart-table tbody td,
.pm-checkout-page .pm-cart-table tfoot td {
  border: 1px solid #ddd;
  vertical-align: middle;
  padding: 0.85rem 0.6rem;
  font-size: 0.85rem;
}

.pm-checkout-page .pm-cart-product-thumb {
  display: block;
  border: 1px solid #ddd;
  background: #fff;
  padding: 2px;
  max-width: 78px;
}

.pm-checkout-page .pm-cart-product-thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.pm-checkout-page .pm-cart-product-name {
  color: #222;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.82rem;
  line-height: 1.35;
}

.pm-checkout-page .pm-cart-product-name:hover {
  color: #000;
  text-decoration: none;
}

.pm-checkout-page .pm-cart-product-sku {
  color: #999;
  font-size: 0.78rem;
  margin-top: 0.35rem;
}

.pm-checkout-page .pm-cart-availability {
  text-align: center;
}

.pm-checkout-page .pm-stock-badge {
  display: inline-block;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.pm-checkout-page .pm-stock-badge--in_stock,
.pm-checkout-page .pm-stock-badge--available {
  background: #4caf50;
  color: #fff;
}

.pm-checkout-page .pm-stock-badge--unavailable,
.pm-checkout-page .pm-stock-badge--discontinued {
  background: #c0392b;
  color: #fff;
}

.pm-checkout-page .pm-cart-unit-price,
.pm-checkout-page .pm-cart-line-total {
  text-align: center;
}

.pm-checkout-page .pm-cart-unit-price .price,
.pm-checkout-page .pm-cart-line-total .product-price,
.pm-checkout-page .pm-cart-subtotal-value {
  color: var(--pm-price, #c0392b);
  font-weight: 600;
  white-space: nowrap;
}

.pm-checkout-page .pm-cart-qty {
  text-align: center;
}

.pm-checkout-page .pm-cart-qty-box {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  width: 64px;
  max-width: 100%;
}

.pm-checkout-page .pm-cart-remove-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pm-checkout-page .pm-cart-qty-input {
  width: 100%;
  height: 32px;
  margin: 0;
  padding: 0.2rem 0.35rem;
  border: 1px solid #ccc;
  border-radius: 0;
  background: #fff;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.2;
  box-shadow: none;
}

.pm-checkout-page .pm-cart-remove {
  text-align: center;
}

.pm-checkout-page .pm-cart-remove .material-icons {
  color: #555;
  font-size: 1.4rem;
}

.pm-checkout-page .pm-cart-remove .material-icons:hover {
  color: #c0392b;
}

.pm-checkout-page .pm-cart-table-foot td {
  background: #fff;
}

.pm-checkout-page .pm-cart-table tfoot td.pm-cart-foot-spacer,
.pm-checkout-page .pm-cart-table tfoot td.pm-cart-foot-action {
  border: 0;
  padding: 0;
  background: #fff;
}

.pm-checkout-page .pm-cart-table tfoot tr.pm-cart-subtotal td.pm-cart-subtotal-label,
.pm-checkout-page .pm-cart-table tfoot tr.pm-cart-subtotal td.pm-cart-subtotal-value {
  border: 1px solid #ddd;
}

.pm-checkout-page .pm-cart-subtotal-label,
.pm-checkout-page .pm-cart-total-label {
  text-align: right;
  font-weight: 700;
  color: #222;
  padding-right: 1rem;
}

.pm-checkout-page .pm-cart-subtotal-value {
  text-align: right;
  font-weight: 600;
}

.pm-checkout-page .pm-cart-table tfoot tr.pm-cart-grand-total td.pm-cart-total-label,
.pm-checkout-page .pm-cart-table tfoot tr.pm-cart-grand-total td.pm-cart-total-value {
  border: 1px solid #ddd;
  border-top: 2px solid #ddd;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.pm-checkout-page .pm-cart-total-label {
  font-size: 1.15rem;
  text-transform: uppercase;
}

.pm-checkout-page .pm-cart-total-value {
  color: var(--pm-price, #c0392b);
  font-size: 1.45rem;
  font-weight: 700;
}

.pm-checkout-page .pm-cart-tax-note td {
  border-top: 0;
  padding-top: 0;
  color: #777;
}

.pm-checkout-page .pm-checkout-cart-nav {
  margin: 1.25rem 0 2rem;
  padding: 0 0.25rem;
}

.pm-checkout-page .pm-checkout-cart-nav .btn,
.pm-checkout-page .pm-checkout-cart-nav .pm-btn-continue,
.pm-checkout-page .pm-checkout-cart-nav .pm-btn-checkout {
  background: var(--pm-yellow);
  border-color: var(--pm-yellow-dark);
  color: #222;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 0;
  box-shadow: none;
}

.pm-checkout-page .pm-checkout-cart-nav .btn:hover,
.pm-checkout-page .pm-checkout-cart-nav .btn:focus {
  background: var(--pm-yellow-dark);
  border-color: var(--pm-yellow-dark);
  color: #000;
}

.pm-checkout-page .pm-checkout-steps {
  margin-top: 0.5rem;
}

.pm-checkout-page .pm-checkout-sidebar {
  position: sticky;
  top: 1rem;
}

.pm-checkout-page .pm-cart-summary-heading {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.pm-checkout-page .pm-cart-summary-list {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.pm-checkout-page .pm-cart-summary-list .media {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

@media (max-width: 991px) {
  .pm-checkout-page .pm-checkout-sidebar {
    position: static;
    margin-top: 1.5rem;
  }
}

@media (max-width: 767px) {
  .pm-checkout-page .pm-cart-table {
    table-layout: auto;
  }

  .pm-checkout-page .pm-cart-table thead {
    display: none;
  }

  .pm-checkout-page .pm-cart-table tr.cart-item {
    display: block;
    border-bottom: 1px solid #eee;
    padding: 0.75rem 0;
  }

  .pm-checkout-page .pm-cart-table tr.cart-item td {
    display: block;
    border: 0;
    padding: 0.25rem 0.5rem;
  }

  .pm-checkout-page .pm-checkout-cart-nav .col-sm-6 + .col-sm-6 {
    margin-top: 0.75rem;
    text-align: left !important;
  }
}

#footer.pm-footer,
.pm-footer.footer-container,
#footer .pm-footer,
footer#footer {
  background: var(--pm-yellow);
  color: #222;
  font-size: 13px;
}

#footer .block_newsletter,
.block_newsletter {
  background: transparent;
}

#footer a,
.pm-footer a {
  color: #222;
}

#footer a:hover,
.pm-footer a:hover {
  color: #000;
}

.pm-footer .h4,
#footer .h4,
#footer .block-contact-title {
  color: #222;
  font-weight: 700;
  font-size: 15px;
}

.pm-footer-legal {
  border-top: 1px solid var(--pm-yellow-dark);
  padding-top: 16px;
  margin-top: 8px;
}

.pm-footer-pt2020 img {
  max-width: 220px;
  height: auto;
}

.pm-copyright {
  border-top: 1px solid var(--pm-yellow-dark);
  padding-top: 12px;
  margin-top: 12px;
  color: #444;
}

.pm-footer-services {
  padding: 18px 0 8px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--pm-yellow-dark);
  text-align: center;
}

.pm-service-title {
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.pm-footer .block-contact {
  display: none;
}

.pm-legal-logo {
  max-width: 140px;
  height: auto;
  margin-bottom: 8px;
}

.pm-iefp {
  margin-top: 12px;
}

.pm-fichas-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.pm-fichas-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #e8e8e8;
}

.pm-fichas-name {
  font-weight: 700;
}

.pm-fichas-download {
  background: var(--pm-yellow);
  border-color: var(--pm-yellow-dark);
  color: #111;
}

.pm-fichas-pagination {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* Product sheet — two columns like 1.6, tabs below */
body#product .product-container.js-product-container {
  display: flex;
  flex-wrap: wrap;
  margin-left: -10px;
  margin-right: -10px;
  margin-bottom: 24px;
}

body#product .product-container > .col-md-6 {
  flex: 0 0 50%;
  max-width: 50%;
  width: 50%;
  padding-left: 10px;
  padding-right: 10px;
}

body#product .pm-product-media .page-content {
  background: #fff;
  padding: 12px;
  max-width: none;
  margin: 0;
}

body#product #content {
  max-width: none;
  margin: 0;
}

body#product .product-cover {
  margin-bottom: 12px;
  text-align: center;
  background: #fff;
  position: relative;
}

body#product .product-cover .js-product-fancybox {
  display: block;
  cursor: zoom-in;
}

body#product .product-cover .layer {
  display: none !important;
}

body#product .product-cover img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  background: #fff;
}

#product-modal .modal-dialog {
  max-width: min(90vw, 820px);
}

#product-modal .product-cover-modal {
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 85vh;
  object-fit: contain;
}

body#product .product-images {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

body#product .product-images .thumb-container {
  width: 72px;
  height: 72px;
  border: 1px solid #e8e8e8;
  padding: 4px;
  cursor: pointer;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
}

body#product .product-images .thumb-container picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

body#product .product-images .thumb {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 0 !important;
  box-shadow: none;
}

body#product .product-images .thumb-container:hover,
body#product .product-images .thumb-container:has(.js-thumb-selected) {
  border-color: #bbb;
}

body#product .scroll-box-arrows {
  display: none;
}

body#product .pm-product-buybox h1.h1 {
  font-family: Raleway, "Source Sans Pro", sans-serif;
  font-size: 22px;
  font-weight: 300;
  text-transform: uppercase;
  color: #000;
  margin: 0 0 10px;
  line-height: 1.25;
}

body#product .pm-product-vehicle-fits:empty {
  display: none;
  margin: 0;
}

body#product .pm-product-vehicle-fits:not(:empty) {
  margin: 0 0 4px;
}

body#product .pm-product-vehicle-fits .pmvehiclefits-product {
  margin: 0;
}

body#product .pm-product-vehicle-fits .pmvehiclefits-product p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.25;
}

body#product .pm-product-tool-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin: 4px 0 14px;
}

body#product .pm-product-tool-btns .product-additional-info,
body#product .pm-product-tool-btns .product-comments-additional-info {
  display: flex;
  align-items: stretch;
  margin: 0;
}

body#product .pm-product-tool-btns .btn-comment,
body#product .pm-product-tool-btns .pm-tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  margin: 0 0 0 -1px;
  border: 1px solid #ddd;
  border-radius: 0;
  background: #fff;
  color: #555;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
  cursor: pointer;
}

body#product .pm-product-tool-btns .btn-comment:first-child,
body#product .pm-product-tool-btns .product-comments-additional-info:first-child .btn-comment,
body#product .pm-product-tool-btns > :first-child {
  margin-left: 0;
}

body#product .pm-product-tool-btns .btn-comment:hover,
body#product .pm-product-tool-btns .pm-tool-btn:hover {
  background: #f7f7f7;
  color: #222;
  border-color: #ccc;
}

body#product .pm-product-tool-btns .btn-comment .material-icons,
body#product .pm-product-tool-btns .pm-tool-btn .material-icons {
  font-size: 16px;
  width: 16px;
  height: 16px;
  line-height: 16px;
  color: #777;
}

body#product .pm-product-ref,
body#product .pm-product-condition {
  margin: 0 0 6px;
  font-size: 13px;
  color: #555;
}

body#product .pm-product-ref .label,
body#product .pm-product-condition .label {
  font-weight: 700;
  margin-right: 6px;
  color: #333;
}

body#product .pm-product-short {
  margin: 12px 0;
  font-size: 13px;
  color: #666;
  line-height: 1.4;
}

body#product .pm-product-stock {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
}

body#product .pm-product-stock-last_remaining_items,
body#product .pm-product-stock-unavailable {
  color: #c0392b;
}

body#product .product-prices {
  margin: 8px 0 16px;
}

body#product .product-prices:has(+ .pm-product-vehicle-fits:not(:empty)) {
  margin-bottom: 2px;
}

body#product .product-actions {
  margin-top: 0;
  padding-top: 0;
}

body#product .current-price-value {
  color: var(--pm-price);
  font-size: 28px;
  font-weight: 700;
}

body#product .tax-shipping-delivery-label {
  display: none;
}

body#product .pm-product-buy-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  margin-bottom: 12px;
}

body#product .pm-product-buy-row > .product-add-to-cart {
  display: contents;
}

body#product .product-add-to-cart .product-quantity {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  margin: 0;
}

body#product .product-add-to-cart .control-label {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}

body#product .product-add-to-cart .qty {
  width: auto;
}

body#product .product-add-to-cart .qty .bootstrap-touchspin {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  height: 36px;
  width: auto;
}

body#product .product-add-to-cart .qty .bootstrap-touchspin .input-group-btn-vertical {
  display: flex;
  flex-direction: column;
  width: 22px;
  height: 36px;
  padding: 0;
  margin: 0;
}

body#product .product-add-to-cart .qty .btn-touchspin,
body#product .product-add-to-cart .qty .bootstrap-touchspin .btn,
body#product .product-add-to-cart .qty .bootstrap-touchspin-up,
body#product .product-add-to-cart .qty .bootstrap-touchspin-down {
  flex: 1 1 50%;
  box-sizing: border-box;
  height: 18px !important;
  min-height: 18px;
  max-height: 18px;
  width: 22px;
  min-width: 22px;
  padding: 0 !important;
  margin: 0;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
}

body#product .product-add-to-cart .qty .btn-touchspin .material-icons,
body#product .product-add-to-cart .qty .bootstrap-touchspin .material-icons {
  font-size: 14px;
  line-height: 14px;
  width: 14px;
  height: 14px;
}

body#product .product-add-to-cart .qty input,
body#product .product-add-to-cart .qty .bootstrap-touchspin input {
  width: 46px;
  height: 36px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 2px 0 0 2px;
  padding: 0 4px;
  box-sizing: border-box;
}

body#product .pm-product-buy-row .wishlist-button {
  margin: 0;
}

body#product .pm-product-buy-row .wishlist-button-add {
  height: 36px;
  width: 36px;
  min-width: 36px;
  box-shadow: none;
}

body#product .pm-product-buy-row .add-to-cart {
  min-width: 96px;
  padding: 0 12px;
}

body#product .pm-product-buy-row .product-availability,
body#product .pm-product-buy-row .product-minimal-quantity {
  flex-basis: 100%;
}

body#product .product-add-to-cart .add-to-cart {
  background: #eecc13;
  border: 1px solid #d0ad00;
  border-radius: 2px;
  color: #111;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 13px;
  padding: 0 18px;
  min-width: 120px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body#product .product-add-to-cart .add-to-cart:hover {
  background: #caad0f;
  border-color: #937a00;
  color: #111;
}

body#product .product-additional-info .social-sharing {
  display: none;
}

body#product .pm-product-tabs {
  margin-top: 8px;
  background: #fff;
}

body#product .pm-product-tabs .nav-tabs {
  border-bottom: 1px solid #e8e8e8;
}

body#product .pm-product-tabs .nav-link {
  font-family: Raleway, "Source Sans Pro", sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: #555;
  border: 1px solid transparent;
  border-radius: 0;
  padding: 10px 16px;
}

body#product .pm-product-tabs .nav-link.active {
  color: #000;
  background: #fff;
  border-color: #e8e8e8 #e8e8e8 #fff;
  border-top: 3px solid var(--pm-yellow);
}

body#product .pm-product-tabs .tab-content {
  padding: 16px;
  border: 1px solid #e8e8e8;
  border-top: 0;
  font-size: 13px;
}

body#product .pm-product-tabs .product-description table {
  width: auto;
  max-width: 100%;
}

@media (max-width: 767px) {
  body#product .product-container > .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }

  body#product .product-cover img {
    max-height: 240px;
  }

  body#product .product-add-to-cart .add-to-cart {
    width: 100%;
  }

  body#product .pm-product-buy-row {
    flex-wrap: wrap;
  }
}

#footer .blockreassurance,
.header-banner,
#header .header-banner:empty {
  display: none;
}

/* Left column category tree — PS 1.6 blockcategories layout */
#search_filters a {
  color: #555;
}

#left-column .block-categories {
  padding: 0;
  margin: 0 0 20px;
  background: transparent;
}

#left-column .pm-cat-block-title {
  color: #000;
  position: relative;
  text-transform: uppercase;
  font-family: Raleway, sans-serif;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.2;
  margin: 0 0 16px;
  padding: 0;
}

#left-column .block-categories .category-sub-menu {
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--pm-yellow);
  border: 1px solid var(--pm-yellow-dark);
}

#left-column .block-categories .category-sub-menu .category-sub-menu {
  margin: 0;
  border: 0;
  background: #f2d00e;
}

#left-column .block-categories li {
  position: relative;
  margin: 0;
}

#left-column .block-categories a {
  display: block;
  color: #333;
  font-size: 13px;
  font-weight: 700;
  line-height: 30px;
  padding: 0 30px 0 19px;
  border-bottom: 1px solid #d6d4d4;
  background: transparent;
}

#left-column .block-categories a:hover,
#left-column .block-categories a.selected {
  color: #111;
  background: rgba(255, 255, 255, 0.28);
  text-decoration: none;
}

#left-column .block-categories .pm-cat-qty {
  font-weight: 400;
}

#left-column .block-categories .category-sub-link {
  font-weight: 400;
  color: #555;
  padding-left: 25px;
}

#left-column .block-categories .collapse-icons,
#left-column .block-categories .arrows {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 25px;
  height: 30px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #000;
}

#left-column .block-categories .collapse-icons i,
#left-column .block-categories .arrows i {
  display: none !important;
}

#left-column .block-categories .collapse-icons::after,
#left-column .block-categories .arrows::after {
  display: block;
  width: 25px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  content: "+";
}

#left-column .block-categories .collapse-icons[aria-expanded="true"]::after,
#left-column .block-categories .arrows[aria-expanded="true"]::after {
  content: "-";
}

/* Classic adds a "-" before nested category items — hide it */
.block-categories .category-sub-menu li:not([data-depth="0"]):not([data-depth="1"])::before {
  margin-right: 0;
  content: none;
}

#left-column .block-categories .collapse.in,
#left-column .block-categories .collapse.show {
  display: block;
}

.block-category .block-category-inner .category-cover {
  width: 141px;
  height: 180px;
  overflow: hidden;
}

.block-category .block-category-inner .category-cover img {
  width: 141px;
  height: 180px;
  object-fit: cover;
  transform: scale(1.14);
  transform-origin: center center;
}

#subcategories ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

#subcategories ul li {
  width: calc(20% - 20px);
  margin: 10px;
  text-align: center;
}

#subcategories .subcategory-image a {
  overflow: hidden;
}

#subcategories .subcategory-image img {
  width: 100%;
  height: 90px;
  object-fit: cover;
}

/* Contact nav in header should not look like a footer block */
.pm-topbar .block-contact {
  display: none;
}

@media (max-width: 767px) {
  .pm-choosecar,
  .pm-hero-slider,
  .pm-hero-slider #carousel,
  .pm-hero-slider .carousel-inner,
  .pm-hero-slider .carousel-item,
  .pm-hero-slider .carousel-item figure,
  .pm-hero-slider img {
    min-height: 280px;
    height: 280px;
  }

  .pm-cap-title {
    font-size: 32px;
  }

  .pm-cap-sub {
    font-size: 18px;
  }

  .pm-cap-line {
    font-size: 16px;
  }

  .pm-cap-btn {
    font-size: 11px;
    padding: 4px 12px 2px;
  }

  #header .header-top-right {
    flex-direction: column;
  }

  #js-product-list-header .heading-counter,
  body#search #js-product-list-header .heading-counter {
    float: none;
    display: block;
    margin-top: 8px;
  }

  .pm-catalog-panel {
    position: static;
  }

  body#index .pm-catalog .pm-catalog-panel {
    display: none;
  }

  body#index .pm-catalog.is-open .pm-catalog-panel {
    display: block;
  }

  .pm-header-bottom #search_widget,
  #search_widget.pm-search {
    margin-left: 0;
  }

  .pm-footer-main > [class*="col-"],
  .pm-footer-legal > [class*="col-"],
  .pm-footer .links {
    margin-bottom: 20px;
  }

  .pm-footer-pt2020 {
    text-align: left;
  }

  body#product .product-cover img {
    max-height: 240px;
  }

  body#product .product-add-to-cart .add-to-cart {
    width: 100%;
  }

  .pm-fichas-item {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Sticky header — same behaviour as leo_carsmarket processFloatHeader() */
#header.navbar-fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

#header.navbar-fixed-top.mini-navbar {
  top: 36px;
}

#header.navbar-fixed-top .pm-topbar,
#header.navbar-fixed-top .header-nav.pm-topbar {
  transition: margin-top 0.25s ease;
}

#header.navbar-fixed-top .pm-topbar.hide-bar,
#header.navbar-fixed-top .header-nav.pm-topbar.hide-bar {
  margin-top: -36px !important;
  max-height: 0 !important;
  min-height: 0 !important;
  overflow: hidden;
  visibility: hidden;
}

@media (max-width: 990px) {
  #header.navbar-fixed-top {
    position: relative;
    box-shadow: none;
  }
}

/* /marcas — linhas completas como .pt /fabricantes (não a grelha 5 colunas do Classic) */
body#manufacturer #main .page-heading {
  overflow: hidden;
  margin: 0 0 20px;
  font-family: Raleway, "Source Sans Pro", sans-serif;
  font-size: 24px;
  font-weight: 300;
  text-transform: uppercase;
  color: #000;
  line-height: 1.3;
}

body#manufacturer #main .page-heading .heading-counter {
  float: right;
  margin-top: 6px;
  font-size: 14px;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  color: #666;
}

body#manufacturer #main ul#manufacturers_list,
body#manufacturer #main ul#manufacturers_list.list {
  display: block !important;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: flex-start;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  background: #fff;
}

body#manufacturer #main ul#manufacturers_list > li.brand {
  display: block;
  float: none;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left;
  background: transparent;
  box-shadow: none !important;
  transition: none;
}

#manufacturers_list.list li .mansup-container {
  border-top: 1px solid #e8e8e8;
  padding: 31px 0 30px;
}

#manufacturers_list.list li:first-child .mansup-container {
  border-top: 0;
}

#manufacturers_list.list li .mansup-container > .row {
  align-items: center;
  margin-left: 0;
  margin-right: 0;
}

#manufacturers_list.list li .left-side {
  text-align: center;
}

#manufacturers_list.list li .logo img {
  width: auto;
  max-width: 125px;
  max-height: 125px;
  height: auto;
  object-fit: contain;
}

#manufacturers_list.list li h3 {
  margin: -5px 0 0;
  padding-bottom: 8px;
  font-size: 17px;
  line-height: 23px;
  font-weight: 600;
}

#manufacturers_list.list li h3 a.product-name {
  color: #333;
}

#manufacturers_list.list li h3 a.product-name:hover {
  color: #000;
}

#manufacturers_list.list li .middle-side {
  padding-left: 0;
}

#manufacturers_list.list li .description {
  line-height: 18px;
  font-size: 13px;
  color: #777;
  max-height: 54px;
  overflow: hidden;
}

#manufacturers_list.list li .description p {
  margin: 0;
}

#manufacturers_list.list li .right-side-content {
  border-left: 1px solid #e8e8e8;
  padding: 0 0 8px 31px;
  min-height: 108px;
}

#manufacturers_list.list li .right-side-content .product-counter {
  position: relative;
  top: -6px;
  margin-bottom: 12px;
}

#manufacturers_list.list li .product-counter a {
  font-weight: 700;
  color: #333;
}

.btn.pm-brand-products {
  display: inline-block;
  color: #111;
  background: #eecc13;
  border: 1px solid #d0ad00;
  border-radius: 2px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
}

.btn.pm-brand-products:hover {
  color: #111;
  background: #caad0f;
  border-color: #937a00;
}

body#manufacturer .pm-brands-toolbar {
  overflow: hidden;
  padding: 12px 0 16px;
  margin: 0 0 8px;
}

body#manufacturer .pm-brands-toolbar-bottom {
  margin: 8px 0 0;
  padding: 16px 0 4px;
  border-top: 1px solid #e8e8e8;
}

body#manufacturer .pm-brands-showall {
  float: left;
  margin: 0 12px 8px 0;
  color: #111;
  background: #eecc13;
  border: 1px solid #d0ad00;
  border-radius: 2px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
}

body#manufacturer .pm-brands-showall:hover {
  color: #111;
  background: #caad0f;
  border-color: #937a00;
}

body#manufacturer .pm-brands-pages {
  float: right;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
}

body#manufacturer .pm-brands-pages li a,
body#manufacturer .pm-brands-pages li span {
  display: inline-block;
  min-width: 28px;
  padding: 4px 8px;
  text-align: center;
  font-size: 13px;
  color: #333;
  border: 1px solid #e8e8e8;
  background: #fff;
}

body#manufacturer .pm-brands-pages li.current span {
  color: #111;
  background: #eecc13;
  border-color: #d0ad00;
  font-weight: 600;
}

body#manufacturer .pm-brands-pages li a:hover {
  color: #111;
  background: #f7f7f7;
}

body#manufacturer .pm-brands-pages li .spacer {
  border: 0;
  background: transparent;
}

body#manufacturer .pm-brands-count {
  clear: both;
  margin: 0;
  font-size: 13px;
  color: #666;
}

@media (max-width: 767px) {
  body#manufacturer #main .page-heading .heading-counter {
    float: none;
    display: block;
    margin-top: 8px;
  }

  body#manufacturer .pm-brands-showall,
  body#manufacturer .pm-brands-pages {
    float: none;
  }

  #manufacturers_list.list li .mansup-container {
    text-align: center;
  }

  #manufacturers_list.list li .middle-side {
    padding-right: 15px;
    padding-left: 15px;
  }

  #manufacturers_list.list li .right-side-content {
    min-height: 1px;
    padding: 12px 0 0;
    border: none;
  }

  #manufacturers_list.list li .right-side-content .product-counter {
    top: 0;
  }
}
