/* Shop — griglia prodotti + dettaglio */

.sh-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.sh-hero {
  padding: 3.5rem 0 2rem;
}

.sh-hero h1,
.sh-detail-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.sh-lead,
.sh-detail-lead {
  margin: 1rem 0 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.sh-filters {
  margin-bottom: 1.5rem;
}

.sh-filter-form {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(16, 16, 16, 0.45);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.sh-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: end;
}

.sh-filter-field {
  display: grid;
  gap: 0.35rem;
  min-width: 10rem;
}

.sh-filter-field--grow {
  flex: 1;
  min-width: min(100%, 16rem);
}

.sh-filter-field span {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sh-filter-field input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.sh-filter-field select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: var(--control-radius, 10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 10, 10, 0.75);
  color: var(--text);
  font: inherit;
  outline: none;
}
.sh-filter-field input:focus-visible,
.sh-filter-field select:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}

.sh-filter-btn {
  padding: 0.72rem 1.1rem;
  border-radius: 10px;
  border: 1px solid rgba(61, 214, 198, 0.35);
  background: rgba(61, 214, 198, 0.12);
  color: var(--accent);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.sh-catalog-layout {
  display: block;
  padding-bottom: 2.25rem;
}

.sh-catalog-layout--with-facets {
  display: grid;
  gap: 0.625rem;
  grid-template-columns: minmax(0, 1fr);
}

.sh-catalog-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.675rem;
}

.sh-category-hero {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 2.5vw, 1.35rem);
}

.sh-category-hero__media {
  flex: 0 0 auto;
  width: clamp(7.5rem, 18vw, 11.25rem);
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(16, 16, 16, 0.55);
}

.sh-category-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sh-category-hero__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0.65rem;
  text-align: center;
  font-size: clamp(0.75rem, 2vw, 0.95rem);
  font-weight: 650;
  color: var(--muted);
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.sh-category-hero__body {
  flex: 1 1 auto;
  min-width: 0;
}

.sh-category-hero__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.sh-category-hero__desc {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 62ch;
}

@media (min-width: 900px) {
  .sh-catalog-layout--with-facets {
    grid-template-columns: minmax(12rem, 240px) minmax(0, 1fr);
    align-items: start;
  }

  .sh-catalog-sidebar {
    position: sticky;
    top: 5.5rem;
  }
}

.sh-catalog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  min-width: 0;
}

.sh-facet-panel,
.sh-cat-nav-panel {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(16, 16, 16, 0.45);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.sh-cat-nav-panel__title {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.sh-cat-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sh-cat-nav__list--nested {
  margin: 0.25rem 0 0.35rem 0.35rem;
  padding-left: 0.55rem;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.sh-cat-nav__item {
  margin: 0.15rem 0;
}

.sh-cat-nav__row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.sh-cat-nav__toggle {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.1rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  background: rgba(16, 16, 16, 0.65);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.sh-cat-nav__toggle:hover {
  border-color: rgba(127, 240, 228, 0.45);
  color: #7ff0e4;
}

.sh-cat-nav__toggle--spacer {
  visibility: hidden;
  pointer-events: none;
}

.sh-cat-nav__toggle-icon {
  display: block;
  transition: transform 0.2s ease;
}

.sh-cat-nav__item.is-expanded > .sh-cat-nav__row .sh-cat-nav__toggle-icon {
  transform: rotate(45deg);
}

.sh-cat-nav__children {
  display: none;
}

.sh-cat-nav__item.is-expanded > .sh-cat-nav__children {
  display: block;
}

.sh-cat-nav__link {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.15rem 0;
  font-size: 0.88rem;
  line-height: 1.35;
  text-decoration: none;
  color: var(--text);
}

.sh-cat-nav__row .cat-visual {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
}

.sh-cat-nav__list--nested .sh-cat-nav__row .cat-visual {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 6px;
}

.sh-cat-nav__label {
  flex: 1;
  min-width: 0;
}

.sh-cat-nav__link:hover {
  color: #7ff0e4;
}

.sh-cat-nav__item.is-active > .sh-cat-nav__row .sh-cat-nav__link {
  font-weight: 650;
  color: #7ff0e4;
}

.sh-facet-group {
  border: 0;
  margin: 0 0 1rem;
  padding: 0;
  min-width: 0;
}

.sh-facet-group legend {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.5rem;
  padding: 0;
}

.sh-facet-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.sh-facet-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  cursor: pointer;
}

.sh-facet-label {
  flex: 1;
  min-width: 0;
}

.sh-facet-count {
  font-size: 0.78rem;
  color: var(--muted);
}

.sh-facet-submit {
  width: 100%;
  margin-top: 0.25rem;
}

.sh-facet-clear {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.85rem;
  text-align: center;
  color: var(--muted);
}

.sh-facet-empty-hint {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

.sh-listing-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.375rem 0.625rem;
  padding: 0.425rem 0.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(16, 16, 16, 0.42);
}

.sh-listing-toolbar__sort {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex: 1 1 12rem;
  min-width: 0;
}

.sh-listing-toolbar__label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  white-space: nowrap;
}

.sh-listing-toolbar__select {
  flex: 1;
  min-width: 10rem;
  max-width: 22rem;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 10, 10, 0.85);
  color: var(--text);
  font: inherit;
}

.sh-listing-toolbar__view {
  display: inline-flex;
  gap: 0.35rem;
  flex-shrink: 0;
}

.sh-listing-toolbar__view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 10, 10, 0.75);
  color: var(--text);
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.sh-listing-toolbar__view-btn:hover {
  border-color: rgba(127, 240, 228, 0.45);
  color: #7ff0e4;
}

.sh-listing-toolbar__view-btn.is-active {
  border-color: rgba(61, 214, 198, 0.55);
  background: rgba(61, 214, 198, 0.12);
  color: #7ff0e4;
}

.sh-listing-toolbar__view-text {
  display: none;
}

@media (min-width: 640px) {
  .sh-listing-toolbar__view-text {
    display: inline;
  }
}

.sh-grid-section {
  padding-bottom: 0;
  min-width: 0;
}

.sh-grid {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}

.sh-grid--mini {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr));
}

.sh-grid--list {
  display: flex;
  flex-direction: column;
  gap: 0.425rem;
}

.sh-grid--list .sh-card {
  flex-direction: row;
  align-items: stretch;
  min-height: 9.5rem;
}

.sh-grid--list .sh-card-link {
  flex-direction: row;
  flex: 1;
  min-width: 0;
  align-items: stretch;
}

.sh-grid--list .sh-card-media {
  flex: 0 0 9.5rem;
  width: 9.5rem;
  min-height: 9.5rem;
  aspect-ratio: 1 / 1;
  align-self: stretch;
}

.sh-grid--list .sh-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.85rem 1rem;
}

.sh-grid--list .sh-card-footer {
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  min-width: min(100%, 13.5rem);
  padding: 0.65rem 0.85rem 0.65rem 0;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.sh-grid--list .sh-card-footer__actions {
  justify-content: flex-start;
}

.sh-grid--list .sh-card-footer__bar {
  justify-content: flex-start;
  flex-wrap: nowrap;
}

.sh-grid--list .sh-card-footer__head .sh-card-price {
  text-align: right;
}

@media (max-width: 720px) {
  .sh-grid--list .sh-card {
    flex-direction: column;
    min-height: 0;
  }

  .sh-grid--list .sh-card-link {
    flex-direction: column;
  }

  .sh-grid--list .sh-card-media {
    flex: none;
    width: 100%;
    min-height: 0;
  }

  .sh-grid--list .sh-card-footer {
    flex-direction: row;
    min-width: 0;
    border-left: 0;
    padding: 0 1rem 1rem;
  }
}

.sh-card {
  position: relative;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), transparent 48%),
    rgba(16, 16, 16, 0.42);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.sh-card--featured {
  border-color: rgba(61, 214, 198, 0.35);
}

