/* ═══════════════════════════════════════════════════════════════
   padelcore Shop — Optik, Grundschicht „Navy, rund" (Kap. 59)
   ───────────────────────────────────────────────────────────────
   Wird nach allen Bereichsdateien geladen (inc/optik.php) und legt
   sich über Stand 5. Herleitung aus dem Logo statt aus dem Sport-
   Register von padelcore.eu: Navy #07295d führt, Formen rund.
   Darauf setzt optik-bunt.css die Farben vom Platz.
   Shop und padelcore.eu haben seit dem 08.11.2026 getrennte Optiken.
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* ── Rundung ────────────────────────────────────────────────── */
  --op-r:        10px;   /* Knopf, Feld, Auswahl        */
  --op-r-klein:  8px;    /* kleine Knöpfe, Größen       */
  --op-r-flagge: 6px;    /* Flaggen                     */
  --op-r-platte: 16px;   /* Produktplatte, Kasten, Banner */
  --op-r-pille:  999px;  /* Schnellwahl, Kollektion 2027 */

  /* ── Navy führt ─────────────────────────────────────────────── */
  --pc-tat:       var(--pc-brand);
  --pc-tat-hover: var(--pc-core-800);
  --pc-kohle:     var(--pc-core-950);
  --sh-tat:       var(--pc-brand);
  --sh-tat-hover: var(--pc-core-800);

  /* Preisnachlass: Gelb auf Navy statt Gelb auf Kohle */
  --sh-aktion:     var(--pc-brand);
  --sh-aktion-ink: var(--pc-signal);
}

/* Dunkle Flächen: Navy statt Kohle, Handlung Weiß statt Gelb */
.sh-dunkel, .sh-markenraum {
  --sh-grund:     var(--pc-core-950);
  --sh-tat:       #ffffff;
  --sh-tat-ink:   var(--pc-brand);
  --sh-tat-hover: var(--pc-core-100);
  --sh-akzent:    var(--pc-core-300);
  --sh-wahl:      #ffffff;
  --sh-wahl-ink:  var(--pc-brand);
  --sh-stern:     #ffffff;
}

/* ── Schnittecke raus, Rundung rein ─────────────────────────── */
.sh-tat, .sh-tat-neben, .sh-suche .sh-tat {
  clip-path: none; border-radius: var(--op-r);
}
.sh-tat-klein { border-radius: var(--op-r-klein); }
.sh-tat-neben::after, .sh-flagge-neu::after, .sh-groesse::after, .sh-chip-wahl::after,
.bn-tat-neben::after { display: none; }
.sh-tat:focus-visible, .sh-tat-neben:focus-visible { outline-offset: 2px; }

.sh-flagge { clip-path: none; border-radius: var(--op-r-flagge); }
.sh-groesse { clip-path: none; border-radius: var(--op-r-klein); }
.sh-chip-wahl { clip-path: none; border-radius: var(--op-r-pille); }

.sh-platte, .sh-warum-liste li, .sh-aktionskachel > a {
  clip-path: none; border-radius: var(--op-r-platte);
}
.sh-platte-klein,
.sh-galerie-leiste .sh-platte, .sh-set-ware .sh-platte, .sh-zeile .sh-platte,
.sh-vergleichsleiste-platz .sh-platte, .sh-dazu .sh-platte, .sh-bestellung-ware .sh-platte {
  clip-path: none; border-radius: var(--op-r-klein);
}
.sh-zaehler { border-radius: var(--op-r-pille); }

/* Felder, Auswahllisten, Mengenfeld */
.sh-seite input[type='text'], .sh-seite input[type='email'], .sh-seite input[type='tel'],
.sh-seite input[type='search'], .sh-seite input[type='password'], .sh-seite input[type='number'],
.sh-seite select, .sh-seite textarea,
.sh-kasse .select2-container .select2-selection--single,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea {
  border-radius: var(--op-r);
}
.sh-seite input[type='checkbox'] { border-radius: 4px; }

