/* sogo/look – Shop the Look (Snocks-Muster, NEU-74 Runde 3). Quelle: Markenseite-Main.dc.html (.m-look-*, .m-dot, .m-karte). */
.sg-look { font-variant-numeric: tabular-nums; }
.sg-look * { box-sizing: border-box; }
.sg-look p { margin: 0; }
.sg-look-kopf { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin: 0 0 24px; padding: 0 max(var(--rand), calc((100% - var(--breite)) / 2)); }
.sg-look-kopf h2 { margin: 0 0 6px; }
.sg-look-kopf p { font-size: 16px; line-height: 1.45; color: var(--text-leise); max-width: 36em; }
.sg-look-kopf-r { display: flex; align-items: center; gap: 8px; flex: none; }
.sg-look-pfeil { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--linie-bedienung); background: var(--weiss); color: var(--welt); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.sg-look-pfeil:hover { border-color: var(--welt); }
.sg-look-pfeil.is-aus { opacity: .35; cursor: default; }
.sg-look-pfeil svg { width: 20px; height: 20px; }
/* Leiste: beginnt an der Inhaltsbreite, läuft rechts bis zum Rand */
.sg-look-schiene { overflow: hidden; padding-left: max(var(--rand), calc((100% - var(--breite)) / 2)); }
.sg-look-leiste { display: grid; grid-auto-flow: column; grid-auto-columns: 440px; gap: 16px; transition: transform .35s ease; align-items: start; }
.sg-look-foto { margin: 0; }
.sg-look-buehne { position: relative; }
.sg-look-buehne .wp-block-image { margin: 0; }
.sg-look-buehne img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; background: var(--sand); border-radius: 4px; }
.sg-look-foto figcaption, .sg-look-zeile { font-size: 13px; line-height: 1.4; color: var(--welt); margin: 8px 0 0; padding-right: 8px; text-align: left; }
.sg-look-dot { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.sg-look-dot::before { content: ''; width: 26px; height: 26px; border-radius: 50%; background: rgb(255 255 255 / 92%); box-shadow: 0 1px 6px rgb(0 0 0 / 30%); transition: transform .2s ease; }
.sg-look-dot::after { content: ''; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--welt); }
.sg-look-dot:hover::before, .sg-look-dot[aria-pressed="true"]::before { transform: scale(1.15); }
.sg-look-dot[aria-pressed="true"]::after { background: var(--akzent-text, var(--welt)); }
.sg-look-karte { position: absolute; left: 12px; right: 12px; bottom: 12px; display: grid; grid-template-columns: 72px minmax(0, 1fr) 36px; gap: 12px; align-items: center; padding: 12px; background: var(--weiss); border-radius: var(--radius); box-shadow: 0 4px 16px rgb(0 0 0 / 18%); text-align: left; }
.sg-look-karte[hidden] { display: none; }
.sg-look-karte img { width: 72px; height: 72px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 4px; border: 1px solid var(--linie); display: block; }
.sg-look-karte strong { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; color: var(--text); }
.sg-look-karte small { display: block; font-size: 12px; line-height: 1.35; color: var(--text-leise); }
.sg-look-karte em { display: block; font-weight: 600; font-size: 15px; line-height: 1.2; font-style: normal; margin-top: 4px; color: var(--text); }
.sg-look-karte em small { display: inline; font-weight: 400; }
.sg-look-karte a { display: inline-flex; align-items: center; min-height: var(--hoehe-ziel); font-weight: 600; font-size: 13px; line-height: 1; text-decoration: underline; text-underline-offset: 3px; color: var(--welt); }
.sg-look-karte .sg-look-zu { width: 44px; height: 44px; margin: -8px -8px 0 0; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--welt); cursor: pointer; font-size: 18px; line-height: 1; align-self: start; display: flex; align-items: center; justify-content: center; }
.sg-look-karte .sg-look-zu::before { content: '×'; width: 28px; height: 28px; border-radius: 50%; background: var(--greige); display: flex; align-items: center; justify-content: center; }
/* Ohne JavaScript: keine Punkte und Pfeile, Karten als Liste unter dem Foto, Leiste nativ scrollbar */
.sg-look:not(.is-js) .sg-look-dot, .sg-look:not(.is-js) .sg-look-pfeil, .sg-look:not(.is-js) .sg-look-zu { display: none; }
.sg-look:not(.is-js) .sg-look-karte { position: static; display: grid; box-shadow: none; border: 1px solid var(--linie); margin-top: 8px; }
.sg-look:not(.is-js) .sg-look-schiene { overflow-x: auto; padding-bottom: 8px; }
@media (max-width: 767.98px) {
  .sg-look-kopf { flex-direction: column; align-items: flex-start; margin-bottom: 16px; }
  .sg-look-pfeil { display: none; }
  .sg-look-schiene { overflow-x: auto; scroll-snap-type: x mandatory; padding-left: var(--rand); scrollbar-width: none; }
  .sg-look-schiene::-webkit-scrollbar { display: none; }
  .sg-look-leiste { grid-auto-columns: 78%; gap: 10px; transform: none !important; }
  .sg-look-foto { scroll-snap-align: start; }
  .sg-look-karte { grid-template-columns: 56px minmax(0, 1fr) 36px; gap: 10px; padding: 10px; }
  .sg-look-karte img { width: 56px; height: 56px; }
}

