/* =========================================================
   WARENKORB-ICON
   ========================================================= */
#navbar a.topMenu.cart:before {
    background: url(../customers_pics/696/8c2ab862c29693f6959f3560b467822b.svg) no-repeat;
}


/* =========================================================
   COOKIE-EINSTELLUNGEN AUSBLENDEN
   ========================================================= */
#open_preferences_center {
    display: none;
}


/* =========================================================
   BESCHREIBUNG / ABSTAND
   ========================================================= */
.backgroundGrey > .description {
    padding: 50px 0;
}


/* =========================================================
   LEADPRINT-BRANDING AUSBLENDEN
   ========================================================= */
.leadprint-brand {
    display: none !important;
}


/* =========================================================
   "GEDRUCKT IN DER SCHWEIZ" – EIGENES LOGO
   ========================================================= */
img[src*="customer_media/696/ssl_icon/cc1435e2c2d34adc1fb1a7e3ef40eedc.png"] {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;

    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;

    object-fit: contain !important;
    object-position: -9999px 0 !important;

    background-image: url("/customers_pics/696/83b7be437412d118b474916755161d20.png") !important;
    background-repeat: no-repeat !important;
    background-position: left 14px !important;
    background-size: auto 42px !important;
}

img[src*="customer_media/696/ssl_icon/cc1435e2c2d34adc1fb1a7e3ef40eedc.png"]::after {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;

    width: 315px;
    height: 40px;

    background-image: url("https://weibel-druck.ch/df/gedruckt_schweiz.png");
    background-repeat: no-repeat;
    background-position: left top;
    background-size: auto 40px;
}

/* =========================================================
   SVG "GEDRUCKT IN DER SCHWEIZ" DURCH PNG ERSETZEN
   ========================================================= */
img[src*="cf03097405392a5d8becf7a0b01a288c.svg"] {
    content: url("/customers_pics/696/b369de1bb408e29a286de35f4c244a17.svg") !important;
    height: 71px !important;
    max-height: 71px !important;
    width: auto !important;
}

/* =========================================================
   POST / DHL – EIGENES LOGO
   ========================================================= */
img[src*="customers_pics/696/5be51a2255da54aa30f78a1e5d3854c9.svg"] {
    width: 184px !important;
    min-width: 184px !important;
    max-width: 184px !important;

    height: 60px !important;
    min-height: 60px !important;
    max-height: 60px !important;

    object-fit: contain !important;
    object-position: -9999px 0 !important;

    background-image: url("/customers_pics/696/3951dfd60a788213d54b31fa52c8afae.png") !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: 184px 60px !important;
}


/* =========================================================
   ADRESSFORMULAR – NICHT BENÖTIGTE FELDER AUSBLENDEN
   ========================================================= */

