/* Ortica Shop - stili della vetrina. Tutto è limitato a #osh-shop per non interferire con il tema. */

#osh-shop {
  --osh-accent: #435c46;
  --osh-border: #dcdcdc;
  --osh-muted: #6b6b6b;
  --osh-danger: #b00020;
  box-sizing: border-box;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 12px 80px;
  color: #222;
  font-size: 16px;
  line-height: 1.5;
}

#osh-shop *,
#osh-shop *::before,
#osh-shop *::after {
  box-sizing: border-box;
}

#osh-shop .osh-hidden,
#osh-shop [hidden] {
  display: none !important;
}

/* ------------------------------------------------------------------ messaggi */
#osh-shop .osh-msg {
  margin: 12px 0;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.4;
}

#osh-shop .osh-msg-warn {
  background: #fff3cd;
  border: 1px solid #e0c25a;
  color: #5c4a00;
}

#osh-shop .osh-msg-err {
  background: #fdecea;
  border: 1px solid #f1aeb5;
  color: var(--osh-danger);
}

/* ------------------------------------------------------------------- filtri */
#osh-shop .osh-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}

#osh-shop .osh-filter {
  padding: 6px 14px;
  border: 1px solid var(--osh-border);
  border-radius: 999px;
  background: #fff;
  color: #333;
  font-size: 14px;
  cursor: pointer;
}

#osh-shop .osh-filter.is-active {
  border-color: var(--osh-accent);
  background: var(--osh-accent);
  color: #fff;
}

/* ------------------------------------------------------------------ prodotti */
#osh-shop .osh-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

#osh-shop .osh-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--osh-border);
  border-radius: 10px;
  background: #fff;
}

#osh-shop .osh-card.is-soldout .osh-card-img img {
  opacity: .55;
}

#osh-shop .osh-card-img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #eee;
  overflow: hidden;
}

/* slide: scorrono in orizzontale (anche con il dito), una per volta */
#osh-shop .osh-slides {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

#osh-shop .osh-slides::-webkit-scrollbar {
  display: none;
}

#osh-shop .osh-slide {
  display: block;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  cursor: zoom-in;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

#osh-shop .osh-card-img.osh-noimg {
  cursor: default;
}

#osh-shop .osh-card-img img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
}

#osh-shop .osh-prev,
#osh-shop .osh-next {
  position: absolute;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-height: 0;
  margin: -17px 0 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
  color: #222;
  line-height: 1;
  cursor: pointer;
  opacity: .9;
  transition: opacity .15s, background .15s;
}

#osh-shop .osh-prev { left: 8px; }
#osh-shop .osh-next { right: 8px; }

#osh-shop .osh-prev:hover,
#osh-shop .osh-next:hover,
#osh-shop .osh-prev:focus-visible,
#osh-shop .osh-next:focus-visible {
  background: #fff;
  opacity: 1;
}

#osh-shop .osh-dots {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

#osh-shop .osh-dot {
  position: relative;
  width: 20px;
  height: 20px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  pointer-events: auto;
  cursor: pointer;
}

#osh-shop .osh-dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .65);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .3);
  transition: transform .15s, background .15s;
}

#osh-shop .osh-dot[aria-current="true"]::after {
  background: #fff;
  transform: scale(1.3);
}

#osh-shop .osh-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 14px;
}

#osh-shop .osh-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 4px;
}

#osh-shop .osh-title {
  min-width: 0;
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 1.3;
}

#osh-shop .osh-title-row .osh-title {
  margin: 0;
}

/* icona «i»: apre la finestra con descrizione completa e immagini */
#osh-shop .osh-info-btn {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  min-height: 0;
  margin: -3px -4px 0 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  box-shadow: none;
  color: var(--osh-accent);
  line-height: 1;
  cursor: pointer;
  transition: background .15s, color .15s;
}

#osh-shop .osh-info-btn:hover,
#osh-shop .osh-info-btn:focus-visible {
  background: var(--osh-accent);
  color: #fff;
}

#osh-shop .osh-info-btn:focus-visible {
  outline: 2px solid var(--osh-accent);
  outline-offset: 2px;
}

#osh-shop .osh-code {
  color: var(--osh-muted);
  font-size: 13px;
}

#osh-shop .osh-desc {
  margin: 8px 0;
  font-size: 14px;
}

#osh-shop .osh-desc p {
  margin: 0 0 .5em;
}

#osh-shop .osh-badges {
  min-height: 4px;
  margin: 4px 0;
}

