@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('fonts/cinzel/cinzel_1.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('fonts/cinzel/cinzel_2.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --theme: #ffe659;
  --theme-green: #0e120e;
}

body {
  background: linear-gradient(rgb(19, 24, 19), rgb(0, 0, 0));
}

content>div {
  min-height: 50vh;
}

.title {
  text-align: center;
  color: var(--theme);
  padding: 1.5rem 0;
}

.post .title {
  color: white;
}

.bg-theme {
  background: var(--theme);
}

.text-theme {
  color: var(--theme);
}

.border-theme {
  border-color: var(--theme);
}

.hide-me {
  display: none;
}

.pointer,
.form-check-label {
  cursor: pointer;
}

.font-theme,
.font-cinzel,
.card-header,
.title,
.btn:not(.dropdown-toggle),
footer h5 {
  font-family: "Cinzel", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.font-default {
  font-family: var(--bs-body-font-family);
}

.alert-theme {
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  color: #ffffff;
  background-color: #9ba9c3;
  border-color: rgba(155, 169, 195, 0.25);
  background: linear-gradient(to right, transparent 0%, rgba(155, 169, 195, 0.6) 45%, rgba(155, 169, 195, 0.6) 55%, transparent 100%);
}

.alert-theme.small {
  padding: .5rem;
}

hr {
  border-color: var(--theme) !important;
  opacity: 1;
}

.btn {
  border-radius: 0;

}

.btn-block {
  width: 100%;
  text-align: center;
}

.nav-link {
  color: var(--theme) !important;
}

label.col-sm-3 {
  padding-right: 1rem;
}

.sortable>div>div {
  cursor: move;
}


.previews.sortable>.col:first-child div {
  border: 1px solid var(--theme);
}

.previews.sortable>.col:first-child div:after {
  content: 'Titelbild';
  font-family: "Cinzel", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  color: black;
  background: var(--theme);
  position: absolute;
  width: 100%;
  text-align: center;
  padding: 3px;
  bottom: 0;
}

.card {
  border-radius: 0 !important;
  /*  margin-bottom: var(--bs-gutter-x); */
}

.card-header {
  border-radius: 0 !important;
  color: var(--theme);
  text-align: center;
  font-size: 1.25rem;
}

.card-header:not(:first-child) {
  border-top: var(--bs-card-border-width) solid var(--bs-card-border-color);
}

.selectize-input,
.selectize-input input {
  background-color: var(--bs-body-bg) !important;
  color: var(--bs-body-color) !important;
  border: var(--bs-border-width) solid var(--bs-border-color);
}

.selectize-control.multi .selectize-input>div {
  background: var(--theme) !important;
  color: #343a40;
  padding: 0 5px !important;
}

.selectize-control.plugin-remove_button .item .remove {
  border-left: 1px solid #343a40;
  color: #343a40;
}

.dropdown-toggle.no-carret:after {
  display: none !important;
}

.selectize-dropdown,
.tooltip,
.dropdown-menu.show {
  z-index: 9999 !important;
}

.card-header p:last-of-type,
.card-body p:last-of-type {
  margin: 0 !important;
}

footer h5 {
  color: var(--theme) !important;
}

footer a {
  color: white;
  text-decoration: none;
}

footer p {
  margin-bottom: .5rem;
}

#mein-zeitzeigen a,
#uhrentyp_alle a,
#hersteller_alle a {
  color: rgba(255, 255, 255, .7);
  text-decoration: none;
  padding: .25rem;
  font-size: .875em;
  border: 1px solid transparent;
  transition: .25s;
  text-transform: capitalize;
}

#mein-zeitzeigen a:hover,
#uhrentyp_alle a:hover,
#hersteller_alle a:hover {
  background-color: rgba(0, 0, 0, .2);
  color: var(--theme) !important;
  border-color: var(--theme) !important;
  transition: .25s;
}

#mein-zeitzeigen a {
  padding: .2rem 1rem;
  display: block;
  border: none;
  font-size: 15px;
}

.offcanvas {
  height: auto !important;
}

.buttons-container {
  background: red;
  background-color: red;
}

