body.layout-boxed-lg {
  background: transparent !important;
  position: relative;
  z-index: 0;
  min-height: 100vh;
}

body.layout-boxed-lg::before {
  content: "";
  position: fixed;
  z-index: -1;
  left: -80px;
  right: -80px;
  top: -80px;
  bottom: -80px;
  background: #1236b0 url("/img/cms/3254140.jpg") center center / cover no-repeat;
  filter: blur(28px);
  pointer-events: none;
}

body.layout-boxed-lg #page {
  position: relative;
  z-index: 1;
  background: #fff;
}

.header_group_logo a {
  display: inline-block;
  line-height: 0;
}

.msp-help-note a,
a[href^="tel:"],
a[href^="mailto:"] {
  display: inline-block;
  min-height: 24px;
  line-height: 24px;
}

a.item-text {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  line-height: 24px;
}

.msp-carrusel input[type="radio"] {
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  clip: rect(0, 0, 0, 0);
}

.elementor-11 .elementor-element.elementor-element-75c71d3 .msp-carrusel {
  background: transparent !important;
}

.elementor-11 .elementor-element.elementor-element-75c71d3 .msp-carrusel .msp-slide {
  aspect-ratio: 3 / 2;
  background: transparent !important;
}

.elementor-11 .elementor-element.elementor-element-75c71d3 .msp-carrusel .msp-slide::before {
  content: none !important;
  display: none !important;
}

.elementor-11 .elementor-element.elementor-element-75c71d3 .msp-carrusel .msp-slide img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  background: transparent !important;
}

@media (max-width: 767px) {
  .elementor-11 .elementor-element.elementor-element-75c71d3 .msp-carrusel,
  .elementor-11 .elementor-element.elementor-element-75c71d3 .msp-carrusel .msp-slide,
  .elementor-11 .elementor-element.elementor-element-75c71d3 .msp-carrusel .msp-slide img {
    border-radius: 0 !important;
  }

  .elementor-11 .elementor-element.elementor-element-75c71d3 .msp-carrusel .msp-slide {
    aspect-ratio: 4 / 3;
  }

  .elementor-11 .elementor-element.elementor-element-75c71d3 .msp-carrusel .msp-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: fill !important;
    object-position: center center !important;
  }

  body .elementor-11 .elementor-element.elementor-element-75c71d3 .msp-slide-text h1 {
    font-size: 22px !important;
  }

  body .elementor-11 .elementor-element.elementor-element-75c71d3 .msp-slide-text p {
    font-size: 14px !important;
  }

  body .elementor-11 .elementor-element.elementor-element-75c71d3 .msp-btn {
    top: 0 !important;
    bottom: 0 !important;
    height: 100% !important;
    width: 64px !important;
    margin: 0 !important;
    transform: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  body .elementor-11 .elementor-element.elementor-element-75c71d3 .msp-carrusel:hover .msp-btn,
  body .elementor-11 .elementor-element.elementor-element-75c71d3 .msp-carrusel:active .msp-btn {
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  body .elementor-11 .elementor-element.elementor-element-75c71d3 .msp-prev {
    left: 0 !important;
  }

  body .elementor-11 .elementor-element.elementor-element-75c71d3 .msp-next {
    right: 0 !important;
  }
}

@media (min-width: 1025px) {
  .elementor-11 .elementor-element.elementor-element-75c71d3 .msp-carrusel .msp-slide {
    aspect-ratio: 2 / 1;
  }
}

body .elementor-10 .elementor-element.elementor-element-8b2bdb3 {
  position: relative !important;
  box-sizing: border-box !important;
  width: 1220px !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  left: 0 !important;
  right: 0 !important;
  transform: none !important;
  padding: 8px 16px 10px !important;
  min-height: 196px !important;
  border-radius: 0 !important;
}

body #header .elementor.elementor-10 {
  margin-top: 0 !important;
}

@media (max-width: 1260px) {
  body .elementor-10 .elementor-element.elementor-element-8b2bdb3 {
    width: 100% !important;
  }
}

