/* 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(14, 18, 26, 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(8, 12, 18, 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__media {
  width: 100%;
  max-height: 220px;
  aspect-ratio: 21 / 6;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(14, 18, 26, 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%;
  min-height: 120px;
  padding: 1rem 1.5rem;
  text-align: center;
  font-size: clamp(1.1rem, 2.5vw, 1.65rem);
  font-weight: 650;
  color: var(--muted);
  letter-spacing: 0.02em;
}

@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(14, 18, 26, 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: flex-start;
  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(14, 18, 26, 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;
  padding: 0.2rem 0;
  font-size: 0.88rem;
  line-height: 1.35;
  text-decoration: none;
  color: var(--text);
}

.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(14, 18, 26, 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(8, 12, 18, 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(8, 12, 18, 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__tools {
  justify-content: flex-start;
}

.sh-grid--list .sh-card-footer__commerce {
  align-items: flex-end;
}

@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(14, 18, 26, 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(8, 12, 18, 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%, rgba(61, 214, 198, 0.18), transparent 55%),
    rgba(8, 12, 18, 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;
  color: var(--accent);
  text-align: right;
}

.sh-card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  padding: 0.35rem 1rem 1rem;
  margin-top: auto;
}

.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.14);
  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 {
  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(14, 18, 26, 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: rgba(61, 214, 198, 0.1);
}

.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(8, 12, 18, 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;
}

.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(8, 12, 18, 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%, rgba(61, 214, 198, 0.16), transparent 55%),
    rgba(8, 12, 18, 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(14, 18, 26, 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(8, 12, 18, 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(14, 18, 26, 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: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin: 1.25rem 0 0;
}

.sh-detail-price-bar__brand {
  flex: 0 1 auto;
  min-width: 0;
}

.sh-detail-price-bar__price {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
  text-align: right;
}

.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;
}

.sh-detail-action-bar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
}

.sh-detail-action-bar .sh-option-qty {
  flex-shrink: 0;
  margin: 0;
}

.sh-detail-action-bar .sh-inline-form {
  flex-shrink: 0;
  margin: 0;
}

.sh-detail-cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  white-space: nowrap;
  flex: 1 1 auto;
  min-width: 0;
}

.sh-detail-cart-btn__icon {
  display: inline-flex;
  line-height: 0;
  flex-shrink: 0;
}

.sh-detail-action-bar .sh-tool-btn {
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1rem;
}

.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: rgba(61, 214, 198, 0.18);
  border-color: rgba(61, 214, 198, 0.4);
  color: var(--accent);
}

.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(14, 18, 26, 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 {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(8, 12, 18, 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 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-cover {
  width: 120px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(8, 12, 18, 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%, rgba(61, 214, 198, 0.18), transparent 55%),
    rgba(8, 12, 18, 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-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;
}
.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;
}
@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;
  gap: 1rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.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(14, 18, 26, 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(14, 18, 26, 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(8, 12, 18, 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(14, 18, 26, 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(9.5rem, 22vw, 12.5rem);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--text);
}

.sh-subcat-card:hover {
  color: #7ff0e4;
}

.sh-subcat-card__media {
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(14, 18, 26, 0.55);
}

.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__title {
  font-size: 0.88rem;
  line-height: 1.3;
  text-align: center;
}

@media (max-width: 640px) {
  .sh-subcat-carousel__btn {
    width: 2.15rem;
    height: 2.15rem;
    font-size: 1.4rem;
  }

  .sh-subcat-card {
    width: clamp(8.5rem, 40vw, 11rem);
  }
}