/* Allgemeine Adressfelder */
fieldset:has(#abteilung),
fieldset:has(#telefax),
fieldset:has(#mobiltelefon),
fieldset:has(#lie_mobiltelefon),
fieldset:has(#homepage),
fieldset:has(#ustid),
fieldset:has(#lie_ustid),
fieldset:has(#rg_abteilung),
fieldset:has(#rg_telefax),
fieldset:has(#rg_mobiltelefon),
fieldset:has(#rg_homepage),
fieldset:has(#rg_ustid) {
    display: none !important;
}


/* =========================================================
   LEERES ZWISCHENFELD NACH "ANREDE" ENTFERNEN
   ========================================================= */
fieldset.formTitle + fieldset.formTitle {
    display: none !important;
}


/* =========================================================
   "NEU HIER?" → "JETZT REGISTRIEREN"
   ========================================================= */
#formular article > h1 {
    font-size: 0 !important;
}

#formular article > h1::after {
    content: "Jetzt registrieren";
    font-size: 24px;
    line-height: inherit;
    display: inline-block;
    vertical-align: baseline;
    transform: translateY(8px);
}

/* =========================================================
   "JETZT REGISTRIEREN" – LINIE AUSBLENDEN + ABSTAND
   ========================================================= */
#formular article > h1 + hr {
    display: none !important;
}

#formular article > h1 {
    margin-bottom: 50px !important;
}


/* =========================================================
   ABWEICHENDE LIEFERADRESSE
   Linie ausblenden + Abstand nach der Überschrift
   ========================================================= */
#divergent_address hr {
    display: none !important;
}

#divergent_address h1 {
    margin-top: 0 !important;
    margin-bottom: 26px !important;
}


/* =========================================================
   LOGIN – KOMPLETTE BOX 20PX NACH UNTEN
   ========================================================= */
#customer-menu #login {
    padding-top: 8px !important;
    margin-top: 20px !important;
}

#customer-menu #login form[name="formLogin"] {
    position: relative !important;
    top: 0 !important;
}


/* =========================================================
   DATENSCHUTZ – ABSTAND ABHÄNGIG VON LIEFERADRESSE
   ========================================================= */

/* Normalzustand */
#customer_login > fieldset.col-full {
    margin-top: -20px !important;
}

/* Abweichende Lieferadresse eingeblendet */
body:has(#divergent_address) #customer_login > fieldset.col-full {
    margin-top: 0 !important;
}


/* =========================================================
   AUFTRAGSSTATUS – SORTIERUNG
   Standardsortierung auf Höhe von "Reihenfolge festlegen"
   ========================================================= */
#Sortierung {
    position: relative !important;
    top: -31px !important;
    left: 5px !important;
    margin-bottom: -23px !important;
}


/* =========================================================
   ADRESSDATEN – HINWEIS / DATEN SPEICHERN
   ========================================================= */
#formular article > p {
    position: relative !important;
    top: 10px !important;
    margin-bottom: 25px !important;
}


/* =========================================================
   ADRESSDATEN – ÜBERSCHRIFTEN
   "Ihr Konto - Adressdaten" ausblenden
   "Rechnungsadresse" nach oben verschieben
   ========================================================= */
#formular article > span.h3 {
    display: none !important;
}

#formular article > h2 {
    margin-top: 0 !important;
}


/* =========================================================
   BENUTZERDATEN
   Darstellung wie Rechnungsadresse
   ========================================================= */
#username .h3 {
    display: block !important;
    font-family: "Roboto Condensed", sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #333 !important;
    margin: 0 0 26px 0 !important;
}

#username hr {
    display: none !important;
}


/* =========================================================
   ABSTAND TELEFON → ZAHLART
   ========================================================= */
#divergent_address + input[type="hidden"] + section {
    margin-top: 70px !important;
}


/* =========================================================
   DATEN-UPLOAD
   Text "Daten später senden" einzeilig
   ========================================================= */
#upload_delay p {
    white-space: nowrap;
}


/* =========================================================
   DATEN-UPLOAD
   Schriftgrösse "Vielen Dank..."
   ========================================================= */
#upload_info .rte_container > div:first-child {
    font-size: 18px;
}


/* =========================================================
   DATEN-UPLOAD
   Leerzeile vor "Bitte beachten Sie..."
   ========================================================= */
#upload_info .rte_container > div:first-child {
    margin-bottom: 20px;
}


/* =========================================================
   DATEN-UPLOAD
   Leerzeile vor "Die Lieferzeit..."
   ========================================================= */
#upload_info .rte_container > .rte_container strong {
    display: inline-block;
    margin-top: 20px;
}


/* =========================================================
   DATEN-UPLOAD
   Hinweistext komplett pink
   ========================================================= */
#upload_info .rte_container,
#upload_info .rte_container strong {
    color: #e6008c !important;
}


/* =========================================================
   WARENKORB
   Linie unter "Ihre Adressdaten" ausblenden
   ========================================================= */
#cart_registration article h1 + hr {
    display: none;
}


/* =========================================================
   ABWEICHENDE LIEFERADRESSE
   UstId komplett ausblenden
   ========================================================= */
#divergent_address fieldset:has(#li_ustid) {
    display: none;
}

/* ========================================================= STARTSEITEN-SLIDER – PUNKTE UNTERHALB DES TEXTES ========================================================= */