.sh-card-link {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sh-card-media {
  aspect-ratio: 1 / 1;
  background: rgba(10, 10, 10, 0.8);
  overflow: hidden;
  position: relative;
}

.sh-card-media__primary,
.sh-card-media__alt {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.32s ease, transform 0.38s ease;
}

.sh-card-media__alt {
  opacity: 0;
}

.sh-card-media--has-alt:hover .sh-card-media__primary {
  opacity: 0;
}

.sh-card-media--has-alt:hover .sh-card-media__alt {
  opacity: 1;
}

.sh-card-media--zoom:hover .sh-card-media__primary {
  transform: scale(1.1);
}

.sh-card-brand {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  margin: 0;
  padding: 0.35rem 0.55rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1a1208;
  background: rgba(255, 158, 64, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.sh-card-media--placeholder {
  background:
    radial-gradient(circle at 30% 20%, var(--bg-glow-strong), transparent 55%),
    rgba(10, 10, 10, 0.9);
}

.sh-card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(61, 214, 198, 0.9);
  color: #041014;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sh-card-body {
  padding: 0.85rem 1rem 0.5rem;
  display: grid;
  gap: 0.3rem;
}

.sh-card-title {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.sh-card-price {
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.25;
  color: var(--accent);
  flex: 0 1 auto;
  min-width: 0;
  white-space: nowrap;
}

.sh-card-footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  padding: 0.35rem 1rem 1rem;
  margin-top: auto;
}

.sh-card-sku {
  margin: 0;
  min-width: 0;
  font-size: 0.72rem;
  line-height: 1.25;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sh-card-sku__label {
  font-weight: 500;
}

.sh-card-sku__value {
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", Consolas, monospace;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.sh-card-footer__head {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  min-width: 0;
}

.sh-card-footer__head .sh-card-price {
  margin-left: auto;
  text-align: right;
}

.sh-card-stock {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.25;
  color: var(--muted);
  flex: 0 1 auto;
  min-width: 0;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sh-card-stock--out {
  color: #ffb4a8;
  font-weight: 600;
}

.sh-card-footer__bar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.28rem;
  min-width: 0;
}

.sh-card-footer__tools .sh-inline-form {
  display: flex;
  flex: 0 0 auto;
  margin: 0;
}

.sh-card-footer__bar > .sh-card-buy-form {
  flex: 0 0 auto;
  margin-left: auto;
  min-width: 0;
}

.sh-card-footer__bar > .sh-card-action-btn {
  flex: 0 0 auto;
}

.sh-card-buy-form {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  flex-wrap: nowrap;
}

.sh-card-qty {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  height: 2rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.sh-card-qty__btn {
  width: 1.5rem;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.sh-card-qty__btn:hover:not(:disabled) {
  color: var(--accent);
  background: rgba(61, 214, 198, 0.12);
}

.sh-card-qty__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.sh-card-qty__input {
  width: 2.15rem;
  height: 100%;
  padding: 0;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 650;
  text-align: center;
  -moz-appearance: textfield;
}

.sh-card-qty__input::-webkit-outer-spin-button,
.sh-card-qty__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.sh-card-qty__input:focus-visible {
  outline: 2px solid rgba(61, 214, 198, 0.55);
  outline-offset: -2px;
}

.sh-card-action-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.sh-card-footer__actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  flex: 0 0 auto;
}

.sh-card-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border-radius: 8px;
  border: 1px solid rgba(61, 214, 198, 0.45);
  background: rgba(61, 214, 198, 0.12);
  color: #dffef8;
  cursor: pointer;
  line-height: 0;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.sh-card-action-btn:hover {
  border-color: rgba(127, 240, 228, 0.7);
  background: rgba(61, 214, 198, 0.28);
  color: #fff;
}

.sh-card-action-btn--express {
  border-color: rgba(255, 158, 64, 0.55);
  background: rgba(255, 158, 64, 0.18);
  color: #ffe8cc;
}

.sh-card-action-btn--express:hover {
  border-color: rgba(255, 180, 100, 0.75);
  background: rgba(255, 158, 64, 0.32);
  color: #fff;
}

.sh-card-cart-icon {
  display: block;
}

.sh-card-cart-icon--express .sh-card-cart-icon__speed {
  animation: sh-cart-speed-pulse 0.85s ease-in-out infinite;
}

.sh-card-cart-icon--express .sh-card-cart-icon__cart--express {
  animation: sh-cart-express-nudge 0.85s ease-in-out infinite;
}

@keyframes sh-cart-speed-pulse {
  0%, 100% { opacity: 0.45; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(-1px); }
}

@keyframes sh-cart-express-nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(1.5px); }
}

@media (prefers-reduced-motion: reduce) {
  .sh-card-cart-icon--express .sh-card-cart-icon__speed,
  .sh-card-cart-icon--express .sh-card-cart-icon__cart--express {
    animation: none;
  }
}

.sh-card-footer__tools {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.35rem;
}

.sh-card-footer__commerce {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
  margin-left: auto;
}

.sh-card-buy {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
}

.sh-card-buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.42rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(61, 214, 198, 0.45);
  background: rgba(61, 214, 198, 0.12);
  color: #dffef8;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 650;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.sh-card-buy-btn:hover {
  border-color: rgba(127, 240, 228, 0.7);
  background: rgba(61, 214, 198, 0.28);
  color: #fff;
}

.sh-card-buy-btn--checkout {
  border-color: rgba(255, 158, 64, 0.55);
  background: rgba(255, 158, 64, 0.18);
  color: #ffe8cc;
}

.sh-card-buy-btn--checkout:hover {
  border-color: rgba(255, 180, 100, 0.75);
  background: rgba(255, 158, 64, 0.32);
  color: #fff;
}

.sh-card-buy-btn__icon {
  display: inline-flex;
  line-height: 0;
}

.sh-inline-form {
  display: inline;
  margin: 0;
}

.sh-tool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.sh-tool-btn:hover {
  color: var(--accent);
  border-color: rgba(61, 214, 198, 0.35);
}

.sh-empty {
  color: var(--muted);
  padding: 2rem 0;
}

.sh-pager {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  color: var(--muted);
}

.sh-pager a {
  color: var(--accent);
}

.sh-detail-hero {
  padding: 1.5rem 0 0;
}

.sh-detail-hero-inner {
  display: grid;
  gap: 0.85rem;
  align-items: start;
}

@media (min-width: 900px) {
  .sh-detail-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 1.1rem;
    padding-bottom: 1rem;
    align-items: start;
  }

  .sh-detail-gallery {
    grid-column: 1;
    grid-row: 1;
  }

  .sh-detail-main {
    grid-column: 2;
    grid-row: 1;
  }
}

.sh-detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
  width: 100%;
}

.sh-detail-suggest {
  margin-top: 0.15rem;
  padding: 0.65rem 0.55rem 0.55rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(16, 16, 16, 0.42);
}

.sh-detail-suggest__tabs {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.55rem;
}

