/*
Theme Name: Blocksy Child
Theme URI: https://creativethemes.com/blocksy/
Author: Du selbst
Template: blocksy
Version: 1.0
*/

@import url("../blocksy/style.css");

@font-face {
  font-family: "ABeeZee";
  src: url("/wp-content/themes/blocksy-child/assets/fonts/abeezee/abeezee-regular.woff2")
      format("woff2"),
    url("/wp-content/themes/blocksy-child/assets/fonts/abeezee/abeezee-regular.woff")
      format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Inter – Schriftfamilie einbinden */
@font-face {
  font-family: "Inter";
  src: url("/wp-content/themes/blocksy-child/assets/fonts/inter/inter-regular.woff2")
    format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/wp-content/themes/blocksy-child/assets/fonts/inter/inter-medium.woff2")
    format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/wp-content/themes/blocksy-child/assets/fonts/inter/inter-semibold.woff2")
    format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Globale Schrift-Einstellung für die Seite */
body {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #1e2b36;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ct-header .menu a,
nav .menu-item a {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.5px;
  text-transform: none; /* oder uppercase, falls du es willst */
  color: #0b2f46;
  transition: all 0.2s ease;
}

blockquote,
.wp-block-quote {
  border-left: 4px solid #f29f1f;
  padding-left: 1.5rem;
  margin-left: 0;
  font-style: italic;
  line-height: 1.7;
}

/*
Theme Customizations for Bootsbeschrifter.de
Author: Dennis Slotta / ChatGPT
*/
/* Gesamter Seitenhintergrund */
#footer {
  background-color: #f1f3f6;
}

#footer {
  color: #3b4b5e;
}
#footer a {
  color: #1d3e60;
}

#footer {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

#footer > div {
  max-width: 1290px;
  margin: 0 auto;
  padding: 2rem 1rem;
}
#footer .ct-widget {
  margin-bottom: 1.5rem;
}

