/* ==========================================================
   D.I.B. uStore Custom CSS
   Bereinigte Fassung – 11.08.2026
   ========================================================== */


/* ==========================================================
   1. Fonts
   ========================================================== */

@font-face {
  font-family: 'ITCKabelStd-Medium';
  src:
    url('/uStore/Images/AquaBlueDIBv2/Fonts/ITCKabelStd-Medium.woff2') format('woff2'),
    url('/uStore/Images/AquaBlueDIBv2/Fonts/ITCKabelStd-Medium.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Open Sans';
  src:
    url('/uStore/Images/AquaBlueDIBv2/Fonts/open-sans-v15-vietnamese_latin_greek-ext_cyrillic_greek_cyrillic-ext_latin-ext-regular.woff2') format('woff2'),
    url('/uStore/Images/AquaBlueDIBv2/Fonts/open-sans-v15-vietnamese_latin_greek-ext_cyrillic_greek_cyrillic-ext_latin-ext-regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}


/* ==========================================================
   2. Allgemeine Typografie und Bedienelemente
   ========================================================== */

.formfield,
.FormField {
  font-family: var(--font-family);
}

b,
strong {
  font-weight: bold;
}

.product-name {
  font-weight: bold;
}

.product-item .add-to-cart .add-to-cart-controls .add-to-cart-button-wrapper .add-to-cart-button {
  padding: 5px 10px;
}

.FieldOptionItem.selected.FOGrid .optionIcon {
  border: 1px solid var(--button-primary-border-color);
  background-color: var(--button-primary-background-color);
}

/* Standard-Button an dieser Stelle ausblenden */
div.button.button-primary.truncate {
  display: none;
  font-family: var(--font-family);
  padding: 5px 15px;
}


/* ==========================================================
   3. Shop-Navigation, Preise und Promotion
   ========================================================== */

div.switcher.culture.dropdown,
div.switcher.currency.dropdown {
  display: none;
}

.price-display .price-currency,
.total-price .price-currency {
  display: none;
}

.promotion-item .main {
  top: calc(var(--carousel-height-desktop) / -0.825);
}

@media (max-width: 1199px) {
  .promotion-item .main {
    top: calc(var(--carousel-height-mobile) / -0.825);
  }
}

.promotion-item .title-area {
  font-family: 'ITCKabelStd-Medium', Helvetica, Arial, sans-serif;
}

/* Bei Bedarf aktivieren:
.promotion-item .title-area .subtitle {
  display: none;
}
*/


/* ==========================================================
   4. Login und Registrierung
   ========================================================== */

#aspnetForm.ustore_Login {
  background-image: url('https://shop.teamjansen.de/ustoreThemeCustomizations/b1a82f5b-4d86-46fb-a28c-0372e0b69f91/Draft/Assets/Header_neuer_Shop-Startseite.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.LoginMaster #bodyarea,
.mainareaFullWidth {
  background-color: transparent;
}

.formbox,
.LockedUserDiv,
.LoginPasswordExpired,
.LockedUser {
  background-color: rgba(241, 241, 241, 0.75);
}

#ctl00_cphMainContent_Message.ErrorText {
  font-weight: bold;
}

#RegisterValidationSummary.ErrorText {
  background-color: var(--color-error) !important;
  padding: 10px;
  color: white !important;
  font-weight: bold;
  line-height: calc(var(--text-size-regular) * 1.25);
}

#ctl00_cphMainContent_pnlActivationMessage {
  color: #fff;
}


/* ==========================================================
   5. Gewährverschluss-Eingaben
   ========================================================== */

div[id^='Dial_'].Duc > dl[id$='ducWrapper'] > dt:nth-child(1),
div[id^='Dial_'].Duc > ul[id$='ducWrapper'] > li > dl > dt:nth-child(1) {
  padding-bottom: 0;
}

.Duc {
  margin-bottom: 0;
}

.dtiName,
.dtiValue,
.dmiName,
.dddlName,
.dddlValue {
  width: 80%;
}

.dtiStringTextBox {
  width: 80%;
}

.Duc input[type='checkbox'] {
  -ms-transform: scale(1.5);
  -moz-transform: scale(1.5);
  -webkit-transform: scale(1.5);
  -o-transform: scale(1.5);
  transform: scale(1.5);
  margin: 8px;
}

#ctl00_cphMainContent_btnRecalculate {
  display: none;
}