.sh-detail-suggest__tab {
  flex: 1 1 0;
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.sh-detail-suggest__tab.is-active {
  color: var(--text);
  border-color: rgba(61, 214, 198, 0.45);
  background: var(--bg-glow-soft);
}

.sh-detail-suggest__tab:disabled {
  opacity: 0.4;
  cursor: default;
}

.sh-detail-suggest__list {
  display: grid;
  gap: 0.45rem;
}

.sh-detail-suggest .sh-mini-card {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(10, 10, 10, 0.55);
}

.sh-detail-suggest .sh-mini-card-link {
  grid-template-columns: 52px 1fr;
  gap: 0.5rem;
  padding: 0.45rem;
}

.sh-detail-suggest .sh-mini-card-media {
  width: 52px;
  height: 52px;
}

.sh-detail-suggest .sh-mini-card-title {
  font-size: 0.86rem;
}

.sh-detail-suggest .sh-mini-card-price {
  font-size: 0.82rem;
}

.sh-detail-suggest__empty {
  margin: 0;
  padding: 0.35rem 0.15rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.sh-reviews--detail-main {
  margin-top: 1.5rem;
  max-width: none;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sh-reviews--detail-main h2 {
  font-size: 1.2rem;
}

.sh-detail-main {
  min-width: 0;
  container-type: inline-size;
  container-name: detail-main;
}

.sh-detail-media {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
  width: 100%;
}

.sh-detail-preview {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 12rem;
  padding: 0;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 10, 10, 0.8);
  overflow: hidden;
  cursor: zoom-in;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sh-detail-preview:hover {
  border-color: rgba(127, 240, 228, 0.35);
  box-shadow: 0 0 0 1px rgba(61, 214, 198, 0.12);
}

.sh-detail-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sh-detail-preview--placeholder {
  cursor: default;
  background-image:
    radial-gradient(circle at 30% 20%, var(--bg-glow-mid), transparent 55%),
    rgba(10, 10, 10, 0.9);
}

.sh-detail-description {
  margin: 1rem 0 0;
  max-width: none;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.sh-detail-description.cms-body img,
.sh-detail-description.cms-body table {
  max-width: 100%;
}

.sh-detail-thumbs-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.2rem;
  width: 100%;
  max-width: 100%;
}

.sh-detail-thumbs-carousel__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(16, 16, 16, 0.75);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.sh-detail-thumbs-carousel__btn:hover:not(:disabled) {
  border-color: rgba(127, 240, 228, 0.55);
  color: #7ff0e4;
}

.sh-detail-thumbs-carousel__btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.sh-detail-thumbs-carousel__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  padding: 0.15rem 0.1rem;
  scrollbar-width: none;
}

.sh-detail-thumbs-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.sh-detail-thumbs-carousel__track {
  display: flex;
  gap: 0.4rem;
  align-items: stretch;
}

.sh-detail-thumb {
  flex: 0 0 auto;
  width: 3.35rem;
  height: 3.35rem;
  padding: 0;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 10, 10, 0.65);
  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: start;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sh-detail-thumb.is-active {
  border-color: rgba(61, 214, 198, 0.65);
  box-shadow: 0 0 0 1px rgba(61, 214, 198, 0.35);
}

.sh-detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sh-gallery-lightbox:not([open]) {
  display: none !important;
}

.sh-gallery-lightbox[open] {
  display: flex;
  flex-direction: column;
  width: min(100vw, 100%);
  height: min(100vh, 100%);
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(6, 8, 12, 0.96);
  color: var(--text);
}

.sh-gallery-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.sh-gallery-lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sh-gallery-lightbox__zoom {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.sh-gallery-lightbox__tool,
.sh-gallery-lightbox__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  cursor: pointer;
}

.sh-gallery-lightbox__close {
  font-size: 1.45rem;
  line-height: 1;
  padding: 0;
  width: 2.35rem;
}

.sh-gallery-lightbox__stage-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.35rem 0.75rem;
  min-height: 0;
  flex: 1;
}

.sh-gallery-lightbox__stage {
  position: relative;
  overflow: hidden;
  min-height: min(62vh, 720px);
  max-height: min(72vh, 820px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  touch-action: none;
}

.sh-gallery-lightbox__stage.is-zoomed {
  cursor: grab;
}

.sh-gallery-lightbox__stage.is-zoomed:active {
  cursor: grabbing;
}

.sh-gallery-lightbox__stage img {
  max-width: 100%;
  max-height: min(72vh, 820px);
  object-fit: contain;
  transform-origin: center center;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
}

.sh-gallery-lightbox__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(16, 16, 16, 0.8);
  color: var(--text);
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
}

.sh-detail-thumbs-carousel--lightbox {
  padding: 0 0.65rem 0.85rem;
  max-width: min(100%, 56rem);
  margin-inline: auto;
}

.sh-detail-thumbs-carousel--lightbox .sh-detail-thumb {
  width: 3.75rem;
  height: 3.75rem;
}

.sh-detail-meta {
  margin: 1rem 0 0;
  padding: 0.65rem 0.5rem;
  border: 1px solid color-mix(in srgb, var(--text) 12%, transparent);
  border-radius: 0.5rem;
  background: color-mix(in srgb, var(--surface) 88%, var(--text) 4%);
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  list-style: none;
  font-size: 0.88rem;
}

.sh-detail-meta__cell {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem;
  padding: 0.35rem 0.5rem;
  text-align: center;
  border-right: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
}

.sh-detail-meta__cell:last-child {
  border-right: none;
}

.sh-detail-meta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: color-mix(in srgb, var(--text) 72%, transparent);
  cursor: help;
  line-height: 0;
}

.sh-detail-meta__text {
  margin: 0;
  line-height: 1.35;
  color: var(--text);
  word-break: break-word;
}

.sh-detail-meta__text--compact {
  font-size: 0.84rem;
}

.sh-detail-meta__barcode-icon {
  display: block;
}

.sh-detail-meta__text--sku {
  font-size: 0.82rem;
  line-height: 1.3;
}

.sh-detail-meta__sku-label {
  font-family: inherit;
  font-weight: 600;
  color: color-mix(in srgb, var(--text) 78%, transparent);
  margin-right: 0.25em;
}

.sh-detail-meta__sku-value {
  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
  letter-spacing: 0.02em;
}

.sh-detail-meta__text--out {
  color: var(--danger, #e85d5d);
  font-weight: 600;
}

.sh-detail-price-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem 1rem;
  margin: 1.25rem 0 0;
}

.sh-detail-price-bar__brand {
  min-width: 0;
  justify-self: start;
}

.sh-detail-price-bar__ask {
  justify-self: center;
}

.sh-detail-ask {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 3rem;
  padding: 0 1.05rem;
  gap: 0.5rem;
  border-radius: 8px;
  border: 1px solid #8a8a8a;
  background: transparent;
  color: var(--text, #f4f1ea);
  cursor: pointer;
  line-height: 1;
  font: inherit;
  font-size: 1rem;
  font-weight: 650;
  white-space: nowrap;
}

.sh-detail-ask svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.sh-detail-ask:hover,
.sh-detail-ask:focus-visible {
  background: transparent;
  color: #fff;
  border-color: #bdbdbd;
}

.sh-detail-price-bar__price {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  text-align: right;
}

@container detail-main (max-width: 24rem) {
  .sh-detail-price-bar {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand price"
      "ask ask";
  }

  .sh-detail-price-bar__brand {
    grid-area: brand;
  }

  .sh-detail-price-bar__price {
    grid-area: price;
    flex-wrap: nowrap;
  }

  .sh-detail-price-bar__price .sh-price {
    white-space: nowrap;
  }

  .sh-detail-price-bar__ask {
    grid-area: ask;
    justify-self: stretch;
  }

  .sh-detail-ask {
    width: 100%;
  }
}

.sh-detail-mfr-link {
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: color-mix(in srgb, var(--text) 88%, var(--accent) 12%);
}

.sh-detail-mfr-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.sh-detail-mfr-link--logo {
  display: inline-block;
  line-height: 0;
}

.sh-detail-mfr-thumb {
  display: block;
  max-height: 2.5rem;
  max-width: 6.5rem;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.35rem;
  padding: 0.2rem 0.35rem;
  background: color-mix(in srgb, var(--surface) 70%, var(--text) 6%);
  border: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
}

.sh-detail-price {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin: 1.25rem 0 0;
}

.sh-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
}

.sh-kind-badge,
.sh-featured-badge {
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sh-featured-badge {
  border-color: rgba(61, 214, 198, 0.4);
  color: var(--accent);
}

.sh-detail-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.25rem;
  width: 100%;
  max-width: none;
  container-type: inline-size;
  container-name: detail-actions;
}

.sh-detail-action-bar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(0.25rem, 1.4cqi, 0.45rem);
  width: 100%;
  min-width: 0;
}

.sh-detail-action-bar .sh-option-qty {
  flex: 0 1 auto;
  min-width: 0;
  margin: 0;
}

.sh-detail-action-bar .sh-option-qty label {
  white-space: nowrap;
}

.sh-detail-action-bar .sh-option-qty input {
  width: clamp(3.1rem, 14cqi, 5rem);
  min-width: 3.1rem;
}

.sh-detail-action-bar .sh-inline-form {
  flex-shrink: 0;
  margin: 0;
}

.sh-detail-cart-actions {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(0.2rem, 1.2cqi, 0.35rem);
  min-width: 0;
}

.sh-detail-action-btn {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  height: 3rem;
  padding: 0 clamp(0.35rem, 2.4cqi, 1.05rem);
  gap: clamp(0.25rem, 1.2cqi, 0.5rem);
  font: inherit;
  font-size: clamp(0.72rem, 3.4cqi, 1rem);
  font-weight: 650;
  line-height: 1.05;
  text-align: left;
  white-space: normal;
  overflow: hidden;
}

.sh-detail-action-btn > span {
  min-width: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.sh-detail-action-btn .sh-card-cart-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

@container detail-actions (max-width: 26rem) {
  .sh-detail-action-bar {
    flex-wrap: wrap;
  }

  .sh-detail-cart-actions {
    flex-basis: 100%;
  }

  .sh-detail-action-btn {
    font-size: 0.92rem;
    padding: 0 0.7rem;
  }
}

.sh-detail-action-bar .sh-tool-btn {
  width: 2rem;
  height: 2rem;
  font-size: 0.9rem;
}

.sh-btn {
  padding: 0.7rem 1.15rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.sh-btn-primary {
  background: linear-gradient(120deg, #1d8f86, #3dd6c6);
  border-color: transparent;
  color: #041014;
}

.sh-btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.sh-btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text);
}

.sh-options-wrap {
  margin: 1rem 0 0;
}

.sh-options {
  display: grid;
  gap: 0.9rem;
  width: 100%;
}

.sh-option-label {
  margin: 0 0 0.35rem;
  font-weight: 600;
}

.sh-option-req {
  color: var(--accent);
}

.sh-option-input,
.sh-option-qty input {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: var(--control-radius, 8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.25);
  color: inherit;
  font: inherit;
  outline: none;
}
.sh-option-input:focus-visible,
.sh-option-qty input:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}

.sh-option-choices {
  display: grid;
  gap: 0.45rem;
}

