<?xml version="1.0" encoding="UTF-8"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/shopware/shopware/trunk/src/Core/System/SystemConfig/Schema/config.xsd">

    <!-- ═══════════════════════════════════════════════════════════════════
         This screen is per-sales-channel out of the box: Shopware's own
         admin config page provides the "All Sales Channels" / specific
         channel dropdown at the top, and every field below is saved
         scoped to whichever channel is selected there — no custom admin
         module needed. Leaving a field empty on a specific channel simply
         inherits the value set on "All Sales Channels".

         Colors are deliberately never given a defaultValue. An empty
         color field means "use the active theme's own styling" — this
         plugin never assumes one specific theme CSS variable (such as a
         Bootstrap "bs primary" token) is universally correct, so
         "inherit" here means "don't touch this at all", not "fall back
         to a hardcoded hex".
    ═══════════════════════════════════════════════════════════════════ -->

    <card>
        <title>Sticky Cart</title>
        <title lang="de-DE">Sticky Cart</title>

        <input-field type="bool">
            <name>enabled</name>
            <label>Enable Sticky Add to Cart Bar</label>
            <label lang="de-DE">Sticky "In den Warenkorb"-Leiste aktivieren</label>
            <helpText>Off by default for every sales channel. Turn on per channel using the Sales Channel selector above.</helpText>
            <helpText lang="de-DE">Standardmäßig für jeden Verkaufskanal deaktiviert. Über die Verkaufskanal-Auswahl oben je Kanal aktivieren.</helpText>
            <defaultValue>false</defaultValue>
        </input-field>
    </card>

    <card>
        <title>Colors</title>
        <title lang="de-DE">Farben</title>

        <input-field type="colorpicker">
            <name>textColor</name>
            <label>Text Color (leave empty = use theme)</label>
            <label lang="de-DE">Textfarbe (leer = Theme verwenden)</label>
            <defaultValue></defaultValue>
        </input-field>

        <input-field type="colorpicker">
            <name>buttonColor1</name>
            <label>Button Color 1 — default state (leave empty = use theme)</label>
            <label lang="de-DE">Button-Farbe 1 – Normalzustand (leer = Theme verwenden)</label>
            <helpText>Background color of the Add to Cart button. Leave empty to keep the theme's own button color.</helpText>
            <helpText lang="de-DE">Hintergrundfarbe der "In den Warenkorb"-Schaltfläche. Leer lassen, um die Button-Farbe des Themes beizubehalten.</helpText>
            <defaultValue></defaultValue>
        </input-field>

        <input-field type="colorpicker">
            <name>buttonColor2</name>
            <label>Button Color 2 — hover/active state (leave empty = use theme)</label>
            <label lang="de-DE">Button-Farbe 2 – Hover/Aktiv-Zustand (leer = Theme verwenden)</label>
            <helpText>Background color of the Add to Cart button on hover/focus/active. Leave empty to keep the theme's own hover color.</helpText>
            <helpText lang="de-DE">Hintergrundfarbe der Schaltfläche bei Hover/Fokus/Aktiv. Leer lassen, um die Hover-Farbe des Themes beizubehalten.</helpText>
            <defaultValue></defaultValue>
        </input-field>

        <input-field type="colorpicker">
            <name>buttonTextColor</name>
            <label>Button Text Color (leave empty = use theme)</label>
            <label lang="de-DE">Button-Textfarbe (leer = Theme verwenden)</label>
            <helpText>Text/icon color of the Add to Cart button, in both its default and hover/active state. Leave empty to keep the theme's own button text color.</helpText>
            <helpText lang="de-DE">Text-/Icon-Farbe der "In den Warenkorb"-Schaltfläche, sowohl im Normal- als auch im Hover/Aktiv-Zustand. Leer lassen, um die Button-Textfarbe des Themes beizubehalten.</helpText>
            <defaultValue></defaultValue>
        </input-field>

        <input-field type="colorpicker">
            <name>selectionTextColor</name>
            <label>Selection Area Text Color (leave empty = use theme)</label>
            <label lang="de-DE">Textfarbe Auswahlbereich (leer = Theme verwenden)</label>
            <helpText>Applies to the quantity stepper and variant selector.</helpText>
            <helpText lang="de-DE">Gilt für Mengenauswahl und Variantenauswahl.</helpText>
            <defaultValue></defaultValue>
        </input-field>

        <input-field type="colorpicker">
            <name>selectionBackgroundColor</name>
            <label>Selection Area Background Color (leave empty = use theme)</label>
            <label lang="de-DE">Hintergrundfarbe Auswahlbereich (leer = Theme verwenden)</label>
            <helpText>Applies to the quantity stepper and variant selector.</helpText>
            <helpText lang="de-DE">Gilt für Mengenauswahl und Variantenauswahl.</helpText>
            <defaultValue></defaultValue>
        </input-field>

        <input-field type="colorpicker">
            <name>selectionAccentColor</name>
            <label>Selection Area Accent Color (leave empty = use theme)</label>
            <label lang="de-DE">Akzentfarbe Auswahlbereich (leer = Theme verwenden)</label>
            <helpText>Border/highlight color for the quantity stepper and variant selector (e.g. the open dropdown's border).</helpText>
            <helpText lang="de-DE">Rahmen-/Hervorhebungsfarbe für Mengen- und Variantenauswahl (z. B. Rahmen des geöffneten Dropdowns).</helpText>
            <defaultValue></defaultValue>
        </input-field>
    </card>

</config>