#osh-shop .osh-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e9efe9;
  color: var(--osh-accent);
  font-size: 12px;
  font-weight: 600;
}

#osh-shop .osh-badge-warn {
  background: #fff3cd;
  color: #7a5b00;
}

#osh-shop .osh-buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
}

#osh-shop .osh-price {
  font-size: 20px;
  font-weight: 700;
}

#osh-shop .osh-soldout {
  color: var(--osh-muted);
  font-weight: 600;
}

#osh-shop .osh-empty-shop {
  grid-column: 1 / -1;
  color: var(--osh-muted);
}

/* ------------------------------------------------------------------ pulsanti */
#osh-shop .osh-add,
#osh-shop .osh-btn {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid var(--osh-accent);
  border-radius: 6px;
  background: var(--osh-accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  text-transform: none;
}

#osh-shop .osh-add:hover,
#osh-shop .osh-btn:hover {
  filter: brightness(1.1);
}

#osh-shop .osh-add:disabled,
#osh-shop .osh-btn:disabled {
  opacity: .6;
  cursor: not-allowed;
  filter: none;
}

#osh-shop .osh-add {
  padding: 8px 12px;
  font-size: 14px;
}

#osh-shop .osh-btn-block {
  display: block;
  width: 100%;
  margin-top: 14px;
}

#osh-shop .osh-link {
  display: block;
  width: auto;
  margin: 10px auto 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--osh-muted);
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
  box-shadow: none;
}

/* ------------------------------------------------------------------ carrello */
#osh-shop .osh-cart {
  max-width: 760px;
  margin: 40px auto 0;
  padding: 20px;
  border: 1px solid var(--osh-border);
  border-radius: 10px;
  background: #fafafa;
}

#osh-shop .osh-cart h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

#osh-shop .osh-empty {
  margin: 0;
  color: var(--osh-muted);
}

#osh-shop .osh-table {
  width: 100%;
  margin: 0 0 16px;
  border-collapse: collapse;
  background: transparent;
}

#osh-shop .osh-table td {
  padding: 8px 6px;
  border: 0;
  border-bottom: 1px solid var(--osh-border);
  background: transparent;
  vertical-align: middle;
}

#osh-shop .osh-table .osh-num {
  text-align: right;
  white-space: nowrap;
}

#osh-shop .osh-line-prod {
  display: flex;
  align-items: center;
  gap: 10px;
}

#osh-shop .osh-line-prod img {
  width: 48px;
  height: 48px;
  margin: 0;
  border-radius: 6px;
  object-fit: cover;
}

#osh-shop .osh-line-qty {
  font-size: 13px;
  color: var(--osh-muted);
  white-space: nowrap;
}

#osh-shop .osh-qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #222;
  font-size: 15px;
}

#osh-shop .osh-step,
#osh-shop .osh-remove {
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--osh-border);
  border-radius: 50%;
  background: #fff;
  color: #333;
  font-size: 16px;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  box-shadow: none;
}

#osh-shop .osh-step:disabled {
  opacity: .4;
  cursor: not-allowed;
}

#osh-shop .osh-remove {
  border-color: transparent;
  background: none;
  color: var(--osh-danger);
  font-size: 22px;
}

#osh-shop .osh-total-row td {
  border-bottom: 0;
  font-size: 18px;
  font-weight: 700;
}

/* ------------------------------------------------------------------- moduli */
#osh-shop fieldset {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}

#osh-shop legend {
  margin: 0 0 8px;
  padding: 0;
  font-size: 16px;
  font-weight: 700;
}

#osh-shop .osh-ship-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  padding: 10px 12px;
  border: 1px solid var(--osh-border);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

#osh-shop .osh-ship-opt input {
  margin: 0;
  accent-color: var(--osh-accent);
}

#osh-shop .osh-ship-name {
  flex: 1;
}

#osh-shop .osh-ship-price {
  font-weight: 600;
}

#osh-shop .osh-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
}

#osh-shop .osh-full {
  grid-column: 1 / -1;
}

#osh-shop .osh-field {
  display: block;
  margin: 0;
  font-size: 13px;
  color: var(--osh-muted);
}

#osh-shop .osh-field span {
  display: block;
  margin-bottom: 3px;
}

#osh-shop .osh-field input,
#osh-shop .osh-field textarea {
  display: block;
  width: 100%;
  margin: 0;
  padding: 9px 10px;
  border: 1px solid #c4c4c4;
  border-radius: 6px;
  background: #fff;
  color: #222;
  font-size: 15px;
  box-shadow: none;
}