.sh-option-choice {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.sh-option-choice img {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 4px;
}

.sh-option-qty {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.sh-option-qty input {
  width: 5rem;
}

.sh-cart-options {
  margin: 0.25rem 0 0;
  color: var(--muted, #9aa);
  font-size: 0.88rem;
}

.sh-detail-body {
  padding: 2rem 0 4rem;
}

.sh-attributes {
  margin: 2rem 0;
}

.sh-attributes > h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.sh-attribute-group {
  margin-bottom: 1.25rem;
}

.sh-attribute-group h3 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
  opacity: 0.85;
}

.sh-attribute-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.sh-attribute-table th,
.sh-attribute-table td {
  padding: 0.45rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  vertical-align: top;
}

.sh-attribute-table th {
  width: 38%;
  font-weight: 600;
  opacity: 0.9;
}

.sh-content {
  max-width: 72ch;
  line-height: 1.65;
}

.sh-related {
  margin-top: 3rem;
}

.sh-related h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
}

.sh-mini-card {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(16, 16, 16, 0.4);
  overflow: hidden;
}

.sh-mini-card-link {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.65rem;
  padding: 0.55rem;
  color: inherit;
  text-decoration: none;
  align-items: center;
}

.sh-mini-card-media {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(10, 10, 10, 0.85);
}

.sh-mini-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sh-mini-card-title {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.25;
}

.sh-mini-card-price {
  margin: 0.25rem 0 0;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
}

.sh-back {
  margin-top: 2.5rem;
}

.sh-back-link {
  color: var(--accent);
}

.mod-product-carousel-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  margin-top: 1rem;
}

/* Alias + tabella confronto (ShopLists) */
.shop-hero { padding: 3.5rem 0 2rem; }
.shop-kicker { margin: 0 0 0.75rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.shop-hero h1 { margin: 0; font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; }
.shop-lead { margin: 1rem 0 0; max-width: 52ch; color: var(--muted); font-size: 1.05rem; line-height: 1.6; }
.shop-empty, .shop-alert { color: var(--muted); padding: 1rem 0; }
.shop-empty-cta a { color: var(--accent); }
.shop-compare-section { padding-bottom: 4rem; }
.shop-compare-scroll { overflow-x: auto; }
.shop-compare-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.shop-compare-table th,
.shop-compare-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: top;
  text-align: left;
}
.shop-compare-table thead th,
.shop-compare-table thead td {
  background: #14555c;
  color: #f4fffd;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-bottom: 2px solid #7ff0e4;
}
.shop-compare-table tbody tr:nth-child(even) td,
.shop-compare-table tbody tr:nth-child(even) th {
  background: var(--bg-glow-soft);
}
.shop-compare-table th[scope="row"] {
  width: 8.5rem;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.shop-compare-table thead th[scope="row"] {
  color: #f4fffd;
}
.shop-compare-cover {
  width: 120px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(10, 10, 10, 0.85);
}
.shop-compare-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-compare-cover.is-empty {
  background:
    radial-gradient(circle at 30% 20%, var(--bg-glow-strong), transparent 55%),
    rgba(10, 10, 10, 0.9);
}
.shop-compare-actions { display: grid; gap: 0.5rem; }
.shop-card-cta { color: var(--accent); text-decoration: none; font-weight: 600; }
.shop-compare-remove {
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font: inherit;
}
.shop-compare-remove:hover {
  border-color: rgba(61, 214, 198, 0.35);
  color: var(--accent);
}

.sh-account-form {
  max-width: 28rem;
  display: grid;
  gap: 1rem;
}
.sh-account-form--compact {
  gap: 0.45rem;
}
.sh-account-form--compact .sh-filter-field {
  margin: 0;
  gap: 0.18rem;
}
.sh-account-form--compact .sh-filter-field > label {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.065em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--muted);
}
.sh-account-form--compact .sh-filter-field input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.sh-account-form--compact .sh-filter-field select,
.sh-account-form--compact .sh-filter-field textarea {
  min-height: 2.45rem;
  padding: 0.5rem 0.72rem;
}
.sh-account-form--compact .sh-filter-field textarea {
  min-height: 4.5rem;
}
.sh-account-form--compact .sh-empty {
  min-height: 0;
  margin: 0;
  padding: 0;
  font-size: 0.78rem;
  line-height: 1.2;
}
.sh-account-form--compact .sh-empty.field-validation-valid {
  display: none;
}
.sh-account-form-note {
  margin: 0 0 0.15rem;
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--muted);
}
.sh-account-form-submit {
  margin-top: 0.35rem;
}
.sh-account-form-submit .sh-filter-btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}
.sh-account-form--compact .sh-filter-row {
  gap: 0.45rem;
  align-items: stretch;
}
.sh-account-form--compact .sh-filter-row > .sh-filter-field {
  flex: 1 1 calc(50% - 0.25rem);
  min-width: min(100%, 11rem);
}
.sh-account-address-fields {
  display: grid;
  gap: 0;
}
.sh-account-form--compact .sh-account-field-hint {
  margin: 0;
  padding: 0;
  font-size: 0.76rem;
  line-height: 1.25;
  color: var(--muted);
}
.sh-account-form-check {
  margin-top: 0.15rem;
}
.sh-account-form-check .sh-account-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
  color: var(--text);
  cursor: pointer;
}
.sh-account-form-check .sh-account-check input {
  margin-top: 0.2rem;
  flex: 0 0 auto;
}