@media (min-width: 768px) {
  body .elementor-10 .elementor-element.elementor-element-8b2bdb3 > .elementor-container {
    position: static !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 178px !important;
  }

  body .elementor-10 .elementor-element.elementor-element-8b2bdb3 .elementor-row,
  body .elementor-10 .elementor-element.elementor-element-8b2bdb3 .elementor-top-column,
  body .elementor-10 .elementor-element.elementor-element-8b2bdb3 .elementor-column-wrap,
  body .elementor-10 .elementor-element.elementor-element-8b2bdb3 .elementor-widget-wrap {
    position: static !important;
    display: block !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    flex: none !important;
  }

  body .elementor-10 .elementor-element.elementor-element-0ea0e83,
  body .elementor-10 .elementor-element.elementor-element-c43364b {
    display: none !important;
  }

  body .elementor-10 .elementor-element.elementor-element-898433f {
    position: absolute !important;
    left: 50% !important;
    top: 22px !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: 297px !important;
    max-width: 42% !important;
    margin: 0 !important;
    z-index: 2 !important;
    text-align: center !important;
  }

  body .elementor-10 .elementor-element.elementor-element-898433f img {
    width: 297px !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  body .elementor-10 .elementor-element.elementor-element-27a007d {
    position: absolute !important;
    left: auto !important;
    top: auto !important;
    bottom: 16px !important;
    right: 12px !important;
    transform: none !important;
    width: auto !important;
    max-width: 280px !important;
    margin: 0 !important;
    z-index: 3 !important;
  }

  body .elementor-10 .elementor-element.elementor-element-27a007d .mcms-list {
    justify-content: flex-end !important;
  }
}

@media (max-width: 767px) {
  body .elementor-10 .elementor-element.elementor-element-8b2bdb3 {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 16px 0 14px !important;
    min-height: 0 !important;
    left: 0 !important;
    right: 0 !important;
    border-radius: 0 !important;
  }

  body .elementor-10 .elementor-element.elementor-element-8b2bdb3 > .elementor-container,
  body .elementor-10 .elementor-element.elementor-element-8b2bdb3 .elementor-row {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body .elementor-10 .elementor-element.elementor-element-8b2bdb3 .elementor-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  body .elementor-10 .elementor-element.elementor-element-0ea0e83,
  body .elementor-10 .elementor-element.elementor-element-c43364b {
    display: none !important;
  }

  body .elementor-10 .elementor-element.elementor-element-3e0edbf,
  body .elementor-10 .elementor-element.elementor-element-10483db,
  body .elementor-10 .elementor-element.elementor-element-8b2bdb3 .elementor-column-wrap,
  body .elementor-10 .elementor-element.elementor-element-8b2bdb3 .elementor-widget-wrap {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: none !important;
    order: 0 !important;
  }

  body .elementor-10 .elementor-element.elementor-element-10483db {
    order: 2 !important;
  }

  body .elementor-10 .elementor-element.elementor-element-8b2bdb3 .elementor-column > .elementor-element-populated {
    padding: 0 !important;
  }

  body .elementor-10 .elementor-element.elementor-element-898433f,
  body .elementor-10 .elementor-element.elementor-element-27a007d {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    text-align: center !important;
  }

  body .elementor-10 .elementor-element.elementor-element-898433f img {
    width: 220px !important;
    max-width: 72% !important;
    margin: 0 auto !important;
  }

  body .elementor-10 .elementor-element.elementor-element-27a007d {
    margin-top: 16px !important;
  }

  body .elementor-10 .elementor-element.elementor-element-27a007d .mcms-list {
    justify-content: center !important;
  }
}

.msp-product-id {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 14px 0 0;
  clear: both;
}

.msp-product-id-label {
  display: block;
  margin: 0 0 2px;
  color: #7a7a7a;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
}

.msp-product-id-value {
  display: block;
  color: #001349;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}

.product-miniature .msp-product-id,
.ajax_block_product .msp-product-id {
  margin: 6px 0 8px;
}

.product-miniature .msp-product-id-value,
.ajax_block_product .msp-product-id-value {
  font-size: 1.05rem;
}

body .msp-cartel-wrap {
  width: 100%;
}

body .msp-cartel {
  position: relative;
  display: block;
  width: 100% !important;
  height: 320px !important;
  border-radius: 16px;
  overflow: hidden;
  background: #f5f9fd !important;
  box-sizing: border-box;
}

body .msp-cartel > img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center center !important;
}

@media (max-width: 767px) {
  body .msp-cartel {
    height: 220px !important;
  }
}

/* VENUT ink stamp (rectangular, like rubber stamp): class "msp-venut" */
body .msp-cartel-wrap.msp-venut .msp-cartel {
  position: relative;
}

body .msp-cartel-wrap.msp-venut .msp-cartel > img {
  filter: grayscale(0.08) brightness(0.96);
}

body .msp-cartel-wrap.msp-venut .msp-cartel::before {
  content: none;
  display: none;
}

body .msp-cartel-wrap.msp-venut .msp-cartel::after {
  content: "VENUT";
  position: absolute;
  top: 34%;
  left: 50%;
  z-index: 3;
  display: block;
  box-sizing: border-box;
  width: auto;
  max-width: 88%;
  margin: 0;
  padding: 0.12em 0.35em 0.08em;
  border: 0.12em solid #ff1744;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.15);
  color: #ff1744;
  font-family: "Times New Roman", Times, Georgia, serif;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  transform: translate(-50%, -50%) rotate(-14deg);
  transform-origin: center center;
  opacity: 0.95;
  pointer-events: none;
  white-space: nowrap;
}

body .msp-cartel-wrap.msp-venut .msp-cartel-tag {
  background: #ff1744 !important;
  color: #fff !important;
}

@media (max-width: 767px) {
  body .msp-cartel-wrap.msp-venut .msp-cartel::after {
    top: 32%;
    font-size: 32px;
  }
}

/* CMS pages: breadcrumb + title */
body#cms .breadcrumb-bg {
  display: flex;
  align-items: center;
}

body#cms .breadcrumb-bg .breadcrumb {
  width: 100%;
  padding: 18px 0;
}