/* ── Kopf: Navy statt Schwarz, Gelb nur an „Kollektion 2027" ── */
.sh-band, .sh-sortiment { background: var(--pc-brand); }
.sh-band { background: var(--pc-core-950); }
.sh-band-zeile b { color: #ffffff; }
.sh-sortiment-liste a[aria-current]::after, .sh-sortiment-liste a:hover::after { background: #ffffff; }
.sh-sortiment-liste a.sh-sortiment-neu { border-radius: var(--op-r-pille); color: var(--pc-brand); }
.sh-sortiment-liste a.sh-sortiment-neu:hover, .sh-sortiment-liste a.sh-sortiment-neu[aria-current] { color: var(--pc-brand); }
.sh-sortiment-liste a.sh-sortiment-neu[aria-current] { box-shadow: inset 0 0 0 2px var(--pc-brand), 0 0 0 2px var(--pc-signal); }
.sh-sortiment-liste a:focus-visible { outline-color: #ffffff; }
.sh-menue-knopf { color: #ffffff; }
.sh-menue-knopf:focus-visible { outline-color: #ffffff; }

/* ── Banner: Navy, Handlung Weiß, Schräge hellblau ─────────── */
.bn-c-kohle, .bn-c-nacht, .bn-c-marine, .bn-c-blau {
  --bn-akzent: var(--pc-core-300);
  --bn-tat: #ffffff; --bn-tat-ink: var(--pc-brand); --bn-tat-hover: var(--pc-core-100);
}
.bn-c-kohle { --bn-a: var(--bn-nacht); --bn-b: var(--bn-blau); }
.bn-c-marine { --bn-b: var(--bn-blau); }
.bn-c-hell, .bn-c-platte, .bn-c-zart, .bn-c-nebel {
  --bn-streif: var(--pc-core-400);
  --bn-tat: var(--pc-brand); --bn-tat-hover: var(--pc-core-800);
  --bn-flagge: var(--pc-brand);
}
.bn-flagge { clip-path: none; border-radius: var(--op-r-flagge); }
.bn-tat, .bn-tat-neben { clip-path: none; border-radius: var(--op-r); }
.bn-zelle { clip-path: none; border-radius: var(--op-r-platte); }

/* ── Nachtrag: alle übrigen Schnittecken und Kästen ─────────── */
/* Schnittgröße überall auf 0: der Schnitt wird zum Rechteck,
   die Rundung kommt über border-radius. */
:root {
  --sh-ecke: 0px; --sh-ecke-klein: 0px; --sh-ecke-platte: 0px;
  --pc-sport-ecke: 0px; --pc-sport-ecke-bild: 0px;
}

.sh-seite .button, .sh-seite button.button, .sh-seite input[type="submit"].button, .sh-seite a.button,
.sh-seite .wc-forward, .sh-seite #place_order, .sh-seite .single_add_to_cart_button {
  clip-path: none; border-radius: var(--op-r);
}
.sh-kollmarke { clip-path: none; border-radius: var(--op-r-platte); }

/* Kästen und Flächen */
.sh-flaeche, .sh-wahlkarte, .sh-bewertung-antwort, .sh-versandziel, .sh-summe,
.sh-pdp-ankunft, .sh-zusagen, .sh-spieler-schlaeger,
.sh-seite .woocommerce-message, .sh-seite .woocommerce-info, .sh-seite .woocommerce-error, .sh-seite .woocommerce-notice,
.woocommerce-checkout form.login, .woocommerce-checkout form.checkout_coupon,
.sh-kasse #payment li.wc_payment_method, .woocommerce-order-received ul.order_details,
.sh-konto-unterwegs, .sh-konto-karte, .sh-konto-inhalt fieldset, .sh-konto-inhalt .woocommerce-Address,
.sh-konto-inhalt .woocommerce-columns--addresses .woocommerce-column {
  border-radius: var(--op-r-platte);
}

/* Bedienelemente */
.sh-menge, .sh-eingabe, .sh-suche, .sh-pdp-kauf .sh-taste-symbol, .sh-pdp-kauf .sh-pdp-merken,
.sh-seite .woocommerce-pagination a, .sh-seite .woocommerce-pagination span {
  border-radius: var(--op-r);
}
.sh-chip { border-radius: var(--op-r-pille); }
.sh-farbe, .sh-kachel-farben i { border-radius: 50%; }
.sh-pruef, .sh-kasse input[type="checkbox"],
.sh-bewertung-formular .comment-form-cookies-consent input[type="checkbox"] { border-radius: 4px; }
.sh-kasse input[type="radio"] { border-radius: 50%; }
.sh-fuss-zahlung span { border-radius: 6px; }

/* Suche: Feld und Knopf als eine runde Form */
.sh-suche { overflow: hidden; }
.sh-suche input { border-radius: 0; }
.sh-suche .sh-tat { border-radius: 0; }

/* Banner: runde Außenform */
.bn { border-radius: var(--op-r-platte); overflow: hidden; }

/* Schräge über dem Fuß und Trenner im Markenband: Hellblau statt Gelb */
.sp-trenner::before { background: var(--pc-core-400); }
.sp-lauf i { color: var(--pc-core-400); }

/* Gewähltes Galeriebild: Rahmen folgt der Rundung */
.sh-galerie-leiste [aria-current], .sh-galerie-leiste [aria-selected='true'] { border-radius: var(--op-r-klein); }

/* Zusagen im Warenkorb haben nur eine Linie oben: keine Rundung, sonst
   steht dort ein angeschnittener Bogen. */
.sh-korb-rechts .sh-zusagen { border-radius: 0; }

/* Vergleichskachel im Raster: Das Listenelement trägt .sh-dunkel und damit
   einen dunklen Grund; gerundet ist nur der Link darin. Ohne eigenen Grund
   stand er als Ecke hinter der Rundung (Marcos Befund 09.11.2026, iPhone). */
.sh-aktionskachel.sh-dunkel { background: transparent; }

/* Fokus auf runden Feldern: Rahmen plus nach innen versetzter outline
   ergab in Safari zwei Linien mit Versatz an den Ecken (outline folgt der
   Rundung anders). Ein innerer Schatten folgt ihr exakt - gleicher
   sichtbarer 2-px-Rand wie vorher (Befund Marco 09.11.2026). */
.sh-suche:focus-within { outline: 0; box-shadow: inset 0 0 0 1px var(--sh-akzent); }
.sh-seite input:focus-visible, .sh-seite select:focus-visible, .sh-seite textarea:focus-visible,
.sh-kasse .select2-container--focus .select2-selection--single,
.sh-kasse .select2-container--open .select2-selection--single {
  outline: 0; box-shadow: inset 0 0 0 1px var(--sh-akzent);
}
.sh-seite .sh-suche input:focus-visible { box-shadow: none; }
.sh-seite input[type='checkbox']:focus-visible, .sh-seite input[type='radio']:focus-visible {
  box-shadow: none; outline: 2px solid var(--sh-akzent); outline-offset: 2px;
}