#osh-shop .osh-field input:focus,
#osh-shop .osh-field textarea:focus {
  outline: 2px solid var(--osh-accent);
  outline-offset: 0;
  border-color: var(--osh-accent);
}

#osh-shop .osh-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 10px 0 0;
  font-size: 14px;
}

#osh-shop .osh-consent input {
  margin-top: 4px;
  accent-color: var(--osh-accent);
}

/* esca anti-bot: fuori dallo schermo */
#osh-shop .osh-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ----------------------------------------------------- box della carta (sotto il carrello) */
#osh-shop .osh-pay {
  clear: both;
  position: relative;
  width: 100%;
  margin-top: 14px;
  padding: 14px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}

#osh-shop .osh-pay-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
}

/* Il contenitore cresce con l'altezza decisa da Stripe: niente altezze fisse. */
#osh-shop #osh-card {
  display: block;
  position: static;
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0 0 4px;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

#osh-shop .osh-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  border-radius: 50%;
  vertical-align: -3px;
  animation: osh-spin .7s linear infinite;
}

@keyframes osh-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ------------------------------------------------------ pulsante carrello e avvisi */
#osh-shop .osh-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9990;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--osh-accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
}

#osh-shop .osh-toast {
  position: fixed;
  left: 50%;
  bottom: 76px;
  z-index: 9995;
  max-width: min(92vw, 460px);
  padding: 10px 16px;
  border-radius: 8px;
  background: #222;
  color: #fff;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity .2s, transform .2s;
}

#osh-shop .osh-toast.is-on {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

#osh-shop .osh-toast-action {
  display: block;
  margin: 6px 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: #ffd979;
  font-size: 14px;
  text-decoration: underline;
  cursor: pointer;
}

/* ----------------------------------------------------------------- lightbox */
#osh-shop .osh-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, .85);
}

#osh-shop .osh-lightbox img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  border-radius: 6px;
  touch-action: pan-y pinch-zoom;
  user-select: none;
}

#osh-shop .osh-lightbox:has(.osh-lb-prev:not(.osh-hidden)) {
  padding-right: 64px;
  padding-left: 64px;
}

#osh-shop .osh-lb-prev,
#osh-shop .osh-lb-next {
  position: absolute;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  min-height: 0;
  margin: -23px 0 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  box-shadow: none;
  color: #fff;
  cursor: pointer;
  transition: background .15s;
}

#osh-shop .osh-lb-prev { left: 10px; }
#osh-shop .osh-lb-next { right: 10px; }

#osh-shop .osh-lb-prev:hover,
#osh-shop .osh-lb-next:hover,
#osh-shop .osh-lb-prev:focus-visible,
#osh-shop .osh-lb-next:focus-visible {
  background: rgba(255, 255, 255, .32);
}

#osh-shop .osh-lb-count {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  color: #fff;
  font-size: 14px;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .6);
  pointer-events: none;
}

#osh-shop .osh-lb-close {
  position: absolute;
  top: 12px;
  right: 18px;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
}

/* ------------------------------------------- finestra «i» (descrizione + immagini) */
#osh-shop .osh-info {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, .6);
}

#osh-shop .osh-info-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  width: min(960px, 100%);
  max-height: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  color: #222;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
}

#osh-shop .osh-info-panel.osh-info-nomedia {
  grid-template-columns: minmax(0, 1fr);
  width: min(620px, 100%);
}

#osh-shop .osh-info-media {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #f1f1f1;
}

#osh-shop .osh-info-stage {
  position: relative;
  flex: 1 1 auto;
  height: min(62vh, 520px);
  min-height: 220px;
  background: #e9e9e9;
}

#osh-shop .osh-info-stage img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  touch-action: pan-y pinch-zoom;
  user-select: none;
}

#osh-shop .osh-info-prev,
#osh-shop .osh-info-next {
  position: absolute;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  min-height: 0;
  margin: -19px 0 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
  color: #222;
  line-height: 1;
  cursor: pointer;
  transition: background .15s;
}

#osh-shop .osh-info-prev { left: 8px; }
#osh-shop .osh-info-next { right: 8px; }

#osh-shop .osh-info-prev:hover,
#osh-shop .osh-info-next:hover,
#osh-shop .osh-info-prev:focus-visible,
#osh-shop .osh-info-next:focus-visible {
  background: #fff;
}

#osh-shop .osh-info-count {
  position: absolute;
  bottom: 8px;
  left: 8px;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: 12px;
  pointer-events: none;
}

#osh-shop .osh-info-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px;
}