body#cms .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

body#cms .breadcrumb li {
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

body#cms .breadcrumb li + li::before {
  content: "/";
  margin: 0 0.55em;
  opacity: 0.7;
  font-weight: 400;
}

body#cms .breadcrumb a span,
body#cms .breadcrumb span {
  color: #fff;
}

body#cms .breadcrumb a:hover span {
  text-decoration: underline;
  text-underline-offset: 3px;
}

body#cms .page-header {
  margin: 28px 0 22px;
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(0, 19, 73, 0.12);
}

body#cms .page-header h1 {
  margin: 0;
  color: #001349;
  font-size: clamp(1.85rem, 2.6vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.15;
  text-transform: none;
}

body#cms .page-content.page-cms {
  padding-top: 4px;
  padding-bottom: 36px;
}

@media (max-width: 767px) {
  body#cms .page-header {
    margin: 20px 0 16px;
    padding-bottom: 10px;
  }

  body#cms .page-header h1 {
    font-size: 1.65rem;
    letter-spacing: 0.02em;
  }
}

/* Help + Contactar: always side by side */
.msp-help {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px 24px !important;
}

.msp-help-text {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

a.msp-help-btn,
.msp-help-btn {
  flex: 0 0 auto !important;
  align-self: center !important;
  white-space: nowrap !important;
}

@media (max-width: 700px) {
  .msp-help {
    flex-direction: row !important;
    align-items: center !important;
  }

  .msp-help-title {
    font-size: 22px !important;
    line-height: 1.2 !important;
  }

  .msp-help-note {
    font-size: 14px !important;
  }

  a.msp-help-btn,
  .msp-help-btn {
    min-height: 44px !important;
    padding: 0 16px !important;
    font-size: 13px !important;
  }
}

/* WhatsApp brand green everywhere */
:root {
  --msp-wa: #25D366;
  --msp-wa-hover: #1ebe57;
  --msp-wa-shadow: rgba(37, 211, 102, 0.35);
}

a.msp-help-btn,
.msp-help-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: var(--msp-wa) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: 0 8px 18px var(--msp-wa-shadow) !important;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease !important;
}

