.catalog-products{display:block;padding:0 24px;background:#f6f0e7}
.catalog-product{display:grid;grid-template-columns:126px minmax(0,1fr);gap:26px;align-items:center;padding:24px 0;border:0;border-bottom:1px solid #ddd0c1;border-radius:0;background:transparent;min-width:0}
.catalog-product:last-child{border-bottom:0}
.catalog-product img{display:block;width:126px;height:132px;object-fit:contain;background:transparent;border:0;border-radius:0}
.catalog-copy{padding:0;min-width:0}
.catalog-copy h3{font:23px/1.2 Georgia,serif;color:#17213a;margin:0 0 9px;overflow-wrap:anywhere}
.catalog-description{font:16px/1.5 Georgia,serif;color:#665b50;white-space:pre-line;overflow-wrap:anywhere;margin:0 0 13px}
.catalog-price{display:inline-block;font:24px/1.3 Georgia,serif;color:#a3212b;margin:0 20px 6px 0}
.catalog-status{display:inline-block;font:13px/1.5 Arial,sans-serif;color:#4f5947;background:transparent;border:0;border-radius:0;padding:0;margin:0 0 6px}
.catalog-no-image .catalog-copy{grid-column:2}
.catalog-error{font-size:16px;padding:12px;border:1px solid #dfd1c1;border-radius:8px}
@media(max-width:600px){.catalog-products{padding:0 18px}.catalog-product{grid-template-columns:86px minmax(0,1fr);gap:14px;padding:20px 0}.catalog-product img{width:86px;height:110px}.catalog-copy h3{font-size:20px}.catalog-description{font-size:15px}.catalog-price{font-size:22px}}

.catalog-description-toggle{display:none}

.catalog-product{align-items:start}
.catalog-description:not(.is-expanded){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;max-height:4.5em}
.catalog-description.is-expanded{display:block;max-height:none}
.catalog-description-toggle{display:block;border:0;background:transparent;color:#a3212b;font:14px/1.4 Arial,sans-serif;text-decoration:underline;padding:6px 0;margin:-7px 0 10px;cursor:pointer;min-height:36px}
.catalog-description-toggle[hidden]{display:none}
.catalog-description-toggle:focus-visible{outline:2px solid #a3212b;outline-offset:3px}

.catalog-contact{display:block;width:fit-content;padding:10px 0;color:#a3212b;font:15px/1.5 Arial,sans-serif;text-decoration:underline}.catalog-contact:focus-visible{outline:2px solid #a3212b;outline-offset:3px}

.parts-brand .empty-panel{padding:18px 24px;font-size:17px}.parts-brand .empty-panel[hidden]{display:none}

.catalog-contact{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;margin-top:10px;border:1px solid #a3212b;border-radius:8px;background:#a3212b;color:#fff;text-decoration:none;font:15px/1.4 Arial,sans-serif}.catalog-contact:hover{background:#801923}.catalog-contact:focus-visible{outline:2px solid #a3212b;outline-offset:3px}

/* Separate availability from the contact action on desktop. */
@media(min-width:601px){.catalog-contact{margin-left:24px}}

/* Uniform photo frames for existing and newly uploaded products. */
.catalog-product>img,.catalog-photo-link>img{box-sizing:border-box;width:126px;height:150px;object-fit:contain;object-position:center;padding:8px;align-self:start}
@media(max-width:600px){.catalog-product>img,.catalog-photo-link>img{width:86px;height:120px;padding:5px}}

@media screen and (max-width: 767px) {
  .detail:has(> :is(.parts-reference, .pod-brands) > details.parts-brand:not([data-base-section], [hidden])) > .category-intro {
    margin-bottom: 8px;
    padding-bottom: 12px;
  }
  .detail:has(> :is(.parts-reference, .pod-brands) > details.parts-brand:not([data-base-section], [hidden])) > .category-intro > h1 {
    margin-bottom: 0;
  }
  .detail:has(> :is(.parts-reference, .pod-brands) > details.parts-brand:not([data-base-section], [hidden])) > .category-intro > .category-copy {
    display: none;
  }
  .detail:has(> aside[aria-label="Avviso acquisto in negozio"] + .parts-reference > details.parts-brand:not([hidden])) {
    display: flex;
    flex-direction: column;
  }
  .detail:has(> aside[aria-label="Avviso acquisto in negozio"] + .parts-reference > details.parts-brand:not([hidden])) > :is(.category-intro, .parts-reference) {
    order: -1;
  }
}

.catalog-photo-link{display:block;align-self:start}
.catalog-copy h3 > a.catalog-title-link {
  display: inline-block;
  max-width: 100%;
  color: inherit;
  text-decoration: none;
}
.catalog-title-link:focus-visible {
  outline: 2px solid #960d23;
  outline-offset: 3px;
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .catalog-title-link { transition: transform 160ms ease-out; }
  .catalog-copy h3:hover > .catalog-title-link { transform: translateY(-2px); }
}
