/* SSM Lieferzeiten. Farben über Variablen, ein Theme kann sie überschreiben (:root { --ssm-lz-akzent: … }). */
.ssm-lz, .ssm-lz-produkt, .ssm-lz-versand {
  --ssm-lz-akzent: #962f2b;
  --ssm-lz-text: #262626;
  --ssm-lz-leise: #6b6560;
  --ssm-lz-linie: #e6e1d8;
  --ssm-lz-flaeche: #faf7f1;
  --ssm-lz-ton: #f4ece1;
  --ssm-lz-gewaehlt: #fffaf8;
}

/* Zeile in Kasse und Warenkorb. Themes setzen in Summenzeilen oft white-space:nowrap und text-align:right,
   im mobilen Warenkorb ein td::before mit data-title. Die Zeile bringt ihre Gegenregeln selbst mit. */
tr.ssm-lz-zeile > td {
  padding: 14px 16px !important;
  text-align: left !important;
  white-space: normal !important;
  border-top: 1px solid var(--ssm-lz-linie, #e6e1d8);
}
tr.ssm-lz-zeile > td::before { content: none !important; display: none !important; }
.ssm-lz { display: flex; gap: 12px; align-items: flex-start; text-align: left; font-size: 15px; line-height: 1.4; color: var(--ssm-lz-text); min-width: 0; }
.ssm-lz-inhalt { flex: 1 1 auto; min-width: 0; }
.ssm-lz-ico { flex: 0 0 36px; height: 36px; border-radius: 50%; background: var(--ssm-lz-ton); color: var(--ssm-lz-akzent); display: flex; align-items: center; justify-content: center; }
.ssm-lz-lab { font-size: 13px; color: var(--ssm-lz-leise); margin: 0 0 1px; font-weight: 400; }
.ssm-lz-datum { font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.ssm-lz-sub { font-size: 13px; color: var(--ssm-lz-leise); margin-top: 2px; font-weight: 400; }
.ssm-lz-sub a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.ssm-lz-optionen { margin: 8px 0 2px; display: flex; flex-direction: column; gap: 8px; padding: 0; float: none; width: auto; }
.ssm-lz label.ssm-lz-opt { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 1px 10px; align-items: baseline; border: 1px solid var(--ssm-lz-linie); border-radius: 8px; padding: 10px 12px; background: #fff; cursor: pointer; margin: 0; line-height: 1.3; font-weight: 400; width: auto; float: none; }
.ssm-lz label.ssm-lz-opt.is-gewaehlt { border-color: var(--ssm-lz-akzent); background: var(--ssm-lz-gewaehlt); box-shadow: 0 0 0 1px var(--ssm-lz-akzent) inset; }
.ssm-lz label.ssm-lz-opt input[type="radio"] { grid-row: 1; grid-column: 1; margin: 0; position: static !important; width: auto; height: auto; float: none; accent-color: var(--ssm-lz-akzent); align-self: center; opacity: 1; }
.ssm-lz-opt .ssm-lz-n { grid-row: 1; grid-column: 2; font-weight: 600; font-size: 14.5px; }
.ssm-lz-opt .ssm-lz-p { grid-row: 1; grid-column: 3; font-size: 13.5px; color: var(--ssm-lz-leise); white-space: nowrap; font-weight: 400; }
.ssm-lz-opt .ssm-lz-d { grid-row: 2; grid-column: 2 / 4; font-weight: 700; font-size: 15.5px; line-height: 1.35; margin-top: 2px; }
.ssm-lz-opt .ssm-lz-r { grid-row: 3; grid-column: 2 / 4; font-size: 12.5px; color: var(--ssm-lz-leise); line-height: 1.35; font-weight: 400; }
.ssm-lz-opt .ssm-lz-r2 { grid-row: 4; grid-column: 2 / 4; font-size: 12.5px; color: var(--ssm-lz-leise); line-height: 1.4; font-weight: 400; margin-top: 4px; -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
.ssm-lz-info { margin-top: 6px; font-size: 13px; color: var(--ssm-lz-leise); }
.ssm-lz-info summary { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; list-style: none; }
.ssm-lz-info summary::-webkit-details-marker { display: none; }
.ssm-lz-info summary span { text-decoration: underline; text-underline-offset: 2px; }
.ssm-lz-info p { margin: 8px 0 0; padding: 10px 12px; border-radius: 6px; background: var(--ssm-lz-flaeche); border: 1px solid var(--ssm-lz-linie); color: var(--ssm-lz-text); line-height: 1.5; -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }

/* Produktseite */
.ssm-lz-produkt { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0 4px; padding: 14px 16px; border: 1px solid var(--ssm-lz-linie); border-radius: 8px; background: #fff; max-width: 440px; font-size: 15px; line-height: 1.4; color: var(--ssm-lz-text); box-sizing: border-box; }
.ssm-lz-produkt[hidden] { display: none; }
.ssm-lz-produkt .ssm-lz-lab { font-size: 14px; }
.ssm-lz-produkt .ssm-lz-lab label { display: inline; margin: 0; font: inherit; color: inherit; }
.ssm-lz-produkt .ssm-lz-datum { font-size: 16px; margin-top: 2px; }
.ssm-lz-produkt .ssm-lz-sub { margin-top: 6px; }
.ssm-lz-ex { margin-top: 6px; font-size: 13.5px; color: var(--ssm-lz-leise); line-height: 1.4; }
.ssm-lz-ex b { color: var(--ssm-lz-text); }
.ssm-lz-nowrap { white-space: nowrap; }
select.ssm-lz-land { font: inherit; color: var(--ssm-lz-text); border: 0; border-bottom: 1px solid var(--ssm-lz-text); background-color: transparent; padding: 0 16px 0 0; margin: 0; -webkit-appearance: none; appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 7px) 55%, calc(100% - 3px) 55%; background-size: 4px 4px, 4px 4px; background-repeat: no-repeat; height: auto; width: auto; max-width: 100%; min-height: 0; box-shadow: none; border-radius: 0; display: inline; line-height: inherit; }

/* Versandseite */
.ssm-lz-versand { color: var(--ssm-lz-text); font-size: 16px; line-height: 1.5; margin: 10px 0 30px; }
.ssm-lz-tab-wrap { max-width: 100%; }
.ssm-lz-tab { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--ssm-lz-linie); border-radius: 8px; overflow: hidden; background: #fff; margin: 0; }
.ssm-lz-tab th { background: var(--ssm-lz-flaeche); text-align: left; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--ssm-lz-leise); padding: 12px 16px; border: 0; border-bottom: 1px solid var(--ssm-lz-linie); font-weight: 600; }
.ssm-lz-tab td { padding: 16px; border: 0; border-bottom: 1px solid var(--ssm-lz-linie); vertical-align: top; text-align: left; }
.ssm-lz-tab tbody tr:last-child td { border-bottom: 0; }
.ssm-lz-zone { font-weight: 700; font-size: 17px; }
.ssm-lz-stark { font-weight: 700; }
.ssm-lz-klein { color: var(--ssm-lz-leise); font-size: 14px; margin-top: 3px; }
.ssm-lz-tab td.ssm-lz-d { font-weight: 700; color: var(--ssm-lz-akzent); }
.ssm-lz-versand:not(.ssm-lz-bereit) .ssm-lz-js { visibility: hidden; }
.ssm-lz-kaesten { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.ssm-lz-kasten { border: 1px solid var(--ssm-lz-linie); border-radius: 8px; padding: 14px 16px; background: var(--ssm-lz-flaeche); font-size: 15px; }
.ssm-lz-kasten b { display: block; margin-bottom: 2px; font-weight: 700; }

/* Schmal: Tabelle als Karten, nie breiter als der Bildschirm. */
@media (max-width: 760px) {
  .ssm-lz-tab, .ssm-lz-tab tbody, .ssm-lz-tab tr, .ssm-lz-tab td { display: block; width: 100%; box-sizing: border-box; }
  .ssm-lz-tab thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ssm-lz-tab tr { border-bottom: 1px solid var(--ssm-lz-linie); padding: 6px 0; }
  .ssm-lz-tab tbody tr:last-child { border-bottom: 0; }
  .ssm-lz-tab td { border: 0; padding: 6px 16px; }
  .ssm-lz-tab td:not(:first-child)::before { content: attr(data-label); display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--ssm-lz-leise); font-weight: 600; }
  .ssm-lz-produkt { max-width: none; }
}