a.msp-help-btn:hover,
a.msp-help-btn:focus,
.msp-help-btn:hover,
.msp-help-btn:focus {
  background: var(--msp-wa-hover) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(37, 211, 102, 0.45) !important;
}

a.msp-help-btn svg,
.msp-help-btn svg {
  width: 20px !important;
  height: 20px !important;
  flex: none;
}

a.msp-help-btn svg path,
.msp-help-btn svg path {
  fill: #fff !important;
}

.elementor-social-icon-whatsapp,
a.elementor-social-icon-whatsapp {
  background-color: var(--msp-wa) !important;
  background-image: none !important;
  border-color: var(--msp-wa) !important;
  color: #fff !important;
}

.elementor-social-icon-whatsapp i,
a.elementor-social-icon-whatsapp i,
.elementor-social-icon-whatsapp svg,
a.elementor-social-icon-whatsapp svg {
  color: #fff !important;
  fill: #fff !important;
}

.elementor-social-icon-whatsapp:hover,
a.elementor-social-icon-whatsapp:hover,
.elementor-social-icon-whatsapp:focus,
a.elementor-social-icon-whatsapp:focus {
  background-color: var(--msp-wa-hover) !important;
  border-color: var(--msp-wa-hover) !important;
  color: #fff !important;
}

/* ===== Ofertes: vista previa interactiva tipus Alternate ===== */
html.msp-pop-open,
html.msp-pop-open body,
body.msp-pop-open {
  overflow: auto !important;
  overscroll-behavior: auto !important;
}

.msp-pop {
  overscroll-behavior: contain !important;
}

.msp-pop-shell {
  position: relative !important;
  width: min(920px, 94vw) !important;
  max-width: 94vw !important;
  margin: 0 auto !important;
}

.msp-pop-shell > .msp-pop-x,
.msp-pop > .msp-pop-x {
  position: absolute !important;
  top: -46px !important;
  right: 0 !important;
  left: auto !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 999px !important;
  background: #0b2540 !important;
  color: #fff !important;
  font-size: 26px !important;
  line-height: 40px !important;
  text-align: center !important;
  cursor: pointer !important;
  z-index: 8 !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28) !important;
}

.msp-pop-shell > .msp-pop-box,
.msp-pop-box {
  max-width: min(920px, 94vw) !important;
  width: min(920px, 94vw) !important;
  max-height: min(92vh, 920px) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: contain !important;
  touch-action: pan-y !important;
}

.msp-pop-shell > .msp-pop-box {
  width: 100% !important;
  max-width: 100% !important;
}

/* Lightbox “Veure imatge”: fixed a pantalla completa (no tocar position) */
.msp-img-check:checked ~ .msp-img-view {
  display: block !important;
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  z-index: 100050 !important;
}

.msp-img-view > .msp-img-x {
  position: absolute !important;
  top: 18px !important;
  right: 18px !important;
  left: auto !important;
  z-index: 100051 !important;
}

.msp-pop-menu--hidden,
.msp-pop-menu[hidden] {
  display: none !important;
}

.msp-pc-preview {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  gap: 18px;
  align-items: stretch;
  margin: 8px 0 14px;
}

.msp-pc-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(255, 255, 255, 0.14), transparent 55%),
    linear-gradient(155deg, #1a2332 0%, #2b3a4d 48%, #15202b 100%);
  min-height: 320px;
  padding: 14px 10px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* Marc = mida exacta de la foto → els % dels pins cauen sobre la peça real */
.msp-pc-frame {
  position: relative;
  display: inline-block;
  max-width: 100%;
  line-height: 0;
  vertical-align: top;
}

.msp-pc-shot {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45));
}

