


/* Schischule Gargellen – moderne Accordion Cards */

.accordionsck {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordionsck .ui-accordion-header {
  position: relative;
  margin: 0 !important;
  padding: 20px 62px 20px 24px !important;

  border: 1px solid #dce5ef !important;
  border-radius: 18px !important;

  background: #ffffff !important;
  color: #141414 !important;

  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;

  box-shadow: 0 6px 20px rgba(0, 35, 75, 0.05) !important;

  cursor: pointer;
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    border-color .2s ease,
    background-color .2s ease;
}

.accordionsck .ui-accordion-header:hover {
  transform: translateY(-2px);
  border-color: #a9ccef !important;
  background: #f7fbff !important;

  box-shadow: 0 10px 28px rgba(0, 61, 120, 0.10) !important;
}

/* altes jQuery-Dreieck ausblenden */
.accordionsck .ui-accordion-header .ui-accordion-header-icon {
  display: none !important;
}

/* moderner Plus-Kreis rechts */
.accordionsck .ui-accordion-header::after {
  content: "+";

  position: absolute;
  right: 20px;
  top: 50%;

  width: 34px;
  height: 34px;

  transform: translateY(-50%);

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #edf6ff;
  color: #0757a8;

  font-size: 23px;
  font-weight: 500;
  line-height: 1;

  transition:
    transform .2s ease,
    background-color .2s ease,
    color .2s ease;
}

/* aktive Karte */
.accordionsck .ui-accordion-header.ui-state-active {
  border-color: #79b5e8 !important;

  border-radius: 18px 18px 0 0 !important;

  background: #eef7ff !important;
  color: #0757a8 !important;

  box-shadow: 0 10px 28px rgba(0, 61, 120, 0.09) !important;
}

.accordionsck .ui-accordion-header.ui-state-active::after {
  content: "−";

  background: #0757a8;
  color: #ffffff;
}

/* Inhalt */
.accordionsck .ui-accordion-content {
  margin: -1px 0 0 0 !important;

  padding: 24px 26px 28px !important;

  border: 1px solid #79b5e8 !important;
  border-top: 0 !important;

  border-radius: 0 0 18px 18px !important;

  background: #ffffff !important;

  color: #4e5966 !important;

  font-size: 17px !important;
  line-height: 1.65 !important;

  box-shadow: 0 12px 28px rgba(0, 61, 120, 0.07) !important;
}

/* Links im Accordion */
.accordionsck .ui-accordion-content a {
  color: #ffffff !important;
  font-weight: 600;
  text-decoration: none;
}

.accordionsck .ui-accordion-content a:hover {
  text-decoration: underline;
  color: #000000 !important;
}

/* Mobil */
@media (max-width: 767px) {

  .accordionsck .ui-accordion-header {
    padding: 17px 54px 17px 18px !important;

    border-radius: 15px !important;

    font-size: 17px !important;
  }

  .accordionsck .ui-accordion-header::after {
    right: 15px;

    width: 30px;
    height: 30px;

    font-size: 20px;
  }

  .accordionsck .ui-accordion-header.ui-state-active {
    border-radius: 15px 15px 0 0 !important;
  }

  .accordionsck .ui-accordion-content {
    padding: 20px !important;

    border-radius: 0 0 15px 15px !important;

    font-size: 16px !important;
  }
}






/* JoomShopping – Zurück zum Shop ausblenden */
.jshop.cart_buttons #checkout .pull-left {
    display: none !important;
}

/* Checkout weiterhin ganz rechts */
.jshop.cart_buttons #checkout {
    display: flex !important;
    justify-content: flex-end !important;
    width: 100%;
}

.jshop.cart_buttons #checkout .pull-right {
    margin-left: auto !important;
}
/* Richtet den gesamten Block und alle Schriften ein */
.product_name .list_attribute,
.product_name .list_attribute *,
.product_name .jshop_cart_attribute,
.product_name .jshop_cart_attribute * {
    font-style: normal !important; /* Verhindert Kursivschrift */
    font-family: inherit; /* Nutzt die Standardschrift des Templates */
    font-size: 14px; /* Gut lesbare, einheitliche Größe */
}