.grayscale {
  filter: grayscale(100%);
}

.messages {
  max-height: 100vh;
  overflow: auto;
}

.border-transparent {
  border-color: transparent !important;
}

#mein-zeitzeigen .badge {
  font-size: .875em !important;
}

.detailfilter .dropdown-toggle {
  border-color: var(--bs-border-color);
}

content .card-body p a,
.nobr {
  white-space: nowrap;
}

.vorschau .text-white-50 a:hover,
.vorschau .text-white-50 span.set-status:hover {
  color: white !important;
}

.btn-secondary:hover {
  background: #474d52 !important;
}


#flags {
  width: 100% !important;
}

#quicksearch .item {
  color: var(--theme) !important;
}

.dark-tooltip {
  --bs-tooltip-bg: RGBA(var(--bs-secondary-rgb), var(--bs-bg-opacity, 1)) !important;
  --bs-tooltip-color: white;
  opacity: 1 !important;
}

.btn-xs {
  --bs-btn-padding-y: 0.15rem;
  --bs-btn-padding-x: 0.25rem;
  --bs-btn-font-size: 0.8rem;
  --bs-btn-border-radius: var(--bs-border-radius-sm);
}

.table-white {
  --bs-table-color: #000;
  --bs-table-bg: #fff;
  --bs-table-border-color: #c6c7c8;
  --bs-table-striped-bg: #ecedee;
  --bs-table-striped-color: #000;
  --bs-table-active-bg: #dfe0e1;
  --bs-table-active-color: #000;
  --bs-table-hover-bg: #e5e6e7;
  --bs-table-hover-color: #000;
  color: var(--bs-table-color);
  border-color: var(--bs-table-border-color);
}

.zoom-in {
  cursor: zoom-in;
}

a.hover {
  border: 1px solid transparent;
  padding: 5px;
  transition: .25s;
}

a.hover:hover {
  border-color: var(--theme) !important;
  transition: .25s;
}

.dropdown-menu .btn-link.opacity-50:hover {
  opacity: .9 !important;
}

.toggle-favorit-inserat>.fa-circle.remove {
  text-shadow: 0 0 10px #ff00ff;
}

.btn-my-delete:hover {
  opacity: 0.5;
}

.about-loader {
  width: 48px;
  height: 48px;
  border: 3px solid #b38f23;
  border-radius: 50%;
  display: inline-block;
  position: absolute;
  top: 50%;
  right: 47%;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
  z-index: 9999;
}

.about-loader::after {
  content: '';
  box-sizing: border-box;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid;
  border-color: #ffc107 transparent;
  z-index: 9999;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.description-container {
  padding: 20px 0 0 0;
  text-align: justify;
}

.news-container {
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 7px;
}

.news-container-2 {
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 7px;
  margin-top: 7px;
}

.news-container-3 {
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 7px;
  margin-top: 7px;
}

.news-text-container {
  width: 50%;
  min-height: 411px;
  max-height: 411px;
}

.news-text {
  min-height: 90%;
  max-height: 100%;
  overflow-y: scroll;
  scrollbar-color: var(--bs-border-color) var(--bs-body-bg);
  scrollbar-width: thin;
}

.news-images-container {
  display: flex;
  flex-direction: column;
  width: 50%;
  gap: 7px;
}

.news-image-1,
.news-image-2 {
  display: flex;
  min-height: 200px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.my-shop-link a {
  text-decoration: none;
}

.my-shop-link a:hover {
  opacity: 0.3;
}

#aboutSettingsModal .modal-content {
  border-radius: 15px;
}

#aboutSettingsModal .form-check-label {
  font-size: 0.95rem;
}

#disableWarning small {
  font-size: 0.85rem;
  line-height: 1.4;
}

.page-controls {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.edit-mode-active {
  position: relative;
  border: 2px dashed #0d6efd;
  padding: 15px;
  margin: 10px 0;
}

.edit-mode-active::after {
  content: "Edit Mode";
  position: absolute;
  top: -10px;
  left: 10px;
  background: #0d6efd;
  color: white;
  padding: 2px 5px;
  font-size: 0.8em;
  border-radius: 3px;
}

.newsletter-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  margin-top: 15px;
  padding: 15px 0;
}