@media screen and (max-width: 768px) {

#slider { padding-bottom: 60px !important; }

#slider .slick-dots { position: absolute !important; bottom: 0 !important; left: 0 !important; right: 0 !important; width: 100% !important; margin: 0 !important; padding: 0 !important; text-align: center !important; z-index: 1 !important; }

}

/* ========================================================= STARTSEITEN-SLIDER – EINHEITLICHER ZEILENABSTAND RESPONSIVE ========================================================= */

@media screen and (max-width: 768px) { #slider .textWrapper .textArea h2.cf { line-height: 1.2 !important; }

#slider .textWrapper .textArea h2.cf > strong { display: block !important; line-height: inherit !important; margin: 0 !important; padding: 0 !important; } }

/* ========================================================= STARTSEITEN-SLIDER – TITEL RESPONSIVE Pink, fett, etwas grösser, normaler Zeilenabstand, keine Effekte ========================================================= */

@media screen and (max-width: 768px) {

#slider .textWrapper .textArea h2.cf, #slider .textWrapper .textArea h2.cf strong, #slider .textWrapper .textArea h2.cf strong span { color: #e6008c !important; font-size: 18px !important; font-weight: 700 !important; line-height: 1.2 !important; text-shadow: none !important; text-decoration: none !important; transform: none !important; transition: none !important; animation: none !important; filter: none !important; }

#slider .textWrapper .textArea h2.cf > strong { display: block !important; margin: 0 !important; padding: 0 !important; }

#slider .textWrapper .textArea h2.cf strong:hover, #slider .textWrapper .textArea h2.cf strong span:hover { color: #e6008c !important; transform: none !important; text-shadow: none !important; transition: none !important; filter: none !important; } }

/* ========================================================= PRODUKTKARTEN – BILDBOX AUF MOBILGERÄTEN ERHÖHEN ========================================================= */

@media screen and (max-width: 768px) {

.trade-groups.sidebar .card figure { min-height: 145px !important; display: flex !important; flex-direction: column !important; justify-content: flex-start !important; }

.trade-groups.sidebar .card figure img { width: 100% !important; height: auto !important; object-fit: contain !important; margin: 0 auto !important; flex-shrink: 0 !important; }

}

/* ========================================================= PRODUKTTITEL – ZEILENABSTAND VERKLEINERN ========================================================= */

@media screen and (max-width: 768px) {

.trade-groups.sidebar .card figure figcaption h2 { line-height: 1.2 !important; margin-top: 0 !important; margin-bottom: 0 !important; }

}

/* ========================================================= PRODUKTSEITE – BILDBOXEN UND TITEL IN DER MOBILANSICHT ========================================================= */

@media screen and (max-width: 768px) {

.product-listing.full .card figure { min-height: 145px !important; display: flex !important; flex-direction: column !important; justify-content: flex-start !important; }

.product-listing.full .card figure img { width: 100% !important; height: auto !important; object-fit: contain !important; margin: 0 auto !important; flex-shrink: 0 !important; }

.product-listing.full .card figure figcaption strong { line-height: 1.2 !important; margin-top: 0 !important; margin-bottom: 0 !important; }

}

/* =========================================================
   TRADE-BLOCKS – LEICHT ABGEDUNKELT + PINKER HOVER
   ========================================================= */

/* Erstes Bild: leicht abgedunkelt im Normalzustand */
#trade-blocks .card:first-child img {
    opacity: 1 !important;
    filter: brightness(0.70) !important;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

/* Pinke Fläche hinter dem Bild */
#trade-blocks .card:first-child {
    background-color: #e6008c !important;
}

/* Bestehende Overlays im Normalzustand deaktivieren */
#trade-blocks .card:first-child::before,
#trade-blocks .card:first-child::after,
#trade-blocks .card:first-child picture::before,
#trade-blocks .card:first-child picture::after {
    content: none !important;
}

/* Hover: Bild ausblenden, exaktes Pink anzeigen */
#trade-blocks .card:first-child:hover img {
    opacity: 0 !important;
    filter: none !important;
}