/* Hält JEDES einzelne Attribut als kompakte Zeile zusammen */
.product_name .list_attribute p,
.product_name .list_attribute div,
.product_name .list_attribute .jshop_cart_attribute {
    margin-top: 2px !important; /* Minimaler Abstand nach oben */
    margin-bottom: 2px !important; /* Minimaler Abstand nach unten */
    padding: 0 !important; /* Keine Innenabstände */
    display: block !important; /* Jedes Attribut kriegt eine eigene Zeile */
    line-height: 1.4 !important;
}

/* Zwingt Name, Doppelpunkt und Wert INNERHALB des Attributs in dieselbe Zeile */
.product_name .list_attribute span,
.product_name .list_attribute .name,
.product_name .list_attribute .value {
    display: inline !important; /* Verhindert den Zeilenumbruch */
    margin: 0 !important;
    padding: 0 !important;
}

/* Hebt den Feldnamen (z.B. "Alter am Kurstag") fett hervor */
.product_name .list_attribute .name,
.product_name .list_attribute strong {
    font-weight: bold !important;
}



/* Blendet die Spaltenüberschrift "Anzahl" aus */
table.jshop .quantity,
table.cart .quantity {
    display: none !important;
}

/* Blendet das Eingabefeld und das Aktualisieren-Symbol im Warenkorb aus */
table.jshop .jshop_prod_cart td:nth-child(4),
table.cart .jshop_prod_cart td:nth-child(4) {
    display: none !important;
}

/* Blendet das Mengenfeld und die Beschriftung aus */
.prod_buttons .prod_qty,
.prod_buttons .prod_qty_input {
    display: none !important;
}


/* Modernes Design für den jQuery UI Datepicker */
.ui-datepicker {
    background: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
    font-family: inherit !important;
    padding: 15px !important;
    width: 300px !important;
    z-index: 9999 !important;
}

/* Headerbereich mit Monats-/Jahresauswahl */
.ui-datepicker-header {
    background: transparent !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 0 12px 0 !important;
}

/* Dropdowns für Monat & Jahr */
.ui-datepicker-title select {
    background-color: #f3f4f6 !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 6px !important;
    padding: 4px 6px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
    outline: none !important;
    cursor: pointer !important;
}

/* Tabelle sauber ausrichten */
.ui-datepicker table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 4px !important; /* Abstand zwischen den Kacheln */
    margin: 0 !important;
}

/* Wochentage (Header-Zeile) */
.ui-datepicker th {
    color: #6b7280 !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    padding: 4px 0 !important;
    border: none !important;
    text-align: center !important;
}

/* Tabellenzellen-Reset */
.ui-datepicker td {
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

/* Einheitliche Kachel-Größe & Ausrichtung für ALLE Tage */
.ui-datepicker td a, 
.ui-datepicker td span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 36px !important;
    width: 100% !important;
    border-radius: 8px !important;
    border: none !important;
    font-size: 13px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    text-decoration: none !important;
}

/* 1. BUCHBARE TAGE (BLAU) */
.ui-datepicker td:not(.ui-state-disabled) a {
    background: #2563eb !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
}

.ui-datepicker td:not(.ui-state-disabled) a:hover {
    background: #1d4ed8 !important;
}

.ui-datepicker td:not(.ui-state-disabled) a.ui-state-active {
    background: #0f172a !important;
    color: #ffffff !important;
}

/* 2. NICHT BUCHBARE TAGE (NUR GRAUE KACHEL) */
.ui-datepicker td.ui-state-disabled span {
    background: #f3f4f6 !important; /* Nur die kleine Kachel ist grau */
    color: #9ca3af !important;
    font-weight: 500 !important;
    opacity: 1 !important;
}



#cf_1 {
  --font: Raleway;
  --background-color: rgba(237, 237, 237, 1);
  --border-radius: 15px;
  --label-color: #585858;
}
#cf_2 {
  --font: Raleway;
  --background-color: rgba(237, 237, 237, 1);
  --border-radius: 15px;
  --label-color: #585858;
}
#cf_3 {
  --font: Raleway;
  --background-color: rgba(237, 237, 237, 1);
  --border-radius: 15px;
  --label-color: #585858;
}
#cf_4 {
  --font: Raleway;
  --background-color: rgba(237, 237, 237, 1);
  --border-radius: 15px;
  --label-color: #585858;
}
#cf_5 {
  --font: Raleway;
  --background-color: rgba(237, 237, 237, 1);
  --border-radius: 15px;
  --label-color: #585858;
}