/* ==========================================================
   6. Checkout
   ========================================================== */

.CheckOutPage .cartSummary .totalBackground {
  background-color: var(--button-primary-background-color);
}

#ctl00_cphMainContentFooter_btnCheckout {
  background-color: var(--button-primary-background-color);
  color: var(--button-primary-text-color);
}


/* ==========================================================
   7. Hinweise / Alerts
   ========================================================== */

.rolfs_alert {
  width: 100%;
  height: auto;
  padding: 3px 10px;
  line-height: 1.8;
  border-radius: 5px;
  cursor: pointer;
  display: table;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-family);
  font-size: var(--text-size-label);
}

.rolfs_alert a {
  font-size: var(--text-size-label);
}

.rolfs_alert.info {
  background: var(--header-background-color);
  border: 1px solid var(--color-line);
  color: var(--text-color-header);
}

.rolfs_alert.success {
  background-color: #EFE;
  border: 1px solid #DED;
  color: #9A9;
}

.rolfs_alert.notice {
  background-color: #EFF;
  border: 1px solid #DEE;
  color: #9AA;
}

.rolfs_alert.warning {
  background-color: #FDF7DF;
  border: 1px solid #FEEC6F;
  color: #C9971C;
}

.rolfs_alert.error {
  background-color: var(--color-error);
  border: 1px solid var(--color-error);
  color: #fff;
  margin-top: var(--text-size-label);
  margin-bottom: var(--text-size-label);
}


/* ==========================================================
   8. Deaktivierte Links / Benutzerkonto
   ========================================================== */

/* Verhindert die Standard-Verlinkung bei deaktivierten Links. */
.rolfs_deactivated_link {
  pointer-events: none;
  background-color: #f1f1f3 !important;
  color: var(--text-color-disabled) !important;
  border-color: #f1f1f3 !important;
}

/* Benutzer darf den Nickname nicht ändern. */
.linkEditNickName {
  display: none !important;
}

div.divNickName:hover {
  pointer-events: none !important;
}

/* Bestimmte Profildaten nur lesbar darstellen. */
.PersonalInformation #trEditInfo input#ctl00_cphMainContent_txtEmailAddress.FormField,
#ctl00_cphMainContent_txtCustom3,
#ctl00_cphMainContent_txtCustom4,
#ctl00_cphMainContent_txtCustom5 {
  pointer-events: none !important;
  background-color: #f1f1f3 !important;
  border-color: #f1f1f3 !important;
}


/* ==========================================================
   9. D.I.B. Modal-Komponente
   ========================================================== */

.dib-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 999;
}

.dib-modal {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1024px;
  max-height: 80vh;
  overflow-y: auto;
  background: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  z-index: 1000;
}

.dib-modal-content {
  font-size: var(--text-size-label);
  font-family: var(--font-family);
  padding: 20px;
}

.dib-modal-content h2 {
  font-size: var(--text-size-h2);
  font-weight: bold;
  margin: 0 0 10px 0;
}

.dib-modal-content p {
  margin: 10px 0;
}

.dib-modal-content ul {
  padding-left: 0;
  list-style: none;
  margin-bottom: 1em;
}

.dib-modal-content ul li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1em;
}

.dib-modal-content ul li strong {
  min-width: 9em;
  display: inline-block;
}

.dib-modal-content ul li span {
  flex: 1;
}

.dib-modal-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 1em;
}

.dib-modal-buttons .btn {
  font-family: var(--font-family);
}

.dib-modal-cancel {
  color: var(--button-secondary-text-color) !important;
  background-color: var(--button-secondary-background-color);
  border-color: var(--button-secondary-border-color) !important;
}

@media (max-width: 767px) {
  .dib-modal {
    width: 95%;
    max-height: 85vh;
  }

  .dib-modal-content {
    padding: 15px;
  }

  .dib-modal-content ul li {
    display: block;
  }

  .dib-modal-content ul li strong {
    min-width: 0;
    display: block;
    margin-bottom: 3px;
  }
}