/* Account — login / registrazione / recupero password */
.sh-auth-shell {
  display: flex;
  justify-content: center;
  padding: 2.5rem 1rem 2.5rem;
  margin-top: 2rem;
}
.sh-auth-card {
  width: 100%;
  max-width: 26rem;
  padding: 1.75rem 1.5rem 1.25rem;
  margin: 0;
}
.sh-auth-card--wide {
  max-width: 42rem;
}
.sh-auth-card.mod-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 14, 22, 0.72);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}
.sh-auth-card--register {
  max-width: 38rem;
  padding: 1.5rem 1.75rem 1.15rem;
  border-color: rgba(127, 240, 228, 0.18);
  background: linear-gradient(145deg, rgba(10, 20, 29, 0.94), rgba(8, 14, 22, 0.82));
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(127, 240, 228, 0.035);
}
.sh-auth-form.sh-account-form {
  max-width: none;
}
.sh-auth-form--register {
  gap: 0.42rem;
}
.sh-auth-form--register .sh-filter-field {
  margin: 0;
  gap: 0.2rem;
}
.sh-auth-form--register .sh-filter-field > label {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.065em;
  line-height: 1.2;
  text-transform: uppercase;
}
.sh-auth-required-note {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--muted);
}
.sh-auth-required-mark {
  color: var(--accent);
  font-weight: 700;
}
.sh-auth-required-mark--inline {
  margin-right: 0.12rem;
}
.sh-auth-form--register .sh-auth-field--required > label:not(.sh-auth-check)::after {
  content: " *";
  color: var(--accent);
  font-weight: 700;
}
.sh-auth-form--register .sh-filter-field input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.sh-auth-form--register .sh-filter-field select {
  min-height: 2.55rem;
  padding: 0.55rem 0.75rem;
}
.sh-auth-form--register .sh-empty {
  min-height: 0;
  margin: 0;
  padding: 0;
  font-size: 0.78rem;
  line-height: 1.25;
}
.sh-auth-form--register .sh-empty.field-validation-valid {
  display: none;
}
.sh-auth-form--register .sh-empty.field-validation-error {
  display: block;
  color: #ffb4b4;
}
.sh-auth-name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
@media (max-width: 520px) {
  .sh-auth-name-row {
    grid-template-columns: 1fr;
  }
}
.sh-auth-register-block {
  margin: 0.28rem 0 0;
  padding: 0.65rem 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
}
.sh-auth-register-block-title {
  margin: 0 0 0.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
.sh-auth-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--muted);
  cursor: pointer;
}
.sh-auth-check input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: var(--accent);
}
.sh-auth-submit-row {
  margin-top: 0.4rem;
}
.sh-auth-form--register .sh-auth-submit {
  padding: 0.68rem 1rem;
  border-color: rgba(127, 240, 228, 0.5);
  background: linear-gradient(135deg, rgba(61, 214, 198, 0.24), var(--bg-glow-soft));
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.sh-auth-form--register .sh-auth-submit:hover {
  border-color: rgba(127, 240, 228, 0.8);
  background: linear-gradient(135deg, rgba(61, 214, 198, 0.34), var(--bg-glow-mid));
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
  transform: translateY(-1px);
}
.sh-auth-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
}
.sh-auth-remember {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  cursor: pointer;
}
.sh-auth-remember input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--accent);
}
.sh-auth-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
}
.sh-auth-link:hover {
  text-decoration: underline;
}
.sh-auth-card-foot {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}
.sh-auth-lead,
.sh-auth-message p {
  margin: 0 0 0.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.sh-auth-validation {
  margin: 0;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 120, 120, 0.35);
  background: rgba(255, 80, 80, 0.08);
  color: #ffb4b4;
  font-size: 0.9rem;
}
.sh-auth-validation ul {
  margin: 0;
  padding-left: 1.1rem;
}
.sh-auth-validation.validation-summary-valid {
  display: none;
}
.sh-auth-field-error {
  display: block;
  margin-top: 0.25rem;
  color: #ffb4b4;
  font-size: 0.85rem;
}
.sh-auth-submit {
  width: 100%;
  justify-content: center;
}
.sh-auth-register h2 {
  margin: 1.25rem 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 600;
}
.sh-auth-register h2:first-of-type {
  margin-top: 0.5rem;
}
.sh-account-profile {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 0.5rem 1rem;
  max-width: 32rem;
  margin: 0 0 1.5rem;
}
.sh-account-profile dt {
  color: var(--muted);
  font-size: 0.85rem;
}
.sh-account-profile dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.sh-account-hub,
.sh-account-page {
  display: grid;
  gap: 1rem;
  padding-bottom: 3.25rem;
}
.sh-account-page--centered {
  justify-items: center;
}
.sh-account-page--centered > .sh-account-card--form {
  width: min(100%, 28rem);
  max-width: 28rem;
}
.sh-account-page--centered > .sh-account-card--form-wide {
  width: min(100%, 36rem);
  max-width: 36rem;
}
.sh-account-toolbar {
  display: flex;
  justify-content: flex-end;
}
.sh-account-logout {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.16);
}
.sh-account-kicker {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.sh-account-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  align-items: stretch;
}
.sh-account-grid--privacy {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.sh-account-card {
  padding: 1.15rem 1.2rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(160deg, rgba(12, 22, 32, 0.92), rgba(8, 14, 22, 0.78));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}
.sh-account-card--form {
  max-width: 40rem;
}
.sh-account-card--form .sh-account-form {
  max-width: none;
}
.sh-account-card--form .sh-account-card-head {
  margin-bottom: 0.85rem;
}
.sh-account-card-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.sh-account-card-nav--center {
  justify-content: center;
}
.sh-account-card-nav--center .sh-account-nav-btn {
  flex: 0 1 auto;
  min-width: min(100%, 12rem);
}
.sh-account-nav-btn {
  display: inline-flex;
  align-items: center;
  flex: 1 1 calc(50% - 0.25rem);
  min-width: min(100%, 9.5rem);
  text-align: center;
  text-decoration: none;
  justify-content: center;
}
.sh-account-nav-btn--secondary {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.16);
}
.sh-account-nav-btn--secondary:hover {
  border-color: rgba(127, 240, 228, 0.35);
  color: var(--accent);
}
.sh-account-card--link {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.sh-account-card--link:hover {
  transform: translateY(-2px);
  border-color: rgba(127, 240, 228, 0.45);
  background: rgba(12, 28, 36, 0.92);
}
.sh-account-card--link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.sh-account-card h2 {
  margin: 0;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}
.sh-account-card h3,
.sh-account-subtitle {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.sh-account-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}
.sh-account-card-head {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.sh-account-card-head p {
  margin-top: 0.2rem;
}
.sh-account-card-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 12px;
  background: rgba(61, 214, 198, 0.12);
  color: var(--accent);
}
.sh-account-card--link .sh-account-card-icon {
  margin-bottom: 0.35rem;
}
.sh-account-glyph {
  display: block;
}
.sh-account-card .sh-account-identity {
  margin: 0 0 0.15rem;
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  color: var(--text);
}
.sh-account-card .sh-account-identity-mail {
  margin: 0 0 1rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.sh-account-card .sh-account-inline-empty {
  margin: 0.55rem 0 0;
}
.sh-account-profile-grid {
  display: grid;
  gap: 1.25rem 2rem;
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
}
.sh-account-card .sh-account-profile {
  max-width: none;
  margin: 0;
  grid-template-columns: minmax(7.5rem, 11rem) minmax(0, 1fr);
}
.sh-account-address-list {
  list-style: none;
  margin: 0.55rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.sh-account-address-list li {
  margin: 0;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  line-height: 1.4;
  display: grid;
  gap: 0.35rem;
}
.sh-account-address-line {
  color: var(--muted);
  font-size: 0.92rem;
}
.sh-account-address-badge {
  justify-self: start;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}
.sh-account-address-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.35rem;
}
.sh-account-address-actions .sh-inline-form {
  display: contents;
}
.sh-account-address-actions .sh-account-nav-btn {
  flex: 0 1 auto;
  min-width: 8.5rem;
}
.sh-address-lookup-status {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--muted);
}
.sh-address-lookup-row .sh-filter-field {
  align-self: start;
}
.sh-account-inline-empty {
  margin: 0.55rem 0 0;
  color: var(--muted);
}
.sh-account-card--export {
  border-color: rgba(127, 240, 228, 0.22);
}
.sh-account-card--danger {
  border-color: rgba(255, 120, 120, 0.38);
  background: linear-gradient(165deg, rgba(52, 16, 22, 0.9), rgba(8, 14, 22, 0.82));
}
.sh-account-card--danger .sh-account-card-icon {
  background: rgba(255, 90, 90, 0.14);
  color: #ffb4b4;
}
.sh-account-card--danger h2 {
  color: #ffd0d0;
}
.sh-account-card .sh-filter-field {
  min-width: 0;
}
.sh-account-card .sh-filter-field > label {
  font-size: 0.92rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
}
.sh-account-card .sh-filter-field .sh-account-check-text,
.sh-account-card .sh-account-field-error {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.sh-account-field-error {
  color: #ffb4b4;
}
.sh-account-field-error:empty {
  display: none;
}
.sh-account-btn--danger {
  border-color: rgba(255, 140, 140, 0.55);
  background: rgba(170, 36, 48, 0.35);
  color: #ffd6d6;
}
.sh-account-btn--danger:hover {
  background: rgba(190, 42, 54, 0.5);
}
.sh-account-flash {
  margin: 0 0 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  line-height: 1.45;
}
.sh-account-flash--ok {
  border: 1px solid rgba(120, 210, 160, 0.4);
  background: rgba(70, 180, 110, 0.12);
  color: #c8f5d8;
}
.sh-account-flash--err {
  border: 1px solid rgba(255, 120, 120, 0.4);
  background: rgba(180, 40, 40, 0.14);
  color: #ffd0d0;
}
.sh-account-flash--warn {
  border: 1px solid rgba(230, 190, 90, 0.45);
  background: rgba(200, 150, 40, 0.12);
  color: #ffe9b8;
}
.sh-account-flash.validation-summary-valid {
  display: none;
}
.sh-account-flash ul {
  margin: 0;
  padding-left: 1.1rem;
}
.sh-account-note {
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 196, 90, 0.35);
  background: rgba(255, 180, 60, 0.08);
  color: #f3d7a1;
  font-size: 0.92rem;
  line-height: 1.45;
}
.sh-account-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(127, 240, 228, 0.22);
  border-radius: 14px;
  background: rgba(8, 14, 22, 0.62);
}
.sh-table.sh-table--zebra {
  min-width: 640px;
  border-collapse: separate;
  border-spacing: 0;
}
.sh-table.sh-table--zebra th,
.sh-table.sh-table--zebra td {
  padding: 0.78rem 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: middle;
}
.sh-table.sh-table--zebra thead th {
  background: #14555c;
  color: #f4fffd;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-bottom: 2px solid #7ff0e4;
  white-space: nowrap;
}
.sh-table.sh-table--zebra tbody tr:nth-child(odd) td {
  background: rgba(255, 255, 255, 0.02);
}
.sh-table.sh-table--zebra tbody tr:nth-child(even) td {
  background: var(--bg-glow-soft);
}
.sh-table.sh-table--zebra tbody tr:hover td {
  background: rgba(127, 240, 228, 0.14);
}
.sh-table.sh-table--zebra tfoot td {
  background: rgba(0, 0, 0, 0.28);
  border-top: 1px solid rgba(127, 240, 228, 0.28);
}
.sh-account-table-action {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  border: 1px solid rgba(61, 214, 198, 0.45);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
}
.sh-account-table-action:hover {
  background: rgba(61, 214, 198, 0.12);
  color: #d9fff8;
}
button.sh-account-table-action {
  background: transparent;
  cursor: pointer;
  font: inherit;
}
.sh-table.sh-table--fit {
  min-width: 0;
}
.sh-list-stack {
  display: grid;
  gap: 1rem;
}
.sh-list-create,
.sh-list-rename {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: flex-end;
}
.sh-list-create .sh-filter-field,
.sh-list-rename .sh-filter-field {
  flex: 1 1 14rem;
  margin: 0;
}
.sh-list-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}
.sh-list-toolbar h2 {
  margin: 0;
}
.sh-list-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: flex-end;
}
.sh-list-badge,
.sh-list-hint {
  margin: 0.35rem 0 0.75rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.sh-list-badge {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(127, 240, 228, 0.35);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.sh-table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.sh-cart-page-layout {
  display: grid;
  gap: 1rem;
  width: 100%;
}
.sh-cart-lines-card {
  width: 100%;
  min-width: 0;
}
.sh-cart-summary-row {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}
.sh-cart-summary-row .sh-account-card--summary {
  max-width: 28rem;
  width: min(100%, 28rem);
  flex: 0 1 28rem;
}
.sh-cart-table {
  width: 100%;
  min-width: 0;
}
.sh-line-title-stack {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}
.sh-line-title-link {
  font-weight: 600;
  text-decoration: none;
  color: inherit;
}
.sh-line-title-link:hover {
  color: var(--accent);
}
.sh-line-sku {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.sh-line-sku-label {
  font-weight: 500;
}
.sh-line-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
}
.sh-line-qty {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}
.sh-cart-line-title {
  min-width: 10rem;
  max-width: 28rem;
}
.sh-cart-qty-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.sh-cart-qty-input {
  width: 4.25rem;
  padding: 0.35rem 0.45rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 14, 22, 0.72);
  color: var(--text);
}
.sh-cart-summary-dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 1.25rem;
  margin: 0 0 1rem;
}
.sh-cart-summary-dl dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.sh-cart-summary-dl dd {
  margin: 0;
  text-align: right;
}
.sh-cart-summary-total {
  font-size: 1.12rem;
  font-weight: 650;
  color: var(--accent);
}
.sh-cart-checkout-btn {
  width: 100%;
  justify-content: center;
  text-align: center;
  text-decoration: none;
}
.sh-account-empty {
  margin: 0;
  padding: 0.95rem 1rem;
  text-align: center;
  color: var(--muted);
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}
.sh-account-page .sh-back {
  margin-top: 0.25rem;
}
@media (max-width: 800px) {
  .sh-account-profile-grid {
    grid-template-columns: 1fr;
  }
  .sh-account-card .sh-account-profile {
    grid-template-columns: minmax(6.75rem, 8.25rem) minmax(0, 1fr);
  }
}
@media (prefers-reduced-motion: reduce) {
  .sh-account-card--link {
    transition: none;
  }
  .sh-account-card--link:hover {
    transform: none;
  }
}
.sh-download-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.sh-download-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sh-download-item > div {
  display: grid;
  gap: 0.2rem;
}
.sh-download-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Cart / checkout */
.sh-cart-list {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.sh-cart-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sh-cart-row-main {
  flex: 1 1 14rem;
}
.sh-cart-title {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}
.sh-cart-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.sh-cart-qty input[type="number"] {
  width: 4.5rem;
  margin-right: 0.5rem;
  border-radius: var(--control-radius, 8px);
}
.sh-cart-summary {
  max-width: 22rem;
  display: grid;
  gap: 0.35rem;
}
.sh-cart-total {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0.5rem 0 1rem;
}
.sh-checkout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
}
.sh-checkout-layout {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.sh-checkout-address-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
.sh-checkout-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 100%;
}
.sh-checkout-card--full {
  width: 100%;
}
.sh-checkout-card-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.sh-checkout-field-select select {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.25);
  color: inherit;
  border-radius: var(--control-radius, 8px);
  outline: none;
}
.sh-checkout-field-select select:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
.sh-checkout-preview {
  margin-top: 0.35rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.sh-checkout-preview-title {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.sh-checkout-preview-denom {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 600;
}
.sh-checkout-preview-dl {
  margin: 0;
  display: grid;
  gap: 0.55rem;
}
.sh-checkout-preview-dl > div {
  display: grid;
  gap: 0.15rem;
}
.sh-checkout-preview-dl dt {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}
.sh-checkout-preview-dl dd {
  margin: 0;
  font-size: 0.95rem;
}
.sh-checkout-contacts {
  margin-top: 0.35rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.sh-checkout-contacts .sh-field dd {
  margin: 0;
}
.sh-checkout-contacts input[type="email"] {
  width: 100%;
  max-width: 100%;
}
.sh-checkout-profile-link {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
}
.sh-checkout-card--placeholder {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(8, 14, 22, 0.55);
}
.sh-checkout-payment-options {
  display: grid;
  gap: 0.5rem;
  margin: 0.75rem 0 0.5rem;
}
.sh-checkout-payment-option {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  cursor: pointer;
}
.sh-checkout-payment-option:has(input:checked) {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
}
.sh-checkout-payment-option-body {
  display: grid;
  gap: 0.25rem;
}
.sh-checkout-payment-option-title {
  font-weight: 600;
}
.sh-checkout-payment-option-hint {
  font-size: 0.92rem;
  line-height: 1.4;
}
.sh-checkout-stripe-brands {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
}
.sh-pay-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.75rem;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #e8eef5;
}
.sh-pay-brand--visa {
  color: #1a1f71;
  background: #fff;
}
.sh-pay-brand--amex {
  color: #006fcf;
  background: #fff;
}
.sh-checkout-stripe-brands-note {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
}
.sh-checkout-payment-hint {
  margin-top: 0.5rem;
  font-size: 0.88rem;
}
.sh-checkout-card--summary .sh-checkout-lines {
  margin-bottom: 0.75rem;
}
.sh-checkout-totals {
  margin: 0 0 1rem;
  padding: 0.85rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 0.45rem;
}
.sh-checkout-totals > div {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: 0.45rem;
}
.sh-checkout-totals dt {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
  text-align: right;
}
.sh-checkout-totals dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
  flex: 0 0 auto;
  min-width: 4.85rem;
}
.sh-checkout-totals-grand dt,
.sh-checkout-totals-grand dd {
  font-size: 1.12rem;
  color: var(--text);
}
.sh-checkout-submit-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.65rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.sh-checkout-submit-row .sh-checkout-submit-btn {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  justify-content: center;
  text-align: center;
}
.sh-checkout-submit-row .sh-checkout-back-cart-btn {
  flex: 0 1 auto;
  width: auto;
  margin: 0;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 0.85rem;
  padding-right: 0.85rem;
  font-size: 0.92rem;
}
.sh-checkout-submit-btn.sh-btn-primary {
  background: linear-gradient(120deg, #15803d, #22c55e);
  color: #f0fdf4;
}
.sh-checkout-submit-btn.sh-btn-primary:hover:not(:disabled) {
  filter: brightness(1.06);
}
.sh-checkout-submit-btn.sh-btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
@media (max-width: 480px) {
  .sh-checkout-submit-row {
    flex-wrap: wrap;
  }
  .sh-checkout-submit-row .sh-checkout-submit-btn,
  .sh-checkout-submit-row .sh-checkout-back-cart-btn {
    flex: 1 1 100%;
  }
}
@media (max-width: 900px) {
  .sh-checkout-address-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 800px) {
  .sh-checkout-grid {
    grid-template-columns: 1fr;
  }
}
.sh-form .sh-field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}
.sh-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]) {
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.25);
  color: inherit;
  border-radius: var(--control-radius, 8px);
  outline: none;
}
.sh-form input:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
.sh-checkout-lines {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.sh-checkout-lines li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.sh-checkout-line-desc,
.sh-checkout-lines .sh-line-title-stack {
  flex: 1 1 auto;
  min-width: 0;
}
.sh-checkout-line-price {
  flex: 0 0 auto;
  white-space: nowrap;
}
.sh-checkout-shipping {
  margin-top: 0.35rem;
}
.sh-shipping-options {
  display: grid;
  gap: 0.5rem;
  margin: 0.75rem 0 1rem;
}
.sh-shipping-option {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  padding: 0.5rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  cursor: pointer;
}
.sh-checkout-shipping h3 {
  margin: 1rem 0 0.35rem;
  font-size: 1.05rem;
}
.sh-timeline {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.75rem;
}
.sh-timeline time {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}
.sh-table {
  width: 100%;
  border-collapse: collapse;
}
.sh-table th,
.sh-table td {
  text-align: left;
  padding: 0.55rem 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sh-mfr-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.sh-mfr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.55rem;
  padding: 1.1rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.sh-mfr-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  margin-bottom: 0.15rem;
}
.sh-mfr-card:hover {
  border-color: rgba(120, 180, 255, 0.35);
  transform: translateY(-2px);
}
.sh-mfr-logo {
  display: block;
  max-height: 48px;
  max-width: 140px;
  width: auto;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
}
.sh-mfr-logo--lg {
  max-height: 72px;
  max-width: 200px;
  margin-bottom: 0.5rem;
}
.sh-mfr-name,
.sh-mfr-desc,
.sh-mfr-count {
  width: 100%;
}
.sh-mfr-name {
  margin: 0;
  font-size: 1.15rem;
}
.sh-mfr-desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.sh-mfr-count {
  font-size: 0.85rem;
  color: var(--muted);
}
.sh-mfr-hero {
  align-items: flex-start;
}
.sh-section-title {
  margin: 0 0 1rem;
  font-size: 1.35rem;
}

.sh-stars {
  display: inline-flex;
  gap: 0.05em;
  color: rgba(255, 255, 255, 0.22);
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  line-height: 1;
  vertical-align: middle;
}
.sh-star.is-on {
  color: #f5b942;
}
.sh-stars-count {
  margin-left: 0.4rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.sh-card-rating,
.sh-mini-card-rating,
.sh-detail-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.45rem 0 0;
}
.sh-detail-rating a {
  color: var(--accent);
  font-size: 0.9rem;
}
.sh-reviews {
  margin-top: 3rem;
  max-width: 72ch;
}
.sh-reviews h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
}
.sh-review-summary {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.sh-review-histogram {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.3rem;
}
.sh-review-histogram li {
  display: grid;
  grid-template-columns: 2.4rem 1fr 1.6rem;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.82rem;
  color: var(--muted);
}
.sh-review-bar {
  height: 0.45rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.sh-review-bar > span {
  display: block;
  height: 100%;
  background: #f5b942;
}
.sh-review-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.sh-review {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(16, 16, 16, 0.4);
}
.sh-review-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  align-items: center;
  margin-bottom: 0.45rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.sh-review-author {
  font-weight: 600;
  color: var(--text);
}
.sh-review-verified {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}
.sh-review-body {
  margin: 0;
  line-height: 1.55;
  white-space: pre-wrap;
}
.sh-review-empty,
.sh-review-hint {
  color: var(--muted);
}
.sh-review-form-disclosure {
  margin-top: 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(16, 16, 16, 0.42);
}

.sh-review-form-disclosure__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 0.9rem;
  font-weight: 650;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.sh-review-form-disclosure__summary::-webkit-details-marker {
  display: none;
}

.sh-review-form-disclosure__summary::after {
  content: "+";
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 1rem;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.sh-review-form-disclosure[open] > .sh-review-form-disclosure__summary::after {
  content: "−";
}

.sh-review-form-disclosure[open] > .sh-review-form-disclosure__summary {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sh-review-form {
  margin: 0;
  padding: 0.85rem 0.9rem 1rem;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.sh-review-fields {
  display: grid;
  gap: 0.75rem;
}
.sh-review-fields label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.88rem;
}
.sh-review-fields input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.sh-review-fields textarea {
  width: 100%;
  border-radius: var(--control-radius, 10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 10, 10, 0.7);
  color: var(--text);
  padding: 0.55rem 0.7rem;
  outline: none;
}
.sh-review-fields input:focus-visible,
.sh-review-fields textarea:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
.sh-review-fields textarea {
  min-height: 7rem;
  resize: vertical;
}
.sh-review-rating-field {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.9rem;
}
.sh-review-rating-field legend {
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
}
.sh-review-rating-field label {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.3rem;
}
.sh-review-honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
.sh-review-flash {
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  margin: 0 0 1rem;
}
.sh-review-flash--ok {
  background: rgba(70, 180, 110, 0.15);
  color: #8ee0a8;
}
.sh-review-flash--err {
  background: rgba(200, 70, 70, 0.15);
  color: #f0a0a0;
}

.sh-account-order-meta {
  margin-bottom: 1.25rem;
}
.sh-account-order-addresses {
  display: grid;
  gap: 1rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 1.25rem;
}
.sh-table tfoot td {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.sh-text-right {
  text-align: right;
}

/* Carosello sottocategorie (solo figli diretti della categoria corrente) */
.sh-subcat-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.875rem;
}

.sh-subcat-carousel__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(16, 16, 16, 0.75);
  color: var(--text);
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.sh-subcat-carousel__btn:hover:not(:disabled) {
  border-color: rgba(127, 240, 228, 0.55);
  color: #7ff0e4;
}

.sh-subcat-carousel__btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.sh-subcat-carousel__viewport {
  overflow-x: hidden;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  padding: 0.25rem 0.15rem;
}

.sh-subcat-carousel__track {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.sh-subcat-card {
  flex: 0 0 auto;
  width: clamp(7.5rem, 18vw, 11.25rem);
  scroll-snap-align: start;
  display: block;
  text-decoration: none;
  color: var(--text);
}

.sh-subcat-card:hover .sh-subcat-card__media,
.sh-subcat-card:focus-visible .sh-subcat-card__media {
  border-color: rgba(127, 240, 228, 0.45);
}

.sh-subcat-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(16, 16, 16, 0.55);
  transition: border-color 0.22s ease;
}

.sh-subcat-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sh-subcat-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0.65rem;
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.3;
  font-weight: 600;
  color: var(--muted);
}

.sh-subcat-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem;
  background: rgba(0, 0, 0, 0.88);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  pointer-events: none;
}

.sh-subcat-card:hover .sh-subcat-card__overlay,
.sh-subcat-card:focus-visible .sh-subcat-card__overlay {
  transform: translateY(0);
}

.sh-subcat-card__title {
  font-size: 0.86rem;
  line-height: 1.3;
  font-weight: 650;
  text-align: center;
  color: #fff;
}

@media (max-width: 640px) {
  .sh-subcat-carousel__btn {
    width: 2.15rem;
    height: 2.15rem;
    font-size: 1.4rem;
  }

  .sh-subcat-card {
    width: clamp(6.75rem, 34vw, 10rem);
  }

  .sh-category-hero {
    align-items: flex-start;
  }
}

/* Carosello produttori (modulo footer_top) */
.zone-footer-top--brands .zone-modules {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sh-footer-module-band {
  padding: 1rem 1.05rem 1.05rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.sh-footer-module-band--mfr {
  background:
    linear-gradient(145deg, var(--bg-glow-soft) 0%, var(--surface-overlay) 55%, var(--surface-overlay-deep) 100%);
  border-color: var(--line);
}

/* Banda full width: sfondo edge-to-edge, contenuto alla larghezza del body */
.sh-mfr-carousel--fullwidth {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow-x: clip;
}

.sh-mfr-carousel--fullwidth .sh-mfr-carousel__band {
  background: var(
    --mfr-band-bg,
    linear-gradient(180deg, color-mix(in srgb, var(--bg-glow-soft) 85%, var(--bg)) 0%, var(--surface-overlay-deep) 100%)
  );
  border-block: 1px solid var(--line);
  padding: 1.15rem 0 1.25rem;
}

.sh-mfr-carousel--custom-band.sh-mfr-carousel--fullwidth .sh-mfr-carousel__band {
  background: var(--mfr-band-bg);
  border-color: color-mix(in srgb, var(--mfr-band-bg) 65%, var(--line));
}

.sh-mfr-carousel--fullwidth .sh-mfr-carousel__inner {
  width: min(100% - var(--layout-gutter, 2rem), var(--max, 72rem));
  max-width: var(--max, 72rem);
  margin-inline: auto;
  padding-inline: max(1rem, calc(var(--layout-gutter, 2rem) / 2));
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.sh-mfr-carousel--grayscale-logos .sh-mfr-carousel-card__inner {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.1);
}

.sh-mfr-carousel--grayscale-logos .sh-mfr-carousel-card__inner[data-tone="dark"],
.sh-mfr-carousel--grayscale-logos .sh-mfr-carousel-card__inner[data-tone="light"],
.sh-mfr-carousel--grayscale-logos .sh-mfr-carousel-card__inner[data-tone="neutral"] {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.1);
}

.sh-mfr-carousel--grayscale-logos .sh-mfr-carousel-card__logo {
  filter: grayscale(1);
}

.sh-mfr-carousel--grayscale-logos .sh-mfr-carousel-card:hover .sh-mfr-carousel-card__inner {
  border-color: rgba(0, 0, 0, 0.22);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.sh-footer-module-band--products {
  background:
    linear-gradient(145deg, var(--bg-glow-soft) 0%, rgba(14, 14, 14, 0.58) 50%, rgba(10, 10, 10, 0.75) 100%);
  border-color: var(--line);
}

/* Schede catalogo footer: banda orizzontale edge-to-edge */
.sh-footer-spotlight--fullwidth {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow-x: clip;
}

.sh-footer-spotlight--fullwidth .sh-footer-spotlight__band {
  background:
    linear-gradient(145deg, var(--bg-glow-soft) 0%, rgba(14, 14, 14, 0.58) 50%, rgba(10, 10, 10, 0.75) 100%);
  border-block: 1px solid var(--line);
  padding: 1.05rem 0 1.1rem;
}

.sh-footer-spotlight--fullwidth.sh-footer-spotlight--custom-band .sh-footer-spotlight__band {
  background: var(--spotlight-band-bg);
  border-color: color-mix(in srgb, var(--spotlight-band-bg) 65%, var(--line));
}

.sh-footer-spotlight--fullwidth .sh-footer-spotlight__inner {
  width: min(100% - var(--layout-gutter, 2rem), var(--max, 72rem));
  max-width: var(--max, 72rem);
  margin-inline: auto;
  padding-inline: max(1rem, calc(var(--layout-gutter, 2rem) / 2));
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.mod-manufacturer-carousel {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.sh-mfr-carousel__head--link-only {
  justify-content: flex-end;
}

.sh-mfr-carousel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.sh-mfr-carousel__title {
  margin: 0;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.sh-mfr-carousel__all {
  font-size: 0.86rem;
  color: rgba(127, 240, 228, 0.85);
  text-decoration: none;
}

.sh-mfr-carousel__all:hover {
  color: #7ff0e4;
}

.sh-mfr-carousel__controls {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.45rem;
}

.sh-mfr-carousel__btn {
  flex: 0 0 auto;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(16, 16, 16, 0.65);
  color: var(--text);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.sh-mfr-carousel__btn:hover:not(:disabled) {
  border-color: rgba(127, 240, 228, 0.45);
  color: #7ff0e4;
}

.sh-mfr-carousel__btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.sh-mfr-carousel__viewport {
  overflow-x: hidden;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  padding: 0.2rem 0.1rem;
}

.sh-mfr-carousel__track {
  display: flex;
  gap: 0.55rem;
  align-items: stretch;
}

.sh-mfr-carousel-card {
  flex: 0 0 auto;
  width: clamp(6.5rem, 16vw, 8.75rem);
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
}

.sh-mfr-carousel-card__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.25rem;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.sh-mfr-carousel-card__inner[data-tone="light"] {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.35);
}

.sh-mfr-carousel-card__inner[data-tone="dark"] {
  background: linear-gradient(165deg, rgba(22, 28, 38, 0.98) 0%, rgba(10, 12, 18, 0.98) 100%);
  border-color: rgba(255, 255, 255, 0.14);
}

.sh-mfr-carousel-card__inner[data-tone="neutral"] {
  background: linear-gradient(165deg, rgba(36, 44, 58, 0.85) 0%, rgba(18, 22, 30, 0.9) 100%);
}

.sh-mfr-carousel-card:hover .sh-mfr-carousel-card__inner {
  border-color: rgba(248, 176, 0, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.sh-mfr-carousel-card__logo {
  display: block;
  max-width: 100%;
  max-height: 2.65rem;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 640px) {
  .sh-mfr-carousel__btn {
    width: 2.1rem;
    height: 2.1rem;
    font-size: 1.3rem;
  }

  .sh-mfr-carousel-card {
    width: clamp(5.75rem, 38vw, 7.5rem);
  }
}

/* Footer: tab ultimi prodotti / promozioni */
.mod-shop-spotlight {
  margin-top: 0;
}

.sh-footer-spotlight {
  margin-top: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.sh-footer-spotlight__head--link-only {
  justify-content: flex-end;
}

.sh-footer-spotlight__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.65rem;
}

.sh-footer-spotlight__title {
  margin: 0;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.sh-footer-spotlight__all {
  flex-shrink: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.sh-footer-spotlight__all:hover {
  text-decoration: underline;
}

.sh-footer-spotlight .sh-detail-suggest__tabs {
  max-width: 28rem;
}

.sh-footer-spotlight__grid {
  display: grid;
  gap: 0.4rem;
  grid-template-columns: repeat(var(--spotlight-cols, 5), minmax(0, 1fr));
  align-items: stretch;
}

.sh-footer-spotlight__grid .sh-mini-card {
  height: 100%;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(10, 10, 10, 0.55);
}

.sh-footer-spotlight__grid .sh-mini-card-link {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0.4rem;
  padding: 0.45rem 0.5rem;
  height: 100%;
  min-height: 3.75rem;
  align-items: center;
  text-align: left;
  color: inherit;
  text-decoration: none;
}

.sh-footer-spotlight__grid .sh-mini-card-media {
  width: 44px;
  height: 44px;
  margin: 0;
  flex-shrink: 0;
  border-radius: 8px;
}

.sh-footer-spotlight__grid .sh-mini-card-body {
  min-width: 0;
}

.sh-footer-spotlight__grid .sh-mini-card-title {
  font-size: 0.76rem;
  line-height: 1.28;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sh-footer-spotlight__grid .sh-mini-card-price {
  margin: 0.15rem 0 0;
  font-size: 0.74rem;
}

.sh-footer-spotlight__grid .sh-mini-card-rating {
  margin: 0.1rem 0 0;
  font-size: 0.7rem;
}

@media (max-width: 900px) {
  .sh-footer-spotlight__grid {
    grid-template-columns: repeat(var(--spotlight-cols, 5), minmax(9.25rem, 1fr));
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding-bottom: 0.15rem;
    scrollbar-width: thin;
  }
}

@media (max-width: 640px) {
  .sh-footer-spotlight .sh-detail-suggest__tabs {
    max-width: none;
  }
}

/* Etichette filtro catalogo (bandina, badge, banner scheda) */
.sh-filter-ribbon {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 4;
}

.sh-filter-ribbon__band {
  position: absolute;
  left: var(--sh-filter-ribbon-left, 50%);
  top: var(--sh-filter-ribbon-top, 32%);
  width: 150%;
  transform: translate(-50%, -50%) rotate(var(--sh-filter-ribbon-angle, -34deg));
  transform-origin: center;
  text-align: center;
  padding: 0.35rem 0.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.sh-filter-ribbon__text {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sh-filter-badges {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
  z-index: 5;
  pointer-events: none;
  max-width: calc(100% - 1rem);
}

.sh-filter-badge {
  display: inline-block;
  max-width: 100%;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

.sh-mini-card-media .sh-filter-badges {
  top: 0.35rem;
  right: 0.35rem;
}

.sh-mini-card-media .sh-filter-ribbon__band {
  padding: 0.2rem 0.35rem;
}

.sh-mini-card-media .sh-filter-ribbon__text {
  font-size: 0.55rem;
}

.sh-detail-preview-wrap {
  position: relative;
  width: 100%;
}

.sh-detail-preview {
  position: relative;
}

.sh-filter-banners {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.sh-detail-main > .sh-filter-banners {
  margin-top: 1.25rem;
}

.sh-filter-banner {
  border-radius: 12px;
  padding: 0.75rem 0.95rem;
}

.sh-filter-banner__layout {
  position: relative;
  min-height: 2.5rem;
}

.sh-filter-banner__icon {
  position: absolute;
  left: var(--sh-banner-icon-x, 10%);
  top: var(--sh-banner-icon-y, 50%);
  transform: translate(-50%, -50%);
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}

.sh-filter-banner__icon .dev74-glyph {
  font-size: 2rem;
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 32;
}

.sh-filter-banner__icon .cat-clip {
  display: flex;
  width: 100%;
  height: 100%;
}

.sh-filter-banner__icon .cat-clip svg {
  width: 100%;
  height: 100%;
}

.sh-filter-banner__content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.25rem;
}

.sh-filter-banner--has-icon .sh-filter-banner__content {
  padding-left: clamp(2.5rem, 12vw, 3.25rem);
}

.sh-filter-banner__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.sh-filter-banner__text {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.45;
  opacity: 0.95;
}

.sh-inquiry {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.sh-inquiry[hidden] {
  display: none;
}

.sh-inquiry__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 7, 8, 0.72);
}

.sh-inquiry__panel {
  position: relative;
  width: min(34rem, 100%);
  padding: 1.35rem 1.35rem 1.15rem;
  border-radius: 16px;
  background: var(--surface, #121416);
  color: var(--text);
  border: 1px solid color-mix(in srgb, var(--text) 14%, transparent);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.sh-inquiry__panel h2 {
  margin: 0;
  font-size: 1.25rem;
}

.sh-inquiry__product {
  margin: 0.35rem 0 0;
  color: color-mix(in srgb, var(--text) 72%, transparent);
}

.sh-inquiry__form {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.sh-inquiry__field {
  display: grid;
  gap: 0.35rem;
}

.sh-inquiry__field label {
  font-weight: 600;
}

.sh-inquiry__field textarea,
.sh-inquiry__field input {
  width: 100%;
  font: inherit;
  color: inherit;
  background: color-mix(in srgb, var(--text) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--text) 16%, transparent);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
}

.sh-inquiry__status {
  margin: 0;
}

.sh-inquiry__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