#osh-shop .osh-info-thumb {
  width: 56px;
  height: 56px;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 6px;
  background: #ddd;
  box-shadow: none;
  line-height: 0;
  opacity: .75;
  cursor: pointer;
  transition: opacity .15s, border-color .15s;
}

#osh-shop .osh-info-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
}

#osh-shop .osh-info-thumb:hover,
#osh-shop .osh-info-thumb:focus-visible {
  opacity: 1;
}

#osh-shop .osh-info-thumb[aria-current="true"] {
  border-color: var(--osh-accent);
  opacity: 1;
}

#osh-shop .osh-info-text {
  min-width: 0;
  max-height: calc(100vh - 48px);
  padding: 24px 24px 28px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

#osh-shop .osh-info-text:focus-visible {
  outline: 2px solid var(--osh-accent);
  outline-offset: -2px;
}

#osh-shop .osh-info-title {
  margin: 0 36px 10px 0;
  font-size: 22px;
  line-height: 1.25;
}

#osh-shop .osh-info-code {
  margin: -6px 0 12px;
}

#osh-shop .osh-info-code:empty {
  display: none;
}

#osh-shop .osh-info-desc {
  font-size: 15px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

#osh-shop .osh-info-desc > :first-child { margin-top: 0; }
#osh-shop .osh-info-desc > :last-child { margin-bottom: 0; }
#osh-shop .osh-info-desc p { margin: 0 0 .9em; }
#osh-shop .osh-info-desc ul,
#osh-shop .osh-info-desc ol { margin: 0 0 .9em; padding-left: 1.4em; }
#osh-shop .osh-info-desc img,
#osh-shop .osh-info-desc video { max-width: 100%; height: auto; }

#osh-shop .osh-info-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
  color: #222;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

#osh-shop .osh-info-close:hover,
#osh-shop .osh-info-close:focus-visible {
  background: #fff;
}

/* --------------------------------------------------------- conferma d'ordine */
#osh-shop .osh-thanks-box {
  max-width: 640px;
  margin: 24px auto;
  padding: 24px;
  border: 1px solid var(--osh-border);
  border-radius: 10px;
  background: #fafafa;
}

#osh-shop .osh-thanks-box h2 {
  margin: 0 0 8px;
}

/* ------------------------------------------------------------------ mobile */
@media (max-width: 700px) {
  #osh-shop .osh-info {
    padding: 12px;
  }

  /* una sola colonna: immagini sopra, testo sotto; scorre tutta la finestra */
  #osh-shop .osh-info-panel {
    display: block;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  #osh-shop .osh-info-stage {
    height: min(46vh, 340px);
  }

  /* la × resta in alto a destra mentre la finestra scorre, senza occupare spazio */
  #osh-shop .osh-info-close {
    position: sticky;
    top: 10px;
    right: auto;
    margin: 10px 10px -46px auto;
  }

  #osh-shop .osh-info-text {
    max-height: none;
    padding: 18px 18px 22px;
    overflow: visible;
  }
}

@media (max-width: 560px) {
  #osh-shop .osh-lightbox:has(.osh-lb-prev:not(.osh-hidden)) {
    padding-right: 12px;
    padding-left: 12px;
  }

  #osh-shop .osh-lb-prev,
  #osh-shop .osh-lb-next {
    width: 40px;
    height: 40px;
    margin-top: -20px;
  }

  #osh-shop .osh-cols {
    grid-template-columns: 1fr;
  }

  #osh-shop .osh-cart {
    padding: 14px;
  }

  /* Il carrello diventa un elenco: ogni riga su due livelli, mai più larga dello schermo */
  #osh-shop .osh-table,
  #osh-shop .osh-table tbody,
  #osh-shop .osh-table tfoot {
    display: block;
    width: 100%;
  }

  #osh-shop #osh-lines tr {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 6px 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--osh-border);
  }

  #osh-shop #osh-lines td {
    padding: 0;
    border: 0;
  }

  #osh-shop #osh-lines .osh-line-prod {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  #osh-shop #osh-lines .osh-line-x {
    grid-column: 2;
    grid-row: 1;
    text-align: right;
  }

  #osh-shop #osh-lines .osh-line-qty {
    grid-column: 1;
    grid-row: 2;
  }

  #osh-shop #osh-lines .osh-num {
    grid-column: 2;
    grid-row: 2;
  }

  #osh-shop #osh-foot tr {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--osh-border);
  }

  #osh-shop #osh-foot td {
    padding: 0;
    border: 0;
  }
}