/* Alles aus diesem Zimmer (NEU-88, Canvas Variante B): Knopf unter dem Foto, Fenster am Desktop rechts, mobil von unten */
.sg-zim-auf { display: none; width: 100%; margin-top: 12px; min-height: 48px; padding: 0 16px; justify-content: space-between; align-items: center; gap: 12px; border: 1px solid var(--welt); border-radius: var(--radius); background: var(--weiss); color: var(--welt); font-weight: 600; font-size: 15px; line-height: 1.2; text-align: left; cursor: pointer; }
.sg-zim-auf span { font-weight: 400; color: var(--text-leise); white-space: nowrap; }
.sg-zim-auf:hover { border-color: var(--welt-hover); background: var(--papier); }
.sg-look.mit-zimmer .sg-zim-auf { display: flex; }
.sg-zim { position: fixed; inset: 0 0 0 auto; width: min(480px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: var(--weiss); color: var(--text); box-shadow: -8px 0 24px rgb(0 0 0 / 16%); font-variant-numeric: tabular-nums; }
.sg-zim::backdrop { background: rgb(30 35 43 / 40%); }
.sg-zim-form { display: flex; flex-direction: column; height: 100%; margin: 0; }
.sg-zim-griff { display: none; }
.sg-zim-kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 28px 28px 16px; border-bottom: 1px solid var(--linie); }
.sg-zim-kopf h3 { margin: 0; font-size: 24px; line-height: 1.2; color: var(--welt); }
.sg-zim-kopf p { margin: 6px 0 0; font-size: 14px; line-height: 1.45; color: var(--text-leise); }
.sg-zim-zu { width: 44px; height: 44px; flex: none; padding: 0; border: 0; border-radius: 50%; background: var(--greige); color: var(--welt); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.sg-zim-zu::before { content: '×'; font-size: 24px; line-height: 1; }
.sg-zim-liste { flex: 1; overflow: auto; padding: 4px 28px; }
.sg-zim-gemeinsam { display: flex; gap: 10px; align-items: center; min-height: 44px; padding-top: 8px; font-size: 14px; line-height: 1.4; cursor: pointer; }
.sg-zim-gemeinsam[hidden] { display: none; }
.sg-zim-gemeinsam input, .sg-zim-zeile input[type="checkbox"] { width: 22px; height: 22px; margin: 0; accent-color: var(--welt); cursor: pointer; }
.sg-zim-zeile { display: grid; grid-template-columns: 44px 64px minmax(0, 1fr); gap: 8px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--linie); }
.sg-zim-haken { width: 44px; height: 44px; margin-top: 10px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.sg-zim-zeile input[type="checkbox"]:disabled { cursor: default; }
.sg-zim .sg-zim-zeile img { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; border: 1px solid var(--linie); background: var(--papier); display: block; }
.sg-zim-zeile.is-aus img, .sg-zim-zeile.is-aus .sg-zim-name, .sg-zim-zeile.is-aus .sg-zim-sub { opacity: .5; }
.sg-zim-info { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sg-zim-name { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sg-zim-name label { font-weight: 600; font-size: 15px; line-height: 1.3; cursor: pointer; }
.sg-zim-name b { font-weight: 600; font-size: 15px; line-height: 1.2; white-space: nowrap; }
.sg-zim-sub { margin-top: -6px; font-size: 13px; line-height: 1.35; color: var(--text-leise); }
.sg-zim-felder { display: flex; flex-wrap: wrap; gap: 8px; }
.sg-zim-feld { display: flex; flex-direction: column; gap: 3px; font-size: 12px; line-height: 1.2; color: var(--text-leise); }
.sg-zim-feld select { min-height: var(--hoehe-ziel); min-width: 150px; padding: 0 10px; border: 1px solid var(--linie-bedienung); border-radius: 4px; background: var(--weiss); color: var(--text); font: inherit; font-size: 14px; }
.sg-zim-hinweis { margin: 0; font-size: 13px; line-height: 1.4; color: var(--akzent-text, var(--welt)); }
.sg-zim-hinweis[hidden] { display: none; }
.sg-zim-fuss { padding: 16px 28px 24px; border-top: 1px solid var(--linie); display: flex; flex-direction: column; gap: 10px; background: var(--weiss); }
.sg-zim-summe { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sg-zim-summe span { font-size: 15px; line-height: 1.3; color: var(--text-leise); }
.sg-zim-summe strong { font-size: 22px; line-height: 1.2; white-space: nowrap; }
.sg-zim-mw { margin: -6px 0 0; font-size: 12px; line-height: 1.4; color: var(--text-leise); }
.sg-zim-kaufen { min-height: 52px; border: 0; border-radius: var(--radius); background: var(--welt); color: var(--auf, #ffffff); font-weight: 600; font-size: 16px; line-height: 1; cursor: pointer; }
.sg-zim-kaufen:hover { background: var(--welt-hover); }
.sg-zim-kaufen:disabled { background: var(--linie-bedienung); cursor: default; }
@media (max-width: 767.98px) {
  .sg-zim { inset: auto 0 0 0; width: 100vw; height: auto; max-height: 85dvh; border-radius: 12px 12px 0 0; box-shadow: 0 -8px 24px rgb(0 0 0 / 16%); }
  .sg-zim-form { max-height: 85dvh; }
  .sg-zim-griff { display: block; width: 40px; height: 4px; border-radius: 2px; background: var(--linie); margin: 8px auto 0; }
  .sg-zim-kopf { padding: 10px 16px 12px; }
  .sg-zim-kopf h3 { font-size: 20px; }
  .sg-zim-kopf p { display: none; }
  .sg-zim-liste { padding: 0 16px; }
  .sg-zim-zeile { grid-template-columns: 44px 48px minmax(0, 1fr); gap: 6px; padding: 12px 0; }
  .sg-zim-haken { margin-top: 2px; }
  .sg-zim .sg-zim-zeile img { width: 48px; height: 48px; }
  .sg-zim-felder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .sg-zim-feld select { min-width: 0; width: 100%; }
  .sg-zim-fuss { padding: 12px 16px 16px; }
}

/* DES-36: „Zimmer kaufen“ als kleine Pille unten links im Foto (Muster Rains), statt des breiten Knopfs darunter */
.sg-look-foto { position: relative; }
.sg-look.mit-zimmer .sg-zim-auf { position: absolute; left: 12px; bottom: 12px; z-index: 1; width: auto; margin: 0; min-height: 44px; padding: 0 16px 0 14px; gap: 8px; justify-content: flex-start; border: 0; border-radius: 999px; background: rgb(255 255 255 / 94%); color: var(--text); font-size: 15px; box-shadow: 0 1px 6px rgb(0 0 0 / 18%); }
.sg-look.mit-zimmer .sg-zim-auf::before { content: ""; width: 18px; height: 18px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 4h2.6l2.3 11h10.4l2-7.5H6.2'/%3E%3Ccircle cx='9' cy='19.2' r='1.4'/%3E%3Ccircle cx='17' cy='19.2' r='1.4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 4h2.6l2.3 11h10.4l2-7.5H6.2'/%3E%3Ccircle cx='9' cy='19.2' r='1.4'/%3E%3Ccircle cx='17' cy='19.2' r='1.4'/%3E%3C/svg%3E") center / contain no-repeat; }
.sg-look.mit-zimmer .sg-zim-auf:hover { background: #fff; }

/* DES-44: Karte und Pille überdecken sich nicht mehr. Desktop: die Karte sitzt über der Pille. Handy: die Karte geht unter dem Foto auf,
   das Foto mit allen Punkten bleibt frei. */
@media (min-width: 768px) {
  .sg-look.mit-zimmer .sg-look-foto[data-zimmer] .sg-look-karte { bottom: 68px; }
}
@media (max-width: 767.98px) {
  .sg-look.is-js .sg-look-karte { position: static; margin-top: 8px; box-shadow: none; border: 1px solid var(--linie); }
}

/* DES-45: Auswahl im Fenster „Alles aus diesem Zimmer“ mit Farbfeldern (Holzton, Farbe) und Knöpfen (Größe) statt Klapplisten */
.sg-zim-achse { display: flex; flex-direction: column; gap: 6px; }
.sg-zim-achse > span { font-size: 13px; line-height: 1.3; color: var(--text); }
.sg-zim-achse > span b { font-weight: 600; }
.sg-zim-sws { display: flex; flex-wrap: wrap; gap: 2px; margin-left: -6px; }
.sg-zim-sw { width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.sg-zim-sw i { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--linie-bedienung); background: var(--f); display: block; }
.sg-zim-sw[aria-pressed="true"] i { box-shadow: 0 0 0 2px var(--weiss), 0 0 0 4px var(--welt); }
.sg-zim-pillen { display: flex; flex-wrap: wrap; gap: 6px; }
.sg-zim-pille { min-height: 40px; padding: 0 14px; border: 1px solid var(--linie-bedienung); border-radius: 20px; background: var(--weiss); color: var(--text); font: inherit; font-size: 14px; line-height: 1; cursor: pointer; }
.sg-zim-pille[aria-pressed="true"] { border-color: var(--welt); background: var(--welt); color: var(--auf); font-weight: 600; }
.sg-zim-felder { flex-direction: column; gap: 10px; }
@media (max-width: 767.98px) { .sg-zim-felder { display: flex; } }

/* DES-49: Hotspot-Karte im Aussehen der Produktkarten: Foto, Name, Preis, darunter ein gefüllter Knopf über die ganze Breite */
.sg-look .sg-look-karte { grid-template-columns: 72px minmax(0, 1fr) 36px; gap: 12px 14px; padding: 14px; border-radius: var(--radius); }
.sg-look-karte strong { font-size: 16px; line-height: 1.25; }
.sg-look-karte em { font-weight: 700; font-size: 17px; margin-top: 6px; }
.sg-look-karte em small { display: block; font-size: 12px; margin-top: 2px; }
.sg-look-karte a.sg-look-k-knopf { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: var(--radius); background: var(--welt); color: var(--auf); font-weight: 600; font-size: 15px; line-height: 1; text-decoration: none; }
.sg-look-karte a.sg-look-k-knopf:hover { background: var(--welt-hover); }
.sg-look-karte .sg-look-zu { margin: -6px -6px 0 0; }
/* DES-50: Am Handy rastet das erste Foto mit dem Seitenrand ein statt am Bildschirmrand */
@media (max-width: 767.98px) {
  .sg-look-schiene { scroll-padding-left: var(--rand); padding-right: var(--rand); }
  .sg-look .sg-look-karte { grid-template-columns: 64px minmax(0, 1fr) 36px; }
  .sg-look-karte img { width: 64px; height: 64px; }
}

/* DES-54: Kopf und Leiste beginnen an der Inhaltsbreite der Seite (1184 px) statt an der weiten Breite (1280 px): am Desktop stand die Sektion 48 px zu weit links (Lukas 25.11.) */
@media (min-width: 768px) {
  .sg-look-kopf { padding-inline: max(var(--rand), calc((100% - var(--wp--style--global--content-size, 1184px)) / 2)); }
  .sg-look-schiene { padding-left: max(var(--rand), calc((100% - var(--wp--style--global--content-size, 1184px)) / 2)); }
}