.msp-pc-pins {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.msp-pc-pin {
  pointer-events: auto;
  position: absolute;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 2px solid #fff;
  background: rgba(26, 35, 50, 0.88);
  color: #fff;
  font: 700 12px/1 Georgia, "Times New Roman", serif;
  cursor: pointer;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  animation: msp-pc-pulse 2.2s ease-out infinite;
  z-index: 2;
}

.msp-pc-pin span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.msp-pc-pin.is-active {
  background: #25d366;
  border-color: #fff;
  animation: none;
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.28);
}

@keyframes msp-pc-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
  70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.msp-pc-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.msp-pc-hint {
  margin: 0;
  font-size: 13px;
  color: #667;
}

.msp-pc-detail {
  min-height: 74px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #f4f1ea;
  border: 1px solid #ddd4c6;
  opacity: 0.55;
  transition: opacity .2s ease, transform .2s ease;
}

.msp-pc-detail.is-on {
  opacity: 1;
  transform: translateY(0);
}

.msp-pc-detail-type {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6a6256;
  margin-bottom: 4px;
}

.msp-pc-detail-name {
  display: block;
  font-size: 15px;
  line-height: 1.35;
  color: #1a2332;
  font-weight: 700;
}

.msp-pc-chips {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 280px;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  padding-right: 2px;
}

.msp-pc-chip {
  display: grid;
  grid-template-columns: 28px 72px 1fr;
  gap: 8px;
  align-items: start;
  text-align: left;
  width: 100%;
  border: 1px solid #d7d0c5;
  background: #fff;
  border-radius: 8px;
  padding: 9px 10px;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.msp-pc-chip-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #0b2540;
  color: #fff;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  margin-top: 1px;
}

.msp-pc-chip.is-active .msp-pc-chip-num {
  background: #25d366;
  color: #0b2540;
}

.msp-pc-chip em {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6a6256;
  padding-top: 2px;
}

.msp-pc-chip span {
  font-size: 13px;
  line-height: 1.3;
  color: #1a2332;
}

.msp-pc-chip:hover,
.msp-pc-chip:focus {
  border-color: #1a2332;
  outline: none;
}

.msp-pc-chip.is-active {
  border-color: #25d366;
  background: #f3fff7;
  box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.18);
}

@media (max-width: 760px) {
  .msp-pop-shell {
    width: 96vw !important;
    max-width: 96vw !important;
  }

  .msp-pop-shell > .msp-pop-x,
  .msp-pop > .msp-pop-x {
    top: -42px !important;
    right: 4px !important;
    width: 38px !important;
    height: 38px !important;
    line-height: 38px !important;
  }

  .msp-img-view > .msp-img-x {
    top: 14px !important;
    right: 14px !important;
  }

  .msp-pop-box {
    max-width: 96vw !important;
    width: 96vw !important;
    max-height: 88vh !important;
    padding-bottom: 18px !important;
  }

  .msp-pc-preview {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 4px 0 10px;
  }

  .msp-pc-stage {
    min-height: 200px;
  }

  .msp-pc-shot {
    max-height: 220px;
  }

  .msp-pc-side {
    gap: 8px;
  }

  .msp-pc-chips {
    max-height: none;
    overflow: visible;
  }

  .msp-pc-chip {
    grid-template-columns: 26px 58px 1fr;
    padding: 10px;
  }

  .msp-pc-preview--monitor .msp-pc-pin {
    width: 28px;
    height: 28px;
  }
}

/* Menú més estret i les fitxes no arriben al tall de la caixa */
@media (min-width: 992px) {
  body.page-category #left-column {
    width: 210px !important;
    max-width: 210px !important;
  }

  body.page-category #content-wrapper.left-column {
    width: calc(100% - 210px) !important;
    max-width: none !important;
    padding-right: 36px !important;
    box-sizing: border-box;
  }
}