.btn1 {
  border: none;
  background: #c20000;
  -moz-border-radius: 10px;
  -o-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  -moz-border-radius: 10px 10px 10px 10px;
  -o-border-radius: 10px 10px 10px 10px;
  -webkit-border-radius: 10px 10px 10px 10px;
  border-radius: 10px 10px 10px 10px;
  color: #ffffff;
  padding-top: 20px;
  padding-right: 10px;
  padding-bottom: 20px;
  padding-left: 10px;
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
}

.btn1:hover {
  border: none;
  background: #efefef;
  -moz-border-radius: 10px;
  -o-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  -moz-border-radius: 10px 10px 10px 10px;
  -o-border-radius: 10px 10px 10px 10px;
  -webkit-border-radius: 10px 10px 10px 10px;
  border-radius: 10px 10px 10px 10px;
  color: #ffffff;
  padding-top: 20px;
  padding-right: 10px;
  padding-bottom: 20px;
  padding-left: 10px;
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
  color:#000000;
}

/* ==========================================================================
   1. HAUPTAUSWAHL-KACHELN (Kinder, Erwachsene, Snowboard, Privat, Skitour)
   ========================================================================== */

/* Blendat die hässlichen Standard-Radio-Auswahlpunkte komplett aus */
.skischul-grid-container input[type="radio"].skischul-kachel-input {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
}
.skischul-grid-container {
    text-align:center;
  font-weight: 600;
  font-size: 20px;
}

/* Das visuelle Design der grossen weissen Hauptkacheln */
.skischul-grid-container input[type="radio"].skischul-kachel-input + label,
.skischul-grid-container label.form-check-label {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    background-color: #ffffff !important;   /* Reinweisser Hintergrund */
    border: 1px solid #e0e0e0 !important;   /* Filigraner hellgrauer Rahmen */
    border-radius: 10px !important;         /* Exakter Eckenradius von 10 */
    padding: 35px 20px !important;          /* Komfortable Kachel-Höhe */
    cursor: pointer !important;
    text-align: center !important;
    width: 100% !important;
    height: 100% !important;
    box-sizing: border-box !important;
    font-weight: 700 !important;            /* Schrift dick / fett gedruckt */
    font-size: 1.15rem !important;
    color: #333333 !important;
    transition: all 0.25s ease-in-out !important;
}

/* ==========================================================================
   2. PISTEN-KACHELN (Grün, Blau, Rot, Schwarz)
   ========================================================================== */

/* Blendet die Radio-Auswahlpunkte der Pistenkacheln aus */
.pisten-grid-container input[type="radio"].pisten-kachel-input {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
}

/* Das visuelle Design der weissen Pistenkacheln */
.pisten-grid-container input[type="radio"].pisten-kachel-input + label,
.pisten-grid-container label.form-check-label {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    background-color: #ffffff !important;   /* Reinweisser Hintergrund */
    border: 1px solid #e0e0e0 !important;   /* Filigraner hellgrauer Rahmen */
    border-radius: 10px !important;         /* Exakter Eckenradius von 10 */
    padding: 25px 15px !important;          /* Etwas kompakterer Innenabstand */
    cursor: pointer !important;
    text-align: center !important;
    width: 100% !important;
    height: 100% !important;
    box-sizing: border-box !important;
    font-weight: 700 !important;            /* Schrift dick / fett gedruckt */
    color: #333333 !important;
    transition: all 0.25s ease-in-out !important;
}

