.syi-parts-shop{max-width:1120px;margin:0 auto;padding:20px 20px 72px;color:#171717}.syi-parts-shop__head{max-width:740px;margin:0 0 34px}.syi-parts-shop h1{font-size:clamp(2rem,5vw,4.3rem);letter-spacing:-.07em;line-height:.98;margin:.2rem 0 1rem}.syi-parts-shop h2{font-size:1.4rem;margin:48px 0 16px}.syi-parts-shop__head p:last-child{font-size:1.04rem;line-height:1.6;color:#575757}.syi-parts-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.syi-part-card{display:grid;grid-template-rows:230px auto;background:#f4f4f2;border:1px solid #e5e5e2;border-radius:18px;overflow:hidden}.syi-part-card>img{display:block;width:100%;height:100%;object-fit:contain;background:white;padding:18px}.syi-part-card__body{padding:18px}.syi-part-card h3{margin:0 0 8px;font-size:1.05rem}.syi-part-card p{font-size:.88rem;line-height:1.45;color:#626262;min-height:40px;margin:0 0 12px}.syi-part-card strong{font-size:1.15rem}.syi-part-card form,.syi-parts-order{display:grid;gap:9px;margin-top:14px}.syi-part-card label,.syi-parts-order label{font-size:.8rem;font-weight:650;display:grid;gap:4px}.syi-parts-shop select,.syi-parts-shop input,.syi-parts-shop textarea{width:100%;box-sizing:border-box;border:1px solid #d4d4d0;background:#fff;border-radius:8px;padding:10px;font:inherit}.syi-parts-shop textarea{min-height:76px;resize:vertical}.syi-parts-shop button{border:0;border-radius:9px;background:#151515;color:#fff;padding:11px 14px;font:600 .88rem Inter,Arial,sans-serif;cursor:pointer}.syi-parts-cart{margin-top:60px;background:#111;color:#fff;border-radius:20px;padding:26px}.syi-parts-cart h2{margin:0 0 18px}.syi-parts-cart__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px}.syi-parts-cart__head h2{margin:0}.syi-parts-cart__clear{margin:0}.syi-parts-cart__clear button{display:inline-flex;align-items:center;gap:6px;background:transparent;color:#d2d2d2;border:1px solid #3b3b3b;border-radius:999px;padding:6px 12px;font-size:.8rem}.syi-parts-cart__clear button:hover{color:#fff;border-color:#fff}.syi-parts-cart ul{list-style:none;padding:0;margin:0}.syi-parts-cart li{display:flex;justify-content:space-between;gap:16px;border-top:1px solid #3b3b3b;padding:13px 0}.syi-parts-cart small{display:block;color:#b9b9b9;margin-top:4px}.syi-parts-cart li>span:last-child{text-align:right;white-space:nowrap}.syi-parts-cart li form{margin-top:5px}.syi-parts-cart li button{background:transparent;color:#d2d2d2;text-decoration:underline;padding:0}.syi-parts-cart__total{font-size:1.08rem;border-top:1px solid #3b3b3b;padding-top:16px;display:flex;justify-content:space-between}.syi-parts-order{max-width:620px;margin:26px 0 0}.syi-parts-order h3{margin:0}.syi-parts-order p{margin:0;color:#bbb;font-size:.9rem}.syi-parts-order input,.syi-parts-order textarea{background:#fff;color:#171717}.syi-parts-order button{background:#fff;color:#111;margin-top:6px}.syi-parts-notice{padding:13px 15px;border-radius:10px;background:#e2f3e8;margin:0 0 22px}.syi-parts-notice--error{background:#fbe4e3}@media(max-width:760px){.syi-parts-shop{padding:10px 14px 54px}.syi-parts-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.syi-part-card{grid-template-rows:160px auto;border-radius:12px}.syi-part-card>img{padding:8px}.syi-part-card__body{padding:12px}.syi-part-card p{font-size:.78rem;min-height:auto}.syi-part-card h3{font-size:.92rem}.syi-parts-cart{margin:38px -2px 0;padding:18px}.syi-parts-cart li{font-size:.86rem;gap:8px}.syi-parts-shop h2{margin-top:34px}}
.syi-part-card>img.is-changing{opacity:.25!important}
.syi-part-card__image{cursor:zoom-in}.syi-part-card__image:focus-visible{outline:3px solid #0071e3;outline-offset:-4px}.syi-parts-lightbox[hidden]{display:none}.syi-parts-lightbox{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;padding:clamp(18px,5vw,64px);background:rgba(8,10,14,.88);cursor:zoom-out}.syi-parts-lightbox figure{position:relative;display:grid;place-items:center;max-width:min(920px,100%);max-height:100%;margin:0;cursor:default}.syi-parts-lightbox img{display:block;max-width:100%;max-height:calc(100vh - 124px);width:auto;height:auto;object-fit:contain;border-radius:12px;background:#fff;box-shadow:0 24px 80px rgba(0,0,0,.45)}.syi-parts-lightbox figcaption{max-width:100%;padding:10px 4px 0;color:#fff;font:600 .9rem/1.35 Inter,Arial,sans-serif;text-align:center}.syi-parts-lightbox__close{position:fixed;top:16px;right:16px;width:44px;height:44px;padding:0!important;border:1px solid rgba(255,255,255,.42)!important;border-radius:50%!important;background:rgba(20,23,28,.88)!important;color:#fff!important;font:400 32px/38px Arial!important;cursor:pointer;box-shadow:0 4px 16px rgba(0,0,0,.24)}.syi-parts-lightbox__close:hover,.syi-parts-lightbox__close:focus-visible{background:#fff!important;color:#111!important}.syi-parts-lightbox-open{overflow:hidden}
.syi-parts-cart-pill{position:fixed;right:18px;bottom:18px;z-index:30;background:#111;color:#fff!important;border-radius:999px;padding:12px 16px;text-decoration:none!important;font:650 .86rem Inter,Arial,sans-serif;box-shadow:0 8px 24px rgba(0,0,0,.22)}.syi-part-card__compat{display:block;color:#3f6f4d;font-size:.72rem;font-weight:700;line-height:1.35;margin-bottom:8px}.syi-parts-cart li form{display:flex!important;align-items:center;justify-content:flex-end;gap:8px}.syi-parts-quantity{width:52px!important;padding:5px!important;text-align:center;font-size:.8rem!important}.syi-parts-cart li .syi-parts-remove{color:#d2d2d2!important;text-decoration:underline;background:transparent!important}@media(max-width:760px){.syi-parts-cart-pill{right:12px;bottom:12px;padding:11px 13px}}

.syi-parts-filter{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 6px}.syi-parts-filter__label{font-size:.82rem;font-weight:650;color:#575757;margin-right:4px}.syi-parts-filter button{background:#fff;color:#171717;border:1px solid #d4d4d0;border-radius:999px;padding:8px 14px;font:600 .85rem Inter,Arial,sans-serif}.syi-parts-filter button.is-active{background:#0071e3;border-color:#0071e3;color:#fff}.syi-parts-filter button:hover:not(.is-active){border-color:#0071e3;color:#0071e3}@media(max-width:760px){.syi-parts-filter{gap:6px}.syi-parts-filter__label{width:100%}.syi-parts-filter button{padding:7px 11px;font-size:.8rem}}

/* robust cards: never overflow their cell (large text / page zoom / narrow phones), 1 column when the row gets too narrow */
.syi-part-card{min-width:0}
.syi-part-card>img{aspect-ratio:1/1;height:auto;max-height:230px;align-self:center}
.syi-part-card h3,.syi-part-card p,.syi-part-card__compat{overflow-wrap:anywhere}
.syi-part-card button,.syi-part-card select{white-space:normal;max-width:100%;line-height:1.25}
@media(max-width:760px){.syi-parts-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr)) !important}.syi-part-card{grid-template-rows:auto auto}.syi-part-card>img{max-height:160px}}
@media(max-width:340px){.syi-parts-grid{grid-template-columns:1fr !important}}

/* ---- catalogue v1.4: two filter rows (part type, generation) + availability on every card ---- */
.syi-parts-filters{position:sticky;top:0;z-index:5;display:flex;flex-direction:column;gap:8px;padding:12px 0;margin:0 0 18px;background:#fff;border-bottom:1px solid #e5e5e2}
.syi-parts-filters .syi-parts-filter{margin:0;flex-wrap:wrap;row-gap:6px;overflow:visible}
.syi-parts-filters .syi-parts-filter::-webkit-scrollbar{display:none}
.syi-parts-filters .syi-parts-filter button{flex:0 0 auto}
.syi-parts-filter__label{flex:0 0 auto}
.syi-parts-stockonly{display:inline-flex;align-items:center;gap:7px;font:600 .82rem Inter,Arial,sans-serif;color:#575757;cursor:pointer}
.syi-parts-stockonly input{width:16px;height:16px;accent-color:#0071e3;margin:0}
.syi-parts-count{margin:0 0 14px;font-size:.82rem;color:#7a7a7a}
.syi-parts-empty{margin:26px 0;padding:18px;border:1px dashed #d4d4d0;border-radius:12px;text-align:center;color:#575757}
/* availability */
.syi-part-card{position:relative}
.syi-part-card__badge{position:absolute;top:10px;left:10px;z-index:2;padding:3px 9px;border-radius:999px;background:#e2f3e8;color:#1c6b3a;font:650 .7rem Inter,Arial,sans-serif;letter-spacing:.02em}
.syi-part-card.is-soldout .syi-part-card__badge,.syi-part-card.is-variant-out .syi-part-card__badge{background:#f1f1ef;color:#8a8a8a}
.syi-part-card.is-soldout>img,.syi-part-card.is-soldout .syi-part-card__image{filter:none;opacity:1}   /* the colour stays visible: sold-out is shown by the badge, the price row and the disabled button */
.syi-part-card.is-soldout .syi-part-card__body{opacity:.72}
.syi-part-card.is-soldout .syi-part-card__badge{background:#fdecec;color:#b3261e}
.syi-part-card button[disabled]{background:#e5e5e2;color:#8a8a8a;cursor:not-allowed}
.syi-part-card[hidden]{display:none}
@media(max-width:760px){
  .syi-parts-filters{gap:6px;padding:10px 0;margin-bottom:14px}
  .syi-parts-filters .syi-parts-filter{gap:6px}
  /* the first chip of each row already names the group ("All parts", "All generations"): drop the label */
  .syi-parts-stockonly{font-size:.78rem}
  .syi-part-card__badge{top:6px;left:6px;font-size:.64rem;padding:2px 7px}
  .syi-parts-count{font-size:.76rem;margin-bottom:10px}
}

/* view switch: gallery (one card per colour) vs compact (one card per part with dropdowns) */
.syi-parts-view{display:inline-flex;gap:0;border:1px solid #d4d4d0;border-radius:999px;overflow:hidden;background:#fff}
.syi-parts-view button{background:transparent;color:#575757;border:0;border-radius:0;padding:7px 14px;font:600 .82rem Inter,Arial,sans-serif}
.syi-parts-view button.is-active{background:#171717;color:#fff}
.syi-parts-filters{flex-wrap:wrap}
.syi-parts-filters>.syi-parts-view,.syi-parts-filters>.syi-parts-stockonly{align-self:flex-start}
.syi-parts-filter[hidden]{display:none}
@media(max-width:760px){.syi-parts-view button{padding:6px 11px;font-size:.76rem}}

/* phones: chip rows are replaced by native dropdowns, so nothing can run off screen */
.syi-parts-mobilefilters{display:none}
@media(max-width:760px){
  .syi-parts-mobilefilters{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}
  .syi-parts-mobilefilter select{font-size:.8rem;padding-right:28px}
  .syi-parts-mobilefilter{min-width:0}
  .syi-parts-mobilefilter[data-facet=type]{grid-column:1/-1}
  .syi-parts-mobilefilter select{width:100%;box-sizing:border-box;border:1px solid #d4d4d0;background:#fff;border-radius:999px;padding:9px 32px 9px 14px;font:600 .84rem Inter,Arial,sans-serif;color:#171717;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23575757' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:11px}
  .syi-parts-mobilefilter[hidden]{display:none}
  .syi-parts-filters>.syi-parts-filter{display:none}          /* chips: desktop only */
  .syi-parts-filters{align-items:center;gap:8px}
  .syi-parts-view{flex:1 1 auto;justify-content:center}
  .syi-parts-view button{flex:1 1 0;text-align:center}
  .syi-parts-stockonly{flex:0 0 auto;margin-left:auto}
}
@media(max-width:430px){   /* long labels (FR/NL) would be clipped in two columns */
  .syi-parts-mobilefilters{grid-template-columns:1fr}
}

/* last unit + restock request */
.syi-part-card__last{margin:8px 0 0;font:650 .76rem Inter,Arial,sans-serif;color:#b45309}
.syi-part-card__last[hidden]{display:none}
.syi-part-card__restock{margin-top:8px}
.syi-part-card__restock[hidden]{display:none}
.syi-part-card__restock-open{width:100%;background:transparent !important;color:#0071e3 !important;border:1px solid #cfe0f5 !important;border-radius:9px;padding:9px 12px;font:600 .82rem Inter,Arial,sans-serif;cursor:pointer}
.syi-part-card__restock-open:hover{background:#f2f8ff !important}
.syi-part-card__restock-form{display:grid;gap:7px;margin-top:7px}
.syi-part-card__restock-form[hidden]{display:none}
.syi-part-card__restock-form input[type=email]{width:100%;box-sizing:border-box}
.syi-parts-hp{position:absolute !important;left:-9999px !important;width:1px !important;height:1px !important;opacity:0 !important}
.syi-parts-consent{display:flex;gap:9px;align-items:flex-start;font-size:.82rem;line-height:1.4;color:#c9c9c9;font-weight:400}
.syi-parts-consent input{width:16px;height:16px;flex:0 0 auto;margin-top:2px;accent-color:#0071e3}
.syi-parts-consent a{color:#fff;text-decoration:underline}
.syi-parts-top,.syi-parts-top:hover,.syi-parts-top:focus{position:fixed;left:18px;bottom:18px;z-index:29;width:46px;height:46px;padding:0 !important;display:inline-flex;align-items:center;justify-content:center;border:1px solid #d2d2d7 !important;border-radius:50% !important;background:rgba(255,255,255,.94) !important;color:#1d1d1f !important;box-shadow:0 6px 20px rgba(0,0,0,.14) !important;cursor:pointer;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:transform .2s,opacity .2s}
.syi-parts-top[hidden]{display:none !important}
.syi-parts-top:hover{transform:translateY(-2px)}
.syi-parts-top:focus-visible{outline:3px solid #0071e3 !important;outline-offset:2px}
@media (max-width:760px){.syi-parts-top,.syi-parts-top:hover,.syi-parts-top:focus{left:12px;bottom:12px;width:44px;height:44px}}

/* "Aggiunto al carrello": message in place (parts.js), the page does not move */
.syi-parts-toast{position:fixed;left:50%;bottom:24px;z-index:1000;display:flex;align-items:center;gap:14px;max-width:calc(100vw - 32px);box-sizing:border-box;padding:12px 18px;border-radius:14px;background:#1d1d1f;color:#fff;font:600 .92rem/1.35 -apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Arial,sans-serif;box-shadow:0 10px 30px rgba(0,0,0,.25);opacity:0;transform:translate(-50%,16px);transition:opacity .22s ease,transform .22s ease;pointer-events:none}
.syi-parts-toast.is-on{opacity:1;transform:translate(-50%,0);pointer-events:auto}
.syi-parts-toast.is-error{background:#b3261e}
.syi-parts-toast a{color:#6cb4ff!important;text-decoration:none!important;white-space:nowrap;font-weight:700}
.syi-parts-toast a:hover{text-decoration:underline!important}
@media(max-width:760px){.syi-parts-toast{bottom:70px;width:calc(100vw - 32px);justify-content:space-between}}
@media(prefers-reduced-motion:reduce){.syi-parts-toast{transition:none}}