.newsletter-subscription {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.newsletter-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.newsletter-info p {
  margin: 0;
  padding: 0;
}






/* Button Basis */
.dark-toggle {
    display: flex;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.3s ease;
}
/* Icon Basis */
.dark-toggle .icon {
    width: 24px;
    height: 24px;
    display: none; /* Start: beide unsichtbar */
    transition: opacity 0.3s ease;
}

/* Standard: Sonne sichtbar (Light Mode) */
body.light .cs-sun {
    display: block;
    fill: #f39c12;
}

/* Dark Mode: Mond sichtbar */
body.dark .cs-moon {
    display: block;
    filter: invert(0%);
}

body.dark header {
    background-color: #000 !important;
padding: 20px !important;
}



/* ===========================
   Dark/Light Mode Styles
=========================== */

/* Light Mode */

body.light header {
padding: 20px !important;
}


body.light .text-white {
    color: #000 !important;
}

body.light .text-white-50 {
    color: #000 !important;
}



body.light {
  background-color: #333 !important;
  background: linear-gradient(white, #ccc) !important;
  color: #000 !important;
}

body.light a {
  color: #000 !important;
}

body.light .card {
  background-color: #fff !important;
  color: #000 !important;
  border: 1px solid #fff !important;
}

body.light header,
body.light footer {
  background-color: #fff !important;
  color: #000 !important;
  border-color: #fff !important;
}

body.light button {
  color: #000 !important;
}

body.light .btn:hover {
  background-color: #e0e0e0 !important;
}

/* Dark Mode */
body.dark {
  background-color: #000000 !important;
  background: linear-gradient(rgb(19, 24, 19), rgb(0, 0, 0)) !important;
  color: #fff !important;
}



body.dark .card {
  background-color: #111 !important;
  color: #fff !important;
  border: 1px solid #444 !important;
}

body.dark header,
body.dark footer {
  background-color: #000 !important;
  color: #fff !important;
  border-color: #444 !important;
}



body.dark .btn:hover {
  background-color: #444 !important;
}

/* Icons für Toggle */
body.light .cs-sun {
  display: block !important;
  fill: #000 !important;
}

body.light .cs-moon {
  display: none !important;
}

body.dark .cs-sun {
  display: none !important;
}

body.dark .cs-moon {
  display: block !important;
  fill: #fff !important;
}


body.light .title {
    color: #000 !important;
}

body.light footer h5 {
    color: #000 !important;
}

body.dark div.wpforms-container-full .wpforms-field-label-inline, .wp-core-ui div.wpforms-container-full .wpforms-field-label-inline {
    color: #fff !important;
}

body.dark div.wpforms-container-full .wpforms-field-label, .wp-core-ui div.wpforms-container-full .wpforms-field-label {
    color: #fff !important;
}

body.dark div.wpforms-container-full .wpforms-field-sublabel, .wp-core-ui div.wpforms-container-full .wpforms-field-sublabel {
    color: #fff !important;
}

body.light div.wpforms-container-full .wpforms-field-label-inline, .wp-core-ui div.wpforms-container-full .wpforms-field-label-inline {
    color: #fff !important;
}

body.light div.wpforms-container-full .wpforms-field-label, .wp-core-ui div.wpforms-container-full .wpforms-field-label {
    color: #fff !important;
}

body.light div.wpforms-container-full .wpforms-field-sublabel, .wp-core-ui div.wpforms-container-full .wpforms-field-sublabel {
    color: #fff !important;
}

body.dark .modal-title {
    color: #000 !important;
}

body.dark .modal-body{
    color: #000 !important;
}

body.dark .table {
    --bs-table-color: #fff;
    --bs-table-bg: #111111;
}

.col .card .card-body {
    margin: 0 auto;
}




body.light .text-white {
    --bs-text-opacity: 1;
    color: #fff !important;
}

body.light .text-light {
    --bs-text-opacity: 1;
    color: #000 !important;
}

body.light .card-footer:last-child button {
    color: #fff !important;
}


body.dark .small .text-white-50 {
    color:rgba(255, 255, 255, .5) !important;
}

.dark-tooltip.bs-tooltip-auto[data-bs-popper] .tooltip-inner {
    background-color: #333;
    color: #fff;
}

.share-dropdown {
  display: none;
  position: absolute;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.share-dropdown .icon {
  margin: 5px;
  text-align: center;
  display: inline-block;
  font-size: 20px;
  color: #333;
  cursor: pointer;
}

.share-dropdown .icon:hover {
  color: #FFC107;
}

.pointer {
  cursor: pointer;
}

body.light .text-theme {
    color: #000 !important;
}

/* Container um den Button herum */
.col-auto.d-flex.justify-content-center.align-items-center {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Button selbst */
.mode-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--theme);
  padding: 0.25rem 0.5rem;
  transition: color 0.3s ease;
  margin: 0 auto; /* zentriert horizontal */
}

/* Trennlinie zwischen Hell und Dunkel */
.mode-toggle .divider {
  color: var(--theme);
  opacity: 0.6;
}

/* Grundzustand */
.mode-option {
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.3s ease, text-decoration 0.3s ease;
}

/* Hover-Effekt */
.mode-option:hover {
  opacity: 1;
}

/* Aktiver Zustand */
body.light .light-mode {
  text-decoration: underline;
  opacity: 1;
}

body.dark .dark-mode {
  text-decoration: underline;
  opacity: 1;
}

/* Optional: Damit der gesamte Modus-Bereich auch mittig im Block sitzt */
.p-2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

    .share-dropdown {
      display: none;
      position: absolute;
      background-color: white;
      border: 1px solid #ccc;
      border-radius: 5px;
      padding: 10px;
      box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
      z-index: 10;
    }

    .share-dropdown .icon {
      margin: 5px;
      text-align: center;
      display: inline-block;
      font-size: 20px;
      color: #333;
      cursor: pointer;
    }

    .share-dropdown .icon:hover {
      color: #FFC107;
    }

    .pointer {
      cursor: pointer;
    }
    


    /* Sichtbare Selectize Box */
.wpforms-container-full .selectize-input {
    background-color: #fff !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    color: #000 !important;
    padding: 0.4rem 0.8rem !important;
    position: relative !important;
}

/* Pfeil entfernen (falls doppelt) */
.wpforms-container-full .selectize-input::after {
    display: none !important;
}

/* Dropdown-Liste */
.wpforms-container-full .selectize-dropdown {
    background-color: #fff !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    z-index: 9999 !important;
    width: 100% !important;
    top: 100% !important; /* direkt unter Input */
}



/* Dropdown absolute innerhalb des Containers */
.wpforms-container-full .selectize-dropdown {
    position: absolute !important;
    top: 100% !important;      /* direkt unter Input */
    left: 0 !important;
    width: 100% !important;
    margin-top: 0 !important;  /* kein Abstand nach unten */
    z-index: 9999 !important;
}




div.wpforms-container-full .wpforms-form .wpforms-field.wpforms-field-select-style-modern .choices {
    margin-bottom: -40px;
}



/* Overlay (Hintergrund) */
#popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Transparenter schwarzer Hintergrund */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1030;
}

/* Inhaltsbox */
body.dark #popup-content {
    background: #101410;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 70%;
    max-width: 70%;
}

body.light #popup-content {
    background: #ddd;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 70%;
    max-width: 70%;
}

body.dark #popup-content .card {
    background-color: #fff !important;
    color: #000 !important;
    border: 1px solid #444 !important;
}

body.dark #popup-content .text-light {
    --bs-text-opacity: 1;
    color: #000 !important;
}

#popup-close {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #FFC107;
    color: #000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#popup-close:hover {
    background-color: #FFCA2C;
}

/* Produkte Container */
#products-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    max-width: 100%;
    justify-content: center;
}

#products-container .card.vorschau {
    flex: 0 0 auto; /* Verhindert Flexwachstum */
    width: 200px; /* Festgelegte Breite */
    max-width: 300px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

#products-container .card-footer {
  display: none !important;
}
#products-container .text-end {
  display: none !important;
}