/* Die runden Pisten-Farbkreise im Inneren der Kacheln */
.pisten-kreis {
    display: inline-block !important;
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    margin-bottom: 15px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1) !important;
}
.bg-green  { background-color: #28a745 !important; }
.bg-blue   { background-color: #0056b3 !important; }
.bg-red    { background-color: #dc3545 !important; }
.bg-black  { background-color: #1a1a1a !important; }


/* ==========================================================================
   3. DYNAMISCHE EFFEKTE (Hover & Aktiv-Zustand für beide Gruppen)
   ========================================================================== */

/* Hover: Sanftes Anheben der Kacheln, wenn man mit der Maus drüberfährt */
.skischul-grid-container label:hover, 
.pisten-grid-container label:hover {
    border-color: #a0a0a0 !important; 
    box-shadow: 0 6px 18px rgba(0,0,0,0.06) !important; 
    transform: translateY(-3px) !important;
}

/* Aktiv: Wenn eine Kachel (Hauptauswahl oder Piste) angeklickt/ausgewählt ist */
.skischul-grid-container input[type="radio"]:checked + label, 
.pisten-grid-container input[type="radio"]:checked + label {
    border-color: #007bff !important;       /* Rahmen färbt sich Skischul-Blau */
    background-color: #f8faff !important;   /* Minimaler, frischer bläulicher Schimmer */
    box-shadow: 0 6px 20px rgba(0,123,255,0.18) !important;
}
.cf-form-wrap.cf-col-16,
div.cf-form-wrap.cf-col-16,
.cf-form-wrapper .cf-form-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;      /* Zentriert alle inneren Elemente horizontal */
    justify-content: center !important;    /* Zentriert alle inneren Elemente vertikal */
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;         /* Die beiden Margins erzeugen die automatische Zentrierung */
    margin-right: auto !important;
    float: none !important;               /* Löscht alte CSS-Ausrichtungen, die nach links ziehen */
    text-align: center !important;
}

/* ==========================================================================
   INPUT-CONTAINER FIX (Zentriert die Klasse cf-control-input)
   ========================================================================== */
.cf-control-input,
.cf-form-wrapper .cf-control-input,
.convertforms .cf-control-input {
    display: flex !important;
    flex-direction: column !important; /* Stapelt die Inhalte sauber untereinander */
    align-items: center !important;     /* Zentriert die inneren Elemente horizontal */
    justify-content: center !important;  /* Zentriert die inneren Elemente vertikal */
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Falls Kachel-Grids (wie die Pistenfarben) in dieser Klasse liegen, 
   sorgen wir dafür, dass das Grid zentriert bleibt und nicht kollabiert */
.cf-control-input .choices-list,
.cf-control-input .form-check-inline-wrapper {
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}


/* ==========================================================================
   JoomShopping Modern Product Page Styling (Joomla 6)
   ========================================================================== */


/* Produkttitel */
.jshop h1 {
  margin-top: 0px;
  font-size: 40px;
  font-weight: 500;
  margin-bottom: 50px;
}

/* Buchungs-Box (Rechte Seite) */
div.col-lg-8.jshop_oiproduct {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
  text-align: left;
}

/* Formular-Zeilen (Grid für Label & Field) */
.jshop .jshop_address_attr,
.jshop .jshop_free_attributes,
.jshop .attributes_block {
    display: flex;
    flex-direction: column;

}

.jshop .jshop_address_attr .row,
.jshop .jshop_free_attributes .row,
.jshop .attribute_row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1rem;
}

/* Labels stylen */
span.attributes_name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.4rem;
    display: block;
}

.jshop label span.small,
.jshop .attr_name small {
    font-weight: 400;
    color: #64748b;
    font-style: italic;
    display: block;
}

/* Eingabefelder & Select-Boxen */
.jshop input[type="text"],
.jshop input[type="date"],
.jshop input[type="number"],
.jshop select {
    width: 100%;
    max-width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: #0f172a;
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
    box-sizing: border-box;
  margin-bottom:10px;
}

.jshop input:focus,
.jshop select:focus {
    background-color: #ffffff;
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Styling der Zeitauswahl (Radio-Buttons zu Pills/Buttons umwandeln) */
.jshop input[type="radio"] {
    accent-color: #2563eb;
    transform: scale(1.1);
    margin-right: 0.35rem;
    cursor: pointer;
}

/* Pflichtfeld-Hinweis */
.jshop .required_text,
.jshop .required_mark {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

/* Preis-Bereich */
.jshop .prod_price,
.jshop .product_price {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 0.5rem;
    margin: 2rem 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: #475569;
}

.jshop .prod_price .price,
.jshop .product_price #block_price {
    font-size: 1.85rem;
    font-weight: 800;
    color: #0f172a;
}

/* Warenkorb-Bereich (Menge + Button) */
.jshop .prod_buttons,
.jshop .cart_block {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.jshop input[name="quantity"] {
    width: 70px !important;
    text-align: center;
    padding: 0.75rem 0.5rem;
}

/* "Zum Warenkorb hinzufügen" - Button */
.jshop input[type="submit"].btn-buy,
.jshop .button_buy,
.jshop input.js_button_buy {
    background-color: #2563eb;
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.85rem 1.75rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

.jshop input[type="submit"].btn-buy:hover,
.jshop .button_buy:hover {
    background-color: #1d4ed8;
    transform: translateY(-1px);
}

.jshop input[type="submit"].btn-buy:active,
.jshop .button_buy:active {
    transform: translateY(0);
}

/* Responsive Anpassung für Mobilgeräte */
@media (max-width: 768px) {
    .jshop.productpage .product-attribs,
    .jshop.productpage form[name="product"] {
        padding: 1.25rem;
    }
    
    .jshop .prod_buttons,
    .jshop .cart_block {
        flex-direction: column;
        align-items: stretch;
    }
    
    .jshop input[name="quantity"] {
        width: 100% !important;
    }
}


/* ==========================================================================
   JoomShopping Produktdetail-Design (Exakt auf Ihre DOM-Struktur angepasst)
   ========================================================================== */

/* 1. PRODUKTBILD & RUNDUNG */
/* Abgerundete Ecken & moderner Schatten für das Hauptbild */
.productfull .image_middle img,
.productfull #list_product_image_middle img {
    border-radius: 14px !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1) !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover !important;
}

/* 2. VERGRÖSSERN-TEXT / LINK AUSBLENDEN */
/* Entfernt den Text "vergrößern" (.text_zoom) unter dem Bild vollständig */
.productfull .image_middle .text_zoom,
.productfull #list_product_image_middle .text_zoom {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* ==========================================================================
   JoomShopping CSS (Exakt abgestimmt auf PHP-Template 5.6.2)
   ========================================================================== */

/* 1. PRODUKTBILD & RUNDUNGEN */
.jshop .image_middle img,
.jshop #list_product_image_middle img {
    border-radius: 12px !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover !important;
}

/* "vergrößern" (.text_zoom) unter dem Bild ausblenden */
.jshop .image_middle .text_zoom,
.jshop #list_product_image_middle .text_zoom {
    display: none !important;
}


/* 2. RECHTER BUCHUNGSCONTAINER (KARTEN-DESIGN) */
.jshop .jshop_oiproduct {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 1.75rem !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
}


/* 3. FORMULAR-FELDER: LABELS ÜBER DEN EINGABEFELDERN */

/* Attribute & Freie Attribute als vertikalen Stapel erzwingen */
.jshop .jshop_prod_attributes .row,
.jshop .prod_free_attribs .row {
    display: flex !important;
    flex-direction: column !important; /* Stapelt Spalten untereinander */
    margin-bottom: 1.25rem !important;
}

/* Linke Spalte (Labels) auf volle Breite dehnen & über das Feld stellen */
.jshop .attributes_title,
.jshop .prod_free_attribs .name {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    text-align: left !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    margin-bottom: 0.35rem !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Rechte Spalte (Inputs/Selects) ebenfalls auf volle Breite */
.jshop .jshop_prod_attributes .col-lg-10,
.jshop .prod_free_attribs .field {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    text-align: left !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Styling aller Texteingabefelder, Datumsfelder & Dropdowns */
.jshop .prod_free_attribs input[type="text"],
.jshop .prod_free_attribs input[type="date"],
.jshop .prod_free_attribs select,
.jshop .jshop_prod_attributes select {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.95rem !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    background-color: #f8fafc !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease;
}

.jshop input[type="text"]:focus,
.jshop select:focus {
    background-color: #ffffff !important;
    border-color: #2563eb !important;
    outline: none !important;
}


/* 4. ZEITAUSWAHL (RADIO-BUTTONS) LINKSBÜNDIG NEBENEINANDER */
.jshop .prod_free_attribs input[type="radio"],
.jshop .jshop_prod_attributes input[type="radio"] {
    margin-right: 0.35rem !important;
}

.jshop .prod_free_attribs label,
.jshop .jshop_prod_attributes label {
    display: inline-flex !important;
    align-items: center !important;
    margin-right: 1.25rem !important;
    margin-bottom: 0.5rem !important;
    font-weight: 400 !important;
    cursor: pointer;
}


/* 5. PFLICHTFELD-HINWEIS LINKSBÜNDIG */
.jshop .requiredtext {
    text-align: left !important;
    margin-top: 1rem !important;
    font-size: 0.85rem !important;
    color: #ef4444 !important;
}


/* ==========================================================================
   JoomShopping: Hellgraue Infobox unter dem Bild mit Badge auf dem Border
   ========================================================================== */

/* 1. Box-Container für das Pseudoelement vorbereiten */
.productfull .col-lg-4 .jshop_prod_description {
    position: relative !important;        /* Wichtig für die Positionierung des Schriftzugs */
    margin-top: 1.75rem !important;      /* Etwas mehr Platz nach oben für das Label */
    padding: 1.5rem 1.25rem 1.25rem 1.25rem !important;
    background-color: #f8fafc !important; /* Helles Modern-Grau */
    border: 1px solid #cbd5e1 !important;   /* Sauberer Rand */
    border-radius: 12px !important;         /* Abgerundete Ecken */
    color: #334155 !important;
    font-size: 0.925rem !important;
    line-height: 1.6 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
  margin-bottom:10px;
}

/* 2. Das Wort "INFOBOX" direkt auf dem oberen Border platzieren */
.productfull .col-lg-4 .jshop_prod_description::before {
    content: "INFOBOX" !important;
    position: absolute !important;
    top: -12px !important;                /* Zieht den Schriftzug mittig auf die Border-Linie */
    left: 1.25rem !important;             /* Abstand vom linken Rand */
    background-color: #f8fafc !important; /* Gleiche Hintergrundfarbe für nahtlosen Übergang */
    padding: 0 8px !important;            /* Unterbricht die Border-Linie um den Text herum */
    
    /* Typografie */
    color: #0f172a !important;            /* Tiefes Schwarz */
    font-weight: 800 !important;          /* Fettdruck */
    font-size: 0.75rem !important;        /* Kompakt & dezent */
    letter-spacing: 0.08em !important;    /* Leichtes Letter-Spacing für modernen Look */
    text-transform: uppercase !important; /* Großbuchstaben */
}

/* 3. Texte & Inhalt innerhalb der Infobox */
.productfull .col-lg-4 .jshop_prod_description p {
    margin-bottom: 0.5rem !important;
}

.productfull .col-lg-4 .jshop_prod_description p:last-child {
    margin-bottom: 0 !important;
}

.productfull .col-lg-4 .jshop_prod_description ul {
    padding-left: 1.1rem !important;
    margin-bottom: 0.5rem !important;
}

.productfull .col-lg-4 .jshop_prod_description li {
    margin-bottom: 0.25rem !important;
}
.radio_attr_label img {
  width: 60px;
  height: 60px;
}


/* ==========================================
   JOOMSHOPPING PRODUKTÜBERSICHT - MODERNES DESIGN
   ========================================== */

/* 1. Produktkarte (Card Layout & Rahmen) */
.jshop.list_product .block_product {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;            /* Dünner, eleganter Rahmen */
    border-radius: 12px;                   /* Abgerundete Ecken der Karte */
    padding: 16px;
    margin-bottom: 24px;
    transition: all 0.3s ease-in-out;     /* Weicher Übergang für Hover */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

/* 2. Mouseover-Effekt (Hover mit leichtem Schein) */
.jshop.list_product .block_product:hover {
    border-color: #cbd5e1;
    transform: translateY(-4px);           /* Leichtes Anheben der Karte */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12), 
                0 0 15px rgba(59, 130, 246, 0.15); /* Leichter Schein nach außen */
}

/* 3. Produkttitel (Schwarz, fett, nicht unterstrichen) */
.jshop.list_product .name a {
    color: #1e293b !important;            /* Dunkles Schwarz/Graphit */
    font-weight: 700 !important;           /* Dickere Schrift */
    text-decoration: none !important;     /* Unterstreichung entfernen */
    font-size: 1.05rem;
    line-height: 1.4;
    display: inline-block;
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.jshop.list_product .name a:hover {
    color: #2563eb !important;            /* Optionaler kleiner Farbakzent beim Drüberfahren */
    text-decoration: none !important;
}

/* 4. Produktbilder mit abgerundeten Ecken */
.jshop.list_product .image img {
    border-radius: 8px !important;         /* Abgerundete Bild-Ecken */
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

/* Optional: Dezent er Zoom-Effekt auf das Bild beim Hovern */
.jshop.list_product .block_product:hover .image img {
    transform: scale(1.02);
}



/* ==========================================
   JOOMSHOPPING KATEGORIEÜBERSICHT - MODERNES DESIGN
   ========================================== */

/* 1. Kategorie-Karten (Rahmen & Schatten) */
.jshop_list_category .jshop_categ.category {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;            /* Dünner Rahmen */
    border-radius: 12px;                   /* Abgerundete Ecken */
    padding: 16px;
    margin-bottom: 24px;
    transition: all 0.3s ease-in-out;     /* Weicher Übergang */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

/* 2. Mouseover-Effekt (Hover mit Schein nach außen) */
.jshop_list_category .jshop_categ.category:hover {
    border-color: #cbd5e1;
    transform: translateY(-4px);           /* Leichtes Anheben */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12), 
                0 0 15px rgba(59, 130, 246, 0.15); /* Leichter blauer Schein */
}

/* 3. Kategorie-Bilder mit abgerundeten Ecken */
.jshop_list_category .image img {
    border-radius: 8px !important;         /* Abgerundete Bild-Ecken */
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

/* Dezent er Zoom-Effekt für das Bild beim Drüberfahren */
.jshop_list_category .jshop_categ.category:hover .image img {
    transform: scale(1.02);
}

/* 4. Kategorie-Titel (Schwarz, fett, ohne Unterstreichung) */
.jshop_list_category .category_name a {
    color: #1e293b !important;            /* Dunkler Ton / Schwarz */
    font-weight: 700 !important;           /* Fett formatiert */
    text-decoration: none !important;     /* Keine Unterstreichung */
    font-size: 1.1rem;
    display: inline-block;
    margin-top: 12px;
    transition: color 0.2s ease;
}

.jshop_list_category .category_name a:hover {
    color: #2563eb !important;            /* Farbakzent beim Hover */
    text-decoration: none !important;
}

/* 5. Kurzbeschreibung zentrieren (falls vorhanden) */
.jshop_list_category .category_short_description {
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 6px;
}

/* ==========================================
   FESTE SPALTENBREITE AUCH BEI WENIGER PRODUKTEN
   ========================================== */

/* 1. Container als Flexbox konfigurieren */
.jshop_list_category .row-fluid,
.jshop.list_product .row-fluid {
    display: flex !important;
    flex-wrap: wrap;
    gap: 30px !important;           /* Abstand zwischen den Kacheln */
}

/* 2. Bei 3 Spalten pro Zeile (sblock3 / sblock4 / sblock5) */
.jshop_list_category [class*="sblock"],
.jshop.list_product [class*="sblock"] {
    margin-left: 0 !important;      /* Bootstrap-Ränder zurücksetzen */
    
    /* 
       flex: flex-grow flex-shrink flex-basis
       0 = NICHT aufziehen, wenn weniger Elemente da sind
    */
    flex: 0 0 calc(33.333% - (60px / 3)) !important; 
    max-width: calc(33.333% - (60px / 3)) !important;
    box-sizing: border-box;
}

/* 3. Mobile Ansicht (unter 768px -> 1 Spalte / vollbreit) */
@media (max-width: 767px) {
    .jshop_list_category [class*="sblock"],
    .jshop.list_product [class*="sblock"] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}