@media screen and (max-width: 600px) {
  .wp-block-cover.alignfull .wp-block-cover__inner-container > .wp-block-group {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

//Bootsnamen Voransicht
.table-container {
  overflow-x: auto;
}

.custom-table {
  border: 2px solid #000;
  border-collapse: collapse;
  width: 100%;
  margin-top: 15px;
  margin-bottom: 25px;
}

.custom-table thead {
  background-color: #000;
}

.custom-table .table-header {
  color: #fff;
  padding: 4px;
  font-size: 16px;
  font-family: "ABeeZee", sans-serif;
}

.kennzeichen-table-header {
  font-size: 16px;
  background: #333;
  font-weight: bold;
  font-family: "ABeeZee", sans-serif;
}

.custom-table .table-row {
  background-color: #f2f2f2;
  font-size: 14px;
}

.custom-table .table-heading {
  padding: 4px;
  font-size: 14px;
  text-align: center;
  border: 1px solid #000;
}

.custom-table .table-data {
  padding: 4px;
  font-size: 14px;
  color: #000;
  border: 1px solid #000;
}

.custom-table .table-data.center-text {
  text-align: center;
}

.white-space-row {
  height: 8px;
  background-color: white;
}

.fontstyle-button-container {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.fontstyle-preview-button {
  background-color: #2a4d69;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0;
  width: 160px;
  height: 90px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.fontstyle-preview-button img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.fontstyle-preview-label {
  position: absolute;
  top: 5px;
  left: 8px;
  font-size: 0.75rem;
  font-weight: bold;
  background-color: rgba(255, 255, 255, 0.7);
  color: #2a4d69;
  padding: 2px 5px;
  border-radius: 3px;
  font-family: "ABeeZee", sans-serif;
}

.fontstyle-preview-button.active {
  box-shadow: inset 0 0 0 3px #f29f1f;
}

/* Neue Farbkarten */
.farbkarte-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
  padding: 10px;
}

.farbkarte-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  word-break: keep-word;
  padding: 0.75rem;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.25s ease;
  background: white;
}

.farbkarte-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.farbkarte-item img {
  width: 100px;
  height: auto;
  max-height: 90px;
  object-fit: contain;
  margin-top: 3px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.farbkarte-item:hover img {
  transform: scale(1.2);
}

.farbname {
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}

.wp-block-table.bootstabelle {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 1.5em;
}

//Tabelle zu Bootskennzeichen

.bootstabelle th,
.bootstabelle td {
  padding: 0.75em;
  border: 1px solid #ccc;
  vertical-align: top;
  text-align: left;
}

.bootstabelle thead {
  background-color: #f0f4f8;
  font-weight: 600;
}

@media (max-width: 768px) {
  .bootstabelle {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .bootstabelle table {
    min-width: 600px;
  }
}

/* Basisausrichtung von Warenkorb + Merkliste */
.ct-header-cart {
  white-space: nowrap; /* alles in einer Zeile behalten */
}

.ct-header-cart > a,
.ct-header-cart > .wishlist-icon-link {
  display: inline-flex;
  align-items: center;
}

/* Bookmark-Icon */
.wishlist-icon-link {
  margin-left: 15px;
  margin-right: 15px;
  position: relative; /* Referenz für Badge */
  color: #2c3e50;
  transition: color 0.2s ease;
}

.wishlist-icon-link:hover {
  color: #f39c12;
}

/* Badge */
.wishlist-badge {
  position: absolute;
  /*    top: -6px; */
  right: -10px;
  min-width: 16px;
  padding: 2px 4px;
  border-radius: 999px;
  background: #f39c12;
  color: #fff;
  font-size: 11px;
  line-height: 1;
  text-align: center;
  pointer-events: none;
  display: none; /* wird erst ab count>0 eingeblendet */
}

@media (max-width: 768px) {
  .wishlist-icon-link svg {
    width: 20px;
    height: 20px;
  }
  .wishlist-badge {
    right: -8px;
  }
}
/* normale Farbe */
.wishlist-icon-link {
  color: #2c3e50;
}

/* orange, sobald ≥1 Eintrag */
.wishlist-icon-link.has-items {
  color: #f39c12;
}

/* Content-Bereich (Panel Inner) der inneren Accordion-Ebene bündig lassen */
.faq-inner .kt-accordion-panel-inner {
  margin-left: 0 !important;
  padding-left: 0 !important;
  margin-right: 0 !important;
  padding-right: 0 !important;
}

@media (max-width: 600px) {
  .faq-inner .kt-blocks-accordion-title {
    font-size: 0.9rem; /* z. B. 16px */
    line-height: 1.2;
  }
  .faq-inner .kt-accordion-panel-inner {
    font-size: 0.85rem; /* z. B. 17–18px, bleibt lesefreundlich */
    line-height: 1.6;
  }
}

.merklisten-banner {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 96vw; /* fast volle Breite auf kleineren Screens */
  max-width: 768px; /* maximal 540px, passe gern an */
  background: #ffbe40;
  color: #222;
  font-size: 1rem;
  padding: 0.7em 1.5em 0.7em 1em;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.07);
  display: flex;
  align-items: center;
  z-index: 10000;
  opacity: 1;
  transition: transform 0.4s, opacity 0.4s;
  border-radius: 12px 12px 0 0;
}
.merklisten-banner-icon {
  font-size: 1.4em;
  margin-right: 0.7em;
}
.merklisten-banner-text {
  flex: 1;
  line-height: 1.25;
}
.merklisten-banner-link {
  color: #222;
  text-decoration: underline;
  margin-left: 8px;
}
.merklisten-banner-close {
  background: none;
  border: none;
  font-size: 1.5em;
  color: #555;
  cursor: pointer;
  margin-left: 0.8em;
  padding: 0;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.merklisten-banner-close:hover {
  opacity: 1;
}
.merklisten-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
  transition: transform 0.4s, opacity 0.4s;
}
@media (max-width: 600px) {
  .merklisten-banner {
    font-size: 0.95rem;
    padding: 0.7em 0.7em 0.7em 0.7em;
  }
}

@media (max-width: 999.98px) {
  footer#footer [data-row="top"] > .ct-container-auto {
    display: flex !important;
    flex-direction: column !important;
  }

  footer#footer
    [data-row="top"]
    > .ct-container-auto
    [data-column="widget-area-2"] {
    order: 2 !important;
  }

  footer#footer
    [data-row="top"]
    > .ct-container-auto
    [data-column="widget-area-3"] {
    order: 3 !important;
  }

  footer#footer
    [data-row="top"]
    > .ct-container-auto
    [data-column="widget-area-1"] {
    order: 1 !important;
  }
}

.kt-blocks-info-box-link-wrap {
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.25s ease;
  display: block;
}
.kt-blocks-info-box-link-wrap:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.kt-blocks-info-box-link-wrap .kt-info-box-image {
  transition: transform 0.3s ease;
}

.kt-blocks-info-box-link-wrap:hover .kt-info-box-image {
  transform: scale(1.05);
}
.kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-title {
  color: #0055aa; /* Oder z. B. var(--global-palette-primary, #0055aa) */
  transition: color 0.3s ease;
}

.kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-text {
  opacity: 0.85;
}
.kt-blocks-info-box-link-wrap {
  transition-timing-function: cubic-bezier(0.25, 1, 0.5, 1);
}
.kt-blocks-info-box-link-wrap:active {
  transform: scale(0.98);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.wp-block-button__link {
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.25s ease;
  display: inline-block;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  will-change: transform;
}

.wp-block-button__link:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.wp-block-button__link:active {
  transform: translateY(0);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.bbp-fontstyle-preview-button {
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.25s ease;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 1rem;
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  will-change: transform;
  border-radius: 8px;
  text-align: center;
}

.bbp-fontstyle-preview-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.bbp-fontstyle-preview-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.bbp-fontstyle-preview-button img {
  transition: transform 0.3s ease;
}

.bbp-fontstyle-preview-button:hover img {
  transform: scale(1.05);
}

.bbp-fontstyle-preview-label {
  transition: none;
}

.kt-blocks-accordion-header {
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  background: inherit;
  cursor: pointer;
  text-align: left;
}

.kt-blocks-accordion-header:hover,
.kt-blocks-accordion-header:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
  outline: none; /* optional: Fokusrahmen vermeiden */
}

.kt-blocks-accordion-title {
  font-weight: 600;
  transition: none;
}

.kt-blocks-accordion-icon-trigger {
  transition: transform 0.3s ease;
}

.kt-blocks-accordion-header[aria-expanded="true"]
  .kt-blocks-accordion-icon-trigger {
  transform: rotate(180deg);
}

.button {
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  will-change: transform;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.button:active {
  transform: translateY(0);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.bootsnamen-cta-configurator {
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.25s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  background: inherit; /* oder nichts setzen */
  will-change: transform;
}

.bootsnamen-cta-configurator:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.bb-article-header {
  animation: fadeInUp 0.6s ease-out both;
}

footer#footer [data-row="top"] > .ct-container-auto a {
  text-decoration: none;
  transition: color 0.25s ease, text-decoration-color 0.25s ease;
}

footer#footer [data-row="top"] > .ct-container-auto a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  text-decoration-color: currentColor;
  color: var(--footer-link-hover, #1d3e60); /* Optional, wenn vorhanden */
}

.woocommerce-bacs-bank-details {
  margin-bottom: 1.5rem;
}


/* gesamte Kachel mittig ausrichten */
.zufallsprodukte-grid .produkt-kachel{
    text-align:center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.zufallsprodukte-grid .produkt-kachel:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}
/* Link (Bild + Titel) als Inline-Block,
   damit er sich selbst mittig ausrichten kann */
.zufallsprodukte-grid .produkt-kachel > a{
    display:inline-block;
}

/* Überschreibt Theme-Regel für h4 */
.zufallsprodukte-grid .produkt-kachel h4{
    text-align:center !important;
    margin:0.5em 0 0;
}

/* Preisblock ebenfalls zentrieren */
.zufallsprodukte-grid .produkt-kachel .price{
    display:block;                /* nimmt eigene Zeile */
    text-align:center !important; /* schlägt Theme-Styles aus */
    margin:0.25em 0 0;
}



/* ► Rahmende Box bleibt gleich */
.schriftzug-beispiele-box {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 1.0rem;
  border: 2px solid #ccc;
}

/* Flex-Container – immer wrap, statt nowrap */
/* Desktop (kein Umbruch) bleibt unverändert */
.schriftzug-beispiele-flex{
  display:flex;
  flex-wrap:nowrap;
  justify-content:center;
  column-gap:40px;   /* nur horizontal */
  margin-top: 1.5rem;
}

/* ► Karte */
.schriftzug-flex-item {
  flex: 1 1 auto;
  max-width: 100%;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.schriftzug-flex-item:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 2;
}

@media(max-width:1200px){
  .schriftzug-beispiele-flex{
    flex-wrap:wrap;
    column-gap:30px;   /* horizontal */
    row-gap:12px;      /* vertikal deutlich kleiner */
  }
}

/* ► Bild */
.schriftzug-flex-item img{
  height:60px!important;               /* Desktop-Höhe */
  width:auto!important;
  display:block;
  margin:0 auto .5rem;
}

/* ========== Responsive ========== */
@media (max-width: 900px){
  .schriftzug-beispiele-flex{
    flex-wrap:wrap!important;          /* darf umbrechen */
    gap:30px!important;
  }
  .schriftzug-flex-item img{
    height:60px!important;             /* etwas kleiner */
  }
}

@media (max-width: 600px){
  .schriftzug-beispiele-flex{
    gap:20px!important;
  }
  .schriftzug-flex-item img{
    height:50px!important;
  }
}
/* Box erhält innere Ränder */
.schriftzug-beispiele-box{
  padding: 1rem 25px;        /* bisher 1rem  0 → jetzt 25 px seitlich */
}

/* Flex–Container Desktop: größerer Gap */
@media (min-width: 901px){
  .schriftzug-beispiele-flex{
    gap: 60px;               /* statt 40 px → mehr Luft */
  }
}

/* Flex–Container Tablet / Mobile bleibt wie vorher */
@media (max-width: 900px){
  .schriftzug-beispiele-flex{
    gap: 30px;
  }
}
/* ► Text unter dem Bild */
.schriftzug-beschriftung {
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: break-word;
  text-align: center;
  margin-top: 5px;
}
