/* Seelenglück by Shinaja – Shop-Stylesheet
   Alle Farben und Schriften an einer Stelle: hier oben ändern wirkt im ganzen Shop. */

@font-face { font-family: "Ellianarelle"; src: url("../schriften/EllianarellesPath.woff2") format("woff2");
  unicode-range: U+0000-00B6, U+00B8-2012, U+2015-2019, U+201B, U+201F-FFFF; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../schriften/nunito-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../schriften/nunito-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --text: #666666;          /* alle Schriften: 60 % Schwarz */
  --text-dunkel: #333333;   /* Hover */
  --papier: #fffdf8;        /* Seitenhintergrund */
  --linie: #ece4d4;
  --rahmen: #cfc6b4;
  --gelb: #ffc439;          /* Warenkorb-Button */
  --tuerkis: #4fb0a9;       /* Warenkorb */
  --tuerkis-hell: #e3f3f1;  /* gewählte Reiter / Größen */
  --kachel-gelb: #fbf3d5;
  --kachel-rosa: #f6e6ea;
  --schrift: "Nunito", system-ui, sans-serif;
  --hand: "Ellianarelle", "Nunito", sans-serif;
  --breite: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--papier); color: var(--text); font-family: var(--schrift); font-size: 17px; line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: var(--text); }
a:hover { color: var(--text-dunkel); }
h1, h2, h3 { color: var(--text); }
.hand { font-family: var(--hand); font-weight: 400; }
.zwischen { font-size: 19px; font-weight: 700; margin: 0 0 8px; line-height: 1.35; }
.klein { font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Kopf */
.kopf { max-width: var(--breite); margin: 0 auto; padding: 24px 24px 0; }
.kopf-oben { display: flex; justify-content: flex-end; align-items: center; gap: 20px; font-size: 15px; padding-bottom: 12px; }
.warenkorb-form { margin: 0; }
.warenkorb { font: inherit; font-weight: 700; color: var(--text); background: none; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border: 1.5px solid var(--text); border-radius: 999px; cursor: pointer; text-decoration: none; position: relative; }
.wk-zahl { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--gelb); color: var(--text-dunkel);
  font-size: 13px; line-height: 22px; text-align: center; }
.wk-zahl[hidden] { display: none; }
.warenkorb:hover { color: var(--text-dunkel); border-color: var(--text-dunkel); }
.kopfbild { width: 100%; height: auto; border-radius: 6px; }
.kopfbild.schmal { height: 200px; object-fit: cover; object-position: center 22%; }
.hauptmenue { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 30px; padding: 16px 0 14px; border-bottom: 1px solid var(--linie);
  white-space: nowrap; overflow-x: auto; }
.hauptmenue a { text-decoration: none; padding: 4px 0; }
.hauptmenue a[aria-current] { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; }
.handymenue { display: none; }

/* Inhalt */
main { max-width: var(--breite); margin: 0 auto; padding: 0 24px 72px; }
.brotkrumen { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; font-size: 14px; padding: 18px 0 24px; }
.brotkrumen .blaettern { display: flex; gap: 18px; }
.brotkrumen .blaettern a { text-decoration: none; }

/* Startseite */
.willkommen { text-align: center; padding: 52px 0 40px; max-width: 760px; margin: 0 auto; }
.willkommen h1 { font-size: 40px; line-height: 1.15; margin: 0 0 18px; }
.willkommen p { margin: 0 0 12px; }
.bereiche { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 32px 16px; padding-bottom: 64px; }
.bereich { display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; text-align: center; line-height: 1.3; }
.bereich img { width: 100%; max-width: 156px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 6px var(--kachel-gelb); }
.abschnitt-titel { font-size: 32px; text-align: center; margin: 0 0 24px; }
.infokacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; padding-bottom: 8px; }
.infokacheln > div { border-radius: 10px; padding: 24px; }
.infokacheln p { margin: 0; }