/* Catàleg: 4 columnes x 6 files i baixa a 3, 2, 1 segons l'ample de la llista */
#js-product-list {
  container-type: inline-size;
}

#js-product-list .leo-product-ajax {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px 10px;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

#js-product-list .leo-product-ajax > .ajax_block_product {
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: none !important;
  float: none !important;
  clear: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box;
}

#js-product-list .thumbnail-container {
  height: 100%;
  padding: 8px 8px 10px;
  border: 1px solid #e4e4e4;
  border-radius: 6px;
  background: #fff;
  box-sizing: border-box;
}

#js-product-list .product-meta,
#js-product-list .product-title,
#js-product-list .product-title a,
#js-product-list .product-price-and-shipping,
#js-product-list .msp-product-id {
  max-width: 100%;
  min-width: 0;
  white-space: normal !important;
  overflow-wrap: break-word;
  word-break: break-word;
}

#js-product-list .product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  margin-bottom: 8px;
}

#js-product-list .product-thumbnail {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#js-product-list .product-thumbnail img {
  width: auto !important;
  max-width: 72% !important;
  height: auto !important;
  max-height: 108px !important;
  object-fit: contain !important;
  font-size: 11px;
  line-height: 1.3;
  text-align: center;
}

#js-product-list .product-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  max-height: 2.6em;
}

#js-product-list .product-title a {
  color: #1d4ed8;
  text-decoration: none;
}

#js-product-list .thumbnail-container {
  display: flex;
  flex-direction: column;
  border: 1px solid #eceff3;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  padding: 22px 20px 20px;
  background: #fff;
}

#js-product-list .product-image {
  position: relative;
  height: 176px;
  margin: 0 0 12px;
}

#js-product-list .product-thumbnail {
  padding-top: 22px;
  box-sizing: border-box;
}

#js-product-list .product-thumbnail img {
  max-width: 72% !important;
  max-height: 108px !important;
}

#js-product-list .functional-buttons,
#js-product-list .button-review,
#js-product-list .quickview,
#js-product-list .quick-view {
  display: none !important;
}

#js-product-list .product-flags {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: auto;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
  transform: none;
}

#js-product-list .product-flag {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  display: inline-block;
  margin: 0;
  padding: 2px 7px;
  border-radius: 999px;
  background: #e11d48;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
  transform: none !important;
}

#js-product-list .product-meta {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

#js-product-list .product-price-and-shipping {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 4px;
}

#js-product-list .product-price-and-shipping .price {
  color: #1f2937;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

#js-product-list .regular-price {
  color: #9ca3af;
  font-size: 14px;
  font-weight: 500;
  text-decoration: line-through;
}

#js-product-list .discount-percentage,
#js-product-list .discount-amount {
  display: none;
}

#js-product-list .msp-product-id {
  margin: 2px 0 8px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 500;
}

#js-product-list .msp-product-id-label,
#js-product-list .msp-product-id-value {
  display: inline;
  color: #6b7280;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}

#js-product-list .msp-card-stock {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

#js-product-list .msp-card-stock.is-in {
  color: #16a34a;
}

#js-product-list .msp-card-stock.is-out {
  color: #dc2626;
}

#js-product-list .msp-card-cart {
  margin-top: auto;
}

#js-product-list .msp-card-add {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: #0c5db0;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  padding: 8px 12px;
  cursor: pointer;
}

#js-product-list .msp-card-add:hover {
  background: #094e94;
}

#js-product-list .msp-card-add:disabled {
  background: #d1d5db;
  color: #fff;
  cursor: not-allowed;
}

#js-product-list .product-price-and-shipping .price {
  font-size: 14px;
  line-height: 1.2;
}

#js-product-list .msp-product-id {
  font-size: 12px;
  line-height: 1.25;
}

@container (min-width: 360px) {
  #js-product-list .leo-product-ajax {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@container (min-width: 540px) {
  #js-product-list .leo-product-ajax {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@container (min-width: 720px) {
  #js-product-list .leo-product-ajax {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