/* Kategorieseite */
.kat-kopf { padding: 0 0 28px; max-width: 760px; }
.kat-kopf h1 { font-size: 43px; line-height: 1.1; margin: 0 0 12px; }
.kat-kopf p { margin: 0; }
.reiter { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 32px; }
.reiter button { font: inherit; color: var(--text); padding: 9px 20px; border-radius: 999px; border: 1.5px solid var(--rahmen); background: #fff; cursor: pointer; }
.reiter button[aria-pressed="true"] { font-weight: 700; border-color: var(--text); background: var(--tuerkis-hell); }

/* Artikel-Kacheln */
.kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 36px 28px; }
.kachel { display: flex; flex-direction: column; gap: 2px; text-decoration: none; text-align: right; }
.kachelbild { display: block; overflow: hidden; border-radius: 6px; background: #f3eee2; margin-bottom: 8px; }
.kachel img { width: 100%; aspect-ratio: 1; object-fit: cover; }
/* Taschen: ganze Tasche zeigen, oben dürfen die Henkel angeschnitten sein */
.kachel img.unten { object-position: center bottom; transform: scale(1.12); transform-origin: center 97%; }
.kachel .art { font-size: 14px; }
.termin-offen { display: inline-block; margin-top: 18px; padding: 10px 18px; border: 1.5px dashed var(--rahmen); border-radius: 999px; font-weight: 700; }
.kachel .titel { line-height: 1.35; }
.kachel .hinweis { font-size: 14px; font-style: italic; }
.kachel[hidden] { display: none; }

/* Artikelseite */
.artikel { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.galerie { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.bildrahmen { display: flex; justify-content: center; align-items: flex-start; }
.galerie .gross { width: auto; max-width: 100%; height: auto; max-height: 680px; border-radius: 8px; }
.galerie-handy { display: none; }
.galerie-stapel { display: flex; flex-direction: column; gap: 14px; }
.galerie-stapel .lupe { padding: 0; border: none; background: none; cursor: zoom-in; display: block; }
.galerie-stapel > .lupe img { width: 100%; height: auto; border-radius: 8px; }
.stapel-mini { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stapel-mini img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.bildgross { max-width: calc(100vw - 32px); max-height: calc(100vh - 32px); padding: 0; border: none; border-radius: 10px; background: var(--papier); overflow: hidden; }
.bildgross::backdrop { background: rgba(40, 34, 28, 0.75); }
.bildgross img { display: block; height: calc(100vh - 48px); width: auto; max-width: calc(100vw - 48px); object-fit: contain; }
.bildgross .schliessen, .bildgross .blatt { position: absolute; width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(255,255,255,0.9);
  color: var(--text-dunkel); font-size: 26px; line-height: 1; cursor: pointer; }
.bildgross .schliessen { top: 10px; right: 10px; }
.bildgross .zurueck { left: 10px; top: 50%; transform: translateY(-50%); }
.bildgross .weiter { right: 10px; top: 50%; transform: translateY(-50%); }
.bildgross .blatt[hidden] { display: none; }
.vorschau { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.vorschau button { padding: 0; border: 2px solid transparent; border-radius: 6px; background: none; cursor: pointer; }
.vorschau button[aria-current="true"] { border-color: var(--text); }
.vorschau img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.kaufen { flex: 1 1 420px; min-width: 0; }
.kaufen .art { font-size: 18px; }
.kaufen h1 { font-size: 43px; line-height: 1.1; margin: 4px 0 14px; }
.preis { font-size: 26px; font-weight: 700; }
.groessen { border: none; padding: 0; margin: 20px 0 24px; }
.groessen legend { font-size: 19px; font-weight: 700; margin-bottom: 10px; padding: 0; }
.groessen .wahl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 560px; }
.groessen label { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border: 2px solid #d9d1c0; border-radius: 10px; cursor: pointer; line-height: 1.35; }
.groessen label:has(input:checked) { border-color: var(--text); background: var(--tuerkis-hell); }
.groessen input { accent-color: var(--text); }
.namensfeld { display: block; margin: 0 0 20px; max-width: 560px; }
.namensfeld input { font: inherit; color: var(--text); width: 100%; margin-top: 6px; padding: 12px 14px; border: 1.5px solid var(--rahmen); border-radius: 10px; background: #fff; }
.kaufknopf { font: inherit; font-weight: 700; font-size: 18px; width: 100%; max-width: 560px; padding: 16px 24px; border: none; border-radius: 999px;
  background: var(--gelb); color: var(--text); cursor: pointer; margin-top: 18px; }
.kaufknopf:hover { color: var(--text-dunkel); }
.kaufknopf:disabled { background: #eee7d6; cursor: not-allowed; }
.extern-knopf { display: inline-block; text-align: center; text-decoration: none; }
.ausverkauft { display: inline-block; margin-top: 18px; padding: 10px 18px; border: 1.5px dashed var(--rahmen); border-radius: 999px; }
.beschreibung { border-top: 1px solid var(--linie); padding-top: 24px; margin-top: 8px; }
.beschreibung p { margin: 0 0 14px; }
.artikelname { font-size: 19px; font-weight: 700; margin: 0 0 14px; line-height: 1.35; }
.poesie p { margin: 0 0 1.1em; }
.signatur { margin: 30px 0 30px; }
.material { font-size: 15px; }
.material p { margin: 0 0 10px; }
.material.neben-bild { margin-top: 12px; padding-top: 18px; border-top: 1px solid var(--linie); }
.material.nur-handy { display: none; }
.nachtrag { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--linie); }
.nachtrag p { margin: 0 0 14px; }

/* Kartenvorschau mit Popups (Orakelkarten) */
.kartenvorschau { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--linie); }
.kartenvorschau h2 { font-size: 26px; margin: 0 0 4px; }
.kartenvorschau > p { margin: 0 0 14px; font-size: 15px; }
.karten { display: grid; grid-template-columns: repeat(3, minmax(0, 110px)); gap: 14px; }
.karte { padding: 0; border: none; background: none; cursor: pointer; border-radius: 8px; transition: transform .2s; }
.karte:hover, .karte:focus-visible { transform: translateY(-3px) rotate(-1deg); }
.karte img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 3px 10px rgba(0,0,0,0.12); }
.kartenvorschau.nur-handy { display: none; }
.kartendialog { width: min(920px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: none; border-radius: 12px;
  background: var(--papier); color: var(--text); box-shadow: 0 20px 60px rgba(0,0,0,0.25); }
.kartendialog::backdrop { background: rgba(60, 50, 40, 0.55); }
.kartendialog .karten-innen { display: flex; gap: 32px; padding: 36px; align-items: flex-start; }
.kartendialog .karten-innen > img { width: 260px; flex: none; border-radius: 10px; }
.kartendialog .kartentext { min-width: 0; }
.kartendialog .kartentext p { margin: 0 0 12px; }
.kartendialog .schliessen { position: sticky; top: 8px; float: right; margin: 8px 8px 0 0; width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--rahmen); background: #fff; color: var(--text); font-size: 24px; line-height: 1; cursor: pointer; }

/* Kontakt, Impressum, Datenschutz */
.kontakt { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.kontakt-bild { flex: 0 1 300px; }
.kontakt-bild img { width: 100%; max-width: 300px; height: auto; border-radius: 8px; }
.adresse { margin: 18px 0 0; }
.adresse .hand { font-size: 26px; line-height: 1.2; }
.newsletter { flex: 1 1 420px; min-width: 0; max-width: 620px; }
.newsletter iframe { display: block; width: 100%; height: 640px; border: 0; }
.rechtstext { max-width: 820px; }
.rechtstext p, .rechtstext ul { margin: 0 0 14px; }
.rechtstext h2.zwischen, .rechtstext h3.zwischen { margin-top: 30px; }
.rechtstext .gross { font-size: 23px; }
.blaettern-unten { display: none; }
.passt { padding-top: 72px; }
.passt h2 { font-size: 31px; margin: 0 0 22px; }

/* Warenkorb */
.nur-einmal { margin: 12px 0 0; padding: 10px 14px; border-radius: 10px; background: var(--kachel-rosa); }
.wk-leeren { margin: 14px 0 0; font-size: 14px; }
.wk-leeren button { font: inherit; color: var(--text); background: none; border: none; padding: 0; text-decoration: underline; cursor: pointer; }
.wk-leeren-frage button { margin-left: 8px; font-weight: 700; }
.wk-menge button:disabled { opacity: .35; cursor: not-allowed; }
.wk-einzel { font-size: 13px; font-style: italic; }
.hinzugefuegt { margin: 12px 0 0; padding: 10px 14px; border-radius: 10px; background: var(--tuerkis-hell); }
.warenkorb-seite { max-width: 980px; }
.wk-voll { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.wk-voll[hidden], .wk-leer[hidden] { display: none; }
.wk-liste { list-style: none; margin: 0; padding: 0; }
.wk-artikel { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--linie); }
.wk-artikel img { width: 84px; height: 84px; object-fit: cover; border-radius: 6px; background: var(--linie); }
.wk-name { font-weight: 700; text-decoration: none; }
.wk-weg { font: inherit; font-size: 14px; color: var(--text); background: none; border: none; padding: 4px 0 0; text-decoration: underline; cursor: pointer; }
.wk-menge { display: inline-flex; align-items: center; gap: 4px; border: 1.5px solid var(--rahmen); border-radius: 999px; }
.wk-menge button { font: inherit; font-size: 18px; width: 34px; height: 34px; border: none; background: none; color: var(--text); cursor: pointer; }
.wk-menge span { min-width: 20px; text-align: center; }
.wk-zeilensumme { font-weight: 700; min-width: 80px; text-align: right; }
.wk-summe { padding: 24px; border-radius: 12px; background: var(--kachel-gelb); }
.wk-land { display: block; font-weight: 700; margin-bottom: 14px; }
.wk-land select { display: block; width: 100%; margin-top: 6px; font: inherit; color: var(--text); padding: 10px 12px; border: 1.5px solid var(--rahmen); border-radius: 10px; background: #fff; }
.wk-summe dl { margin: 0 0 8px; }
.wk-summe dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.wk-summe dt, .wk-summe dd { margin: 0; }
.wk-summe .gesamt { font-weight: 700; font-size: 20px; border-top: 1px solid var(--rahmen); margin-top: 6px; padding-top: 10px; }
.wk-summe .kaufknopf { margin-top: 8px; }
.wk-fehler { color: #a33; font-weight: 700; }
.wk-zahlen-titel { font-weight: 700; margin: 14px 0 8px; }
#wk-paypal-knoepfe { min-height: 48px; position: relative; z-index: 0; }
.wk-feld { grid-column: 2 / -1; display: block; font-size: 14px; font-weight: 700; }
.wk-feld input { display: block; width: 100%; margin-top: 6px; font: inherit; font-weight: 400; color: var(--text); padding: 9px 12px; border: 1.5px solid var(--rahmen); border-radius: 10px; background: #fff; }
.tabelle-rahmen { overflow-x: auto; margin: 0 0 12px; }
table.versand { border-collapse: collapse; width: 100%; font-size: 15px; }
table.versand th, table.versand td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--linie); vertical-align: top; }
table.versand thead th { background: var(--tuerkis-hell); }

/* Fußzeile */
.fuss { background: var(--tuerkis); color: #fff; padding: 40px 24px; }
.fuss .innen { max-width: var(--breite); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; font-size: 15px; }
.fuss .marke { font-family: var(--hand); font-size: 23px; }
.fuss a { color: #fff; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }

/* Handy */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .kopf { padding: 0; }
  .kopf-oben { display: none; }
  .hauptmenue { display: none; }
  .handymenue { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid var(--linie); position: relative; }
  .handymenue details summary { list-style: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
  .handymenue details summary::-webkit-details-marker { display: none; }
  .handymenue details[open] nav { position: absolute; left: 0; right: 0; top: 64px; z-index: 10; background: var(--papier); border-bottom: 1px solid var(--linie);
    display: flex; flex-direction: column; padding: 8px 18px 16px; box-shadow: 0 8px 16px rgba(0,0,0,0.06); }
  .handymenue details nav a { padding: 10px 0; text-decoration: none; border-bottom: 1px solid var(--linie); }
  .handymenue .marke { font-family: var(--hand); font-size: 22px; text-decoration: none; }
  .handymenue .warenkorb { border: none; padding: 10px; }
  .kopfbild, .kopfbild.schmal { border-radius: 0; height: 92px; object-fit: cover; object-position: 20% 40%; }
  main { padding: 0 18px 48px; }
  .brotkrumen { padding: 14px 0 12px; font-size: 13px; }
  .brotkrumen .blaettern { display: none; }
  .willkommen { padding: 32px 0 28px; }
  .willkommen h1 { font-size: 30px; }
  .bereiche { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .kat-kopf h1, .kaufen h1 { font-size: 34px; }
  .kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .kachel { font-size: 15px; }
  .artikel { gap: 18px; }
  .galerie-handy { display: block; }
  .galerie-stapel { display: none; }
  .galerie .gross { max-height: 70vh; }
  .material.neben-bild { display: none; }
  .material.nur-handy { display: block; }
  .kartenvorschau.nur-desktop { display: none; }
  .kartenvorschau.nur-handy { display: block; }
  .karten { grid-template-columns: repeat(3, minmax(0, 100px)); gap: 12px; }
  .kartendialog .karten-innen { flex-direction: column; padding: 20px; gap: 18px; }
  .kartendialog .karten-innen > img { width: 100%; max-width: 280px; align-self: center; }
  .kontakt { gap: 28px; }
  .wk-voll { grid-template-columns: 1fr; gap: 24px; }
  .wk-artikel { grid-template-columns: 64px minmax(0, 1fr) auto; }
  .wk-artikel img { width: 64px; height: 64px; }
  .wk-zeilensumme { grid-column: 2 / 4; text-align: left; }
  .handymenue .wk-zahl { position: absolute; top: 2px; right: 0; }
  .vorschau { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .vorschau button:nth-child(n+4) { display: none; }
  .kaufen .art { font-size: 17px; }
  .preis { font-size: 23px; }
  .groessen .wahl { grid-template-columns: 1fr; }
  .blaettern-unten { display: flex; gap: 10px; margin: 28px 0 0; }
  .blaettern-unten a { flex: 1; text-align: center; text-decoration: none; padding: 11px 8px; border: 1.5px solid var(--rahmen); border-radius: 999px; font-weight: 700; font-size: 15px; }
  .passt { padding-top: 40px; }
  .passt h2 { font-size: 25px; }
  .fuss { padding: 24px 18px; }
}

/* Warenkorb: ab Tablet-Breite und auf dem Handy eine Spalte – oben die Artikel, darunter Summe und Bezahlen */
@media (max-width: 900px) {
  .wk-voll { grid-template-columns: 1fr; gap: 24px; }
  .wk-summe { max-width: 520px; }
}
@media (max-width: 760px) {
  .wk-feld { grid-column: 1 / -1; }
}
