/* ================================================
   FARBEN &amp; THEME-VARIABLEN
   ================================================ */
:root {
    --theme-palette-color-1: #ff4900 !important;
    --theme-palette-color-2: #cc3a00 !important;
    --theme-link-initial-color: #ff4900 !important;
    --theme-link-hover-color: #cc3a00 !important;
}

/* ================================================
   HEADER ROWS
   ================================================ */
[data-row="top"] {
    background-color: #2e3136 !important;
}
[data-row="top"] a,
[data-row="top"] span,
[data-row="top"] .ct-social-group a,
[data-row="top"] svg {
    color: rgba(255,255,255,0.75) !important;
    fill: rgba(255,255,255,0.75) !important;
}
[data-row="top"] a:hover {
    color: #ff4900 !important;
    fill: #ff4900 !important;
}
[data-row="top"] [class*="ticker"],
[data-row="top"] [class*="text"] {
    color: #ff4900 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}
[data-row="middle"] .ct-menu a,
[data-row="middle"] nav a,
.ct-header [data-row="middle"] li a {
    color: #1a1e24 !important;
}
[data-row="middle"] .ct-menu a:hover,
[data-row="middle"] li a:hover {
    color: #ff4900 !important;
}
[data-row="bottom"] {
    background-color: #2e3136 !important;
}
[data-row="bottom"] a,
[data-row="bottom"] .ct-menu a,
[data-row="bottom"] li a,
[data-row="bottom"] .nav-link {
    color: rgba(255,255,255,0.85) !important;
}
[data-row="bottom"] a:hover,
[data-row="bottom"] .ct-menu a:hover {
    color: #ff4900 !important;
}
[data-row="bottom"] .ct-menu .menu-item-has-children &gt; a::after,
[data-row="bottom"] .menu-item-has-children &gt; a .ct-icon {
    color: #ff4900 !important;
    border-color: #ff4900 !important;
}
[data-row="bottom"] .sub-menu {
    background-color: #2e3136 !important;
    min-width: 160px !important;
    max-width: 220px !important;
}
[data-row="bottom"] .sub-menu a {
    color: rgba(255,255,255,0.85) !important;
    font-size: 12px !important;
}
[data-row="bottom"] .sub-menu a:hover {
    color: #ff4900 !important;
}
.ct-header .site-title,
.ct-header .site-title a {
    color: #1a1e24 !important;
}

/* ================================================
   SOCIAL ICONS: FB / IG / TikTok nebeneinander
   ================================================ */
.ct-header [data-row="top"] .ct-social-box,
.ct-social-box[data-icons-type="simple"] {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 8px !important;
}
.ct-social-box a,
.ct-header [data-row="top"] .ct-social-box a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

/* ================================================
   LOGO: 220px, ausgerichtet
   ================================================ */
.site-logo-container img.default-logo,
.ct-header .site-logo-container img {
    max-width: 220px !important;
    width: 220px !important;
    height: auto !important;
}
[data-row="middle"] [data-logo] {
    max-width: none !important;
    display: flex !important;
    align-items: center !important;
}
[data-row="middle"] [data-column="start"] {
    display: flex !important;
    align-items: center !important;
}
[data-row="middle"] [data-column="end"] {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* ================================================
   DGWT SUCHE: korrektes Layout, Lupe sichtbar
   ================================================ */
#fbt-search-wrap {
    display: flex !important;
    align-items: center !important;
    flex: 1 !important;
    max-width: 300px !important;
    padding-right: 12px !important;
}
#fbt-search-wrap .dgwt-wcas-search-wrapp {
    width: 100% !important;
    max-width: 100% !important;
}
#fbt-search-wrap .dgwt-wcas-sf-wrapp {
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
}
#fbt-search-wrap .dgwt-wcas-search-form {
    background: #f5f7f9 !important;
    border: 1px solid #dde2e8 !important;
    border-radius: 50px !important;
    width: 100% !important;
}
#fbt-search-wrap input[type=search].dgwt-wcas-search-input {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    font-size: 13px !important;
    height: 38px !important;
    padding: 0 40px 0 16px !important;
    border-radius: 50px !important;
    width: 100% !important;
}
#fbt-search-wrap .dgwt-wcas-ico-magnifier-handler {
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    z-index: 2 !important;
}
#fbt-google-stars {
    color: inherit !important;
}
#fbt-google-stars span:last-child {
    color: #fbbc04 !important;
}

/* ================================================
   USP-STREIFEN unter Header
   ================================================ */
.ct-header + .usp-bar,
#usp-bar {
    background: #ff4900 !important;
    color: #fff !important;
    text-align: center !important;
    padding: 7px 0 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

/* ================================================
   BUTTONS: orange mit weisser Schrift
   ================================================ */
.wp-block-button__link,
.wp-block-button__link:visited,
a.wp-block-button__link {
    background-color: #ff4900 !important;
    color: #ffffff !important;
}
.wp-block-button__link:hover {
    background-color: #cc3a00 !important;
    color: #ffffff !important;
}
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button:visited,
.single_add_to_cart_button,
.fbs-cta-btn,
a.fbs-cta-btn {
    background-color: #ff4900 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}
.fbs-cta-btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
    background-color: #cc3a00 !important;
    color: #ffffff !important;
}
.wp-block-cover .wp-block-buttons .wp-block-button__link,
.wp-block-cover a.wp-block-button__link {
    color: #ffffff !important;
}

/* ================================================
   PRODUKT-TITEL: dunkel ueberall
   ================================================ */
.fbs-title,
a.fbs-title,
.fbs-card .fbs-title {
    color: #1a1e24 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    line-height: 1.3 !important;
}
.fbs-title:hover,
a.fbs-title:hover {
    color: #ff4900 !important;
}
ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .woocommerce-loop-product__title a,
ul.products li.product h2 {
    color: #1a1e24 !important;
}
ul.products li.product .woocommerce-loop-product__title a:hover,
ul.products li.product h2 a:hover {
    color: #ff4900 !important;
}

/* ================================================
   LINKS: gezielt orange, nicht pauschal
   ================================================ */
.ct-breadcrumbs a,
.entry-content &gt; p a,
.woocommerce-shipping-destination a {
    color: #ff4900 !important;
}
.ct-sidebar a,
.entry-content table a,
.widget a {
    color: #2b2e32 !important;
}
.ct-sidebar a:hover,
.entry-content table a:hover {
    color: #ff4900 !important;
}

/* ================================================
   UEBERSCHRIFTEN: dunkel
   ================================================ */
h1:not([style*="color"]),
h2:not([style*="color"]),
h3:not([style*="color"]),
h4:not([style*="color"]) {
    color: #1a1e24 !important;
}
h1:not([style*="color"]) a,
h2:not([style*="color"]) a,
h3:not([style*="color"]) a,
h4:not([style*="color"]) a {
    color: #1a1e24 !important;
}
h1:not([style*="color"]) a:hover,
h2:not([style*="color"]) a:hover,
h3:not([style*="color"]) a:hover,
h4:not([style*="color"]) a:hover {
    color: #ff4900 !important;
}

/* ================================================
   PRODUKTBILD: kein Zoom, contain
   ================================================ */
.woocommerce-product-gallery img {
    object-fit: contain !important;
}

/* ================================================
   FOOTER: 3 Spalten, dunkel
   ================================================ */
.ct-footer [data-row="middle"] .ct-container {
    display: flex !important;
    gap: 40px !important;
    align-items: flex-start !important;
}
.ct-footer [data-row="middle"] .ct-container &gt; * {
    flex: 1 !important;
}

/* ================================================
   FOOTER: dunkel (#1a1e24), lesbare Schrift
   ================================================ */
.ct-footer {
    background-color: #2e3136 !important;
    color: rgba(255,255,255,0.8) !important;
}
.ct-footer .widget-title {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
}
.ct-footer a,
.ct-footer p,
.ct-footer li,
.ct-footer span,
.ct-footer td {
    color: rgba(255,255,255,0.75) !important;
}
.ct-footer a:hover {
    color: #ff4900 !important;
}
.ct-footer [data-id="copyright"],
.ct-footer [data-id="copyright"] * {
    color: rgba(255,255,255,0.6) !important;
}
.ct-footer [data-id="copyright"] a {
    color: rgba(255,255,255,0.75) !important;
}
.ct-footer [data-id="copyright"] a:hover {
    color: #ff4900 !important;
}

/* ================================================
   USP-STREIFEN: orange, weisse Schrift
   ================================================ */
.usp-bar-wrap,
[id*="usp-bar"],
[class*="usp-stripe"],
[class*="usp-bar"] {
    background-color: #ff4900 !important;
    color: #ffffff !important;
}

/* ================================================
   KATEGORIE-HERO: kein dunkler Block, nur Text
   ================================================ */
.tax-product_cat .hero-section[data-type="type-1"],
.woo-categories .hero-section[data-type="type-1"],
[data-prefix="woo_categories"] .hero-section {
    background-color: transparent !important;
    background-image: none !important;
    min-height: auto !important;
    padding: 16px 0 8px !important;
    box-shadow: none !important;
}
.tax-product_cat .entry-header .page-title,
.tax-product_cat .hero-section .page-title {
    color: #1a1e24 !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    margin: 0 !important;
}

/* ================================================
   LOGO: Seitentitel "Fitbike" ausblenden
   ================================================ */
.site-title-container,
.site-title,
.site-branding .site-title {
    display: none !important;
}

/* ================================================
   PRODUKT-KARTEN: Kategorie-Label ausblenden
   ================================================ */
ul.products li.product .entry-meta,
[data-products] .product .entry-meta,
.woocommerce ul.products .entry-meta {
    display: none !important;
}

/* ================================================
   FOOTER TABELLE: transparent auf dunklem BG
   ================================================ */
.ct-footer table {
    background: transparent !important;
    border-color: rgba(255,255,255,0.15) !important;
    border-collapse: collapse !important;
    width: 100% !important;
}
.ct-footer table td,
.ct-footer table th {
    background: transparent !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    color: rgba(255,255,255,0.75) !important;
    padding: 7px 12px !important;
    font-size: 13px !important;
}
.ct-footer table tr:first-child td {
    border-top: none !important;
}
.ct-footer .widget-title + table tr:first-child td {
    color: rgba(255,255,255,0.5) !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* ================================================
   HOMEPAGE KATEGORIEN-TILES
   ================================================ */
.fbt-cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 32px 0;
}
.fbt-cat-tile {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3/2;
    display: block;
    text-decoration: none !important;
}
.fbt-cat-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
    display: block;
}
.fbt-cat-tile:hover img { transform: scale(1.06); }
.fbt-cat-tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
}
.fbt-cat-tile-label {
    color: #fff !important;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
}
.fbt-cat-tile-sub {
    color: rgba(255,255,255,0.8) !important;
    font-size: 12px;
    display: block;
    margin-top: 2px;
}
@media(max-width:768px) {
    .fbt-cat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width:480px) {
    .fbt-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ================================================
   HOMEPAGE TRUST-SECTION
   ================================================ */
.fbt-trust-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 28px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
}
.fbt-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #1a1e24;
}
.fbt-trust-icon { font-size: 24px; }
.fbt-trust-label { font-weight: 700; font-size: 13px; display: block; }
.fbt-trust-sub { font-size: 11px; color: #888; display: block; }

/* ================================================
   SALE-BADGE: orange, sichtbar fuer alle reduzierten Produkte
   ================================================ */
.woocommerce ul.products li.product .onsale,
.woocommerce-page ul.products li.product .onsale,
.fbs-card .onsale,
ul.products .onsale {
    display: inline-block !important;
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    right: auto !important;
    background: #ff4900 !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    padding: 4px 10px !important;
    border-radius: 4px !important;
    z-index: 10 !important;
    min-height: auto !important;
    min-width: auto !important;
    line-height: 1.5 !important;
}

/* ================================================
   SHOP: Produktbilder korrekte Groesse + Aspect Ratio
   ================================================ */
[data-products] .product figure,
ul.products li.product figure,
.woocommerce ul.products li.product figure {
    position: relative !important;
    overflow: hidden !important;
    background: #ffffff !important;
    aspect-ratio: 1/1 !important;
    margin-bottom: 0 !important;
}
[data-products] .product figure img,
ul.products li.product figure img,
.woocommerce ul.products li.product figure img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    padding: 12px !important;
    transition: transform 0.3s !important;
}
[data-products] .product figure img:hover,
ul.products li.product figure img:hover {
    transform: scale(1.04) !important;
}

/* ================================================
   WARENKORB-BADGE: oranges Zaehler-Badge
   ================================================ */
.ct-header .ct-cart-content span.ct-label,
.ct-header [data-id="cart"] .ct-label,
[data-id="cart"] .ct-label {
    background-color: #ff4900 !important;
    color: #fff !important;
    border-radius: 50% !important;
    min-width: 18px !important;
    height: 18px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 18px !important;
    text-align: center !important;
    padding: 0 4px !important;
}

/* ================================================
   PRODUKTSEITE: Bild-Container korrekte Hoehe
   ================================================ */
.woocommerce-product-gallery {
    max-width: 100% !important;
}
.woocommerce-product-gallery .flexy-item img,
.woocommerce-product-gallery img {
    object-fit: contain !important;
    object-position: center !important;
    background: #ffffff !important;
}

/* ================================================
   MOBILE: USP-Bar 2x2 Grid auf kleinen Screens
   ================================================ */
@media(max-width:580px) {
    .fbt-usp-inner {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px 12px !important;
        text-align: center !important;
        justify-items: center !important;
    }
    .fbt-usp-sep { display: none !important; }
    .fbt-usp-item { font-size: 12px !important; }
}

/* ================================================
   MOBILE: Financing Box volle Breite
   ================================================ */
@media(max-width:768px) {
    .fbt-financing-inner {
        flex-direction: column !important;
        gap: 24px !important;
    }
    .fbt-financing-right {
        width: 100% !important;
        max-width: 100% !important;
    }
    .fbt-financing-h2 {
        font-size: 24px !important;
    }
}

/* ================================================
   MOBILE: Slider Karten responsive
   ================================================ */
@media(max-width:580px) {
    .fbs-viewport { overflow: hidden !important; }
}

/* ================================================
   MOBILE FOOTER: Spalten stacken
   ================================================ */
@media (max-width: 600px) {
    .ct-footer .ct-container,
    .ct-footer [data-column-width] {
        flex-direction: column !important;
    }
    .ct-footer .ct-widget-area {
        width: 100% !important;
        flex-basis: 100% !important;
        padding: 16px 0 !important;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    }
    .ct-footer .ct-widget-area:last-child {
        border-bottom: none !important;
    }
    .ct-footer table {
        font-size: 12px !important;
    }
    .ct-footer table td {
        padding: 5px 8px !important;
    }
}

/* ================================================
   MOBILE PRODUKTSEITE: Leerraum entfernen
   ================================================ */
@media (max-width: 600px) {
    .woocommerce div.product .woocommerce-product-gallery {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    .single-product .entry-summary,
    .single-product .product .summary {
        padding-top: 8px !important;
        margin-top: 0 !important;
    }
    .woocommerce-product-gallery__wrapper {
        margin: 0 !important;
    }
    .single-product .woocommerce-breadcrumb {
        font-size: 11px !important;
        line-height: 1.4 !important;
    }
    /* Leerraum ueber Bild */
    .product .woocommerce-product-gallery {
        min-height: unset !important;
    }
    .ct-single-product-top [data-product="true"] {
        padding-top: 0 !important;
    }
}

/* ================================================
   MOBILE PRODUKTSEITE: Leerraum oben entfernen
   ================================================ */


/* % Sale! Nav Item - orange highlight */
#menu-item-21735 &gt; a.ct-menu-link {
    color: #ff4900 !important;
    font-weight: 700 !important;
}
#menu-item-21735 &gt; a.ct-menu-link:hover {
    opacity: 0.85;
}

/* Mobile % Sale item */
.mobile-menu #menu-item-21735 &gt; a.ct-menu-link,
.mobile-menu .menu-item a[href*="onsale_filter"] {
    color: #ff4900 !important;
    font-weight: 700 !important;
}

/* Produkttitel in Kategorie-/Shop-Raster: staerker */
.woocommerce-loop-product__title {
    font-weight: 700 !important;
    font-size: 15px !important;
}
/* Gap-Fix: kein Abstand zwischen Kategorie-Nav und Hero-Bild */

/* Kompaktere Header-Mitte: Logo-Zeile hoehe reduzieren */
/* --height:120px (Blocksy-Inline-Regel) macht alle middle-nav li 120px hoch → ragen 40px in bottom-nav */
.ct-header [data-row="middle"],
#header [data-row="middle"] {
    height: 80px !important;
    min-height: 80px !important;
    --height: 80px !important;
}
.ct-header [data-row="middle"] .ct-logo-container img,
.ct-header [data-row="middle"] .site-logo img,
.ct-header [data-row="middle"] .custom-logo-link img {
    height: 44px !important;
    width: auto !important;
    max-height: 44px !important;
}

/* Kategorie-Tiles: Schrift explizit weiss (Blocksy-Override) */
.fbt-hero-tile-txt h3 { color: #fff !important; text-shadow: 0 2px 8px rgba(0,0,0,0.7) !important; }
.fbt-hero-tile-txt p { color: rgba(255,255,255,0.92) !important; }
.fbt-hero-tile-btn { color: #fff !important; }
.fbt-hero-tile a, .fbt-hero-tile a:visited, .fbt-hero-tile a:hover { color: #fff !important; }

/* Kategorie-Tiles groesser */
.fbt-hero-tile { height: 460px !important; }
@media (max-width: 900px) { .fbt-hero-tile { height: 300px !important; } }
@media (max-width: 580px) { .fbt-hero-tile { height: 210px !important; } }

/* Weniger Weissraum zwischen Sektionen */
.wp-block-group.alignwide[style*="padding-top:48px"] { padding-top: 24px !important; }
.wp-block-group.alignwide[style*="padding-top:8px"] { padding-top: 4px !important; }
.wp-block-group.alignwide[style*="padding-bottom:48px"] { padding-bottom: 24px !important; }
.wp-block-group.alignwide[style*="padding-bottom:40px"] { padding-bottom: 20px !important; }
.wp-block-group.alignwide[style*="padding-bottom:12px"] { padding-bottom: 4px !important; }
/* Kein Abstand direkt vor/nach Tiles */
.fbt-hero-cats { margin-top: 0; margin-bottom: 0; }

/* Tiles full-width — aus dem Content-Container rausbrechen */
.fbt-hero-cats {
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  max-width: none !important;
}

/* Hover: Button orange statt weiss */
.fbt-hero-tile:hover .fbt-hero-tile-btn {
  background: #ff4900 !important;
  color: #fff !important;
  border-color: #ff4900 !important;
}
/* Auch Gradient dunkler beim Hover fuer bessere Lesbarkeit */
.fbt-hero-tile:hover .fbt-hero-tile-bg {
  background: linear-gradient(to top, rgba(0,0,0,0.90) 0%, rgba(0,0,0,0.45) 55%, rgba(0,0,0,0.10) 100%) !important;
}


/* Header z-index: NUR #header (nicht .ct-header — offcanvas hat dieselbe Klasse!) */
#header {
  z-index: 999 !important;
  position: relative !important;
}





/* ================================================
   MOBILE: WooCommerce Produktraster 2 Spalten
   ================================================ */
@media (max-width: 768px) {
    ul.products.columns-4,
    ul.products.columns-3,
    ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    ul.products li.product .woocommerce-loop-product__title,
    ul.products li.product h2 {
        font-size: 12px !important;
        line-height: 1.3 !important;
    }
    ul.products li.product .price {
        font-size: 12px !important;
    }
    ul.products li.product a.button {
        font-size: 11px !important;
        padding: 8px 10px !important;
    }
}

/* ================================================
   PRODUKTBILD: kein Weissraum oben
   ================================================ */
.woocommerce-product-gallery {
    align-self: start !important;
}
.woocommerce-product-gallery__wrapper {
    height: 420px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.woocommerce-product-gallery__wrapper .wp-post-image,
.woocommerce-product-gallery__image img {
    max-height: 420px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: center top !important;
}
@media (max-width: 768px) {
    .woocommerce-product-gallery__wrapper {
        height: 280px !important;
    }
    .woocommerce-product-gallery__wrapper .wp-post-image,
    .woocommerce-product-gallery__image img {
        max-height: 280px !important;
    }
}

/* ================================================
   MOBILE: Sidebar ausblenden auf Kategorie
   ================================================ */
@media (max-width: 768px) {
    .ct-sidebar {
        display: none !important;
    }
}

/* ================================================
   PRODUKTSEITE MOBILE: Varianten sauber
   ================================================ */
@media (max-width: 600px) {
    .woocommerce div.product div.images {
        margin-bottom: 16px !important;
    }
    table.variations select {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* ================================================
   FIX: Produktbild — kein fixer Wrapper, natuerlich
   ================================================ */
.woocommerce-product-gallery__wrapper {
    height: auto !important;
    display: block !important;
    align-items: unset !important;
    justify-content: unset !important;
}
.woocommerce-product-gallery__wrapper .wp-post-image,
.woocommerce-product-gallery__image img {
    max-height: none !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center top !important;
}

/* ================================================
   FIX: Breadcrumb — kein ALL CAPS
   ================================================ */
.ct-breadcrumbs,
.ct-breadcrumbs span,
.ct-breadcrumbs a,
.woocommerce-breadcrumb,
.woocommerce-breadcrumb span,
.woocommerce-breadcrumb a {
    text-transform: none !important;
    font-size: 12px !important;
    letter-spacing: 0 !important;
}

/* ================================================
   FIX: Mein Konto — Card-Styling wie Live
   ================================================ */
.woocommerce-MyAccount-content,
.woocommerce form.login,
.woocommerce form.register,
.woocommerce-account .woocommerce &gt; div {
    background: #fff !important;
    border: 1px solid #e8ecf0 !important;
    border-radius: 8px !important;
    padding: 32px !important;
}
.woocommerce-account .woocommerce-form-login__rememberme {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.woocommerce-account .lost_password a {
    color: #ff4900 !important;
}
.woocommerce-account .u-column1,
.woocommerce-account .u-column2 {
    background: #fff !important;
    border: 1px solid #e8ecf0 !important;
    border-radius: 8px !important;
    padding: 32px !important;
}

/* ================================================
   FIX: Footer min-height — kein riesiger Leerraum
   ================================================ */
.woocommerce-cart .site-main,
.woocommerce-checkout .site-main,
.woocommerce-account .site-main {
    min-height: 200px !important;
}
body.woocommerce-cart,
body.woocommerce-checkout,
body.woocommerce-account {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh !important;
}
body.woocommerce-cart .site,
body.woocommerce-checkout .site,
body.woocommerce-account .site {
    flex: 1 !important;
}

/* ================================================
   MOBILE: Filter-Button statt versteckter Sidebar
   ================================================ */
@media (max-width: 768px) {
    .ct-sidebar {
        display: none !important;
    }
    /* Widget-Filter Button vor Produktliste */
    .woocommerce-products-header + .woocommerce-ordering-wrapper,
    .woocommerce .woocommerce-ordering {
        display: flex !important;
        gap: 8px !important;
    }
}

/* ================================================
   FIX: Search-Seite — Sidebar ausblenden, Full-Width
   ================================================ */
body.search-results .ct-sidebar {
    display: none !important;
}
body.search-results .ct-container {
    grid-template-columns: 1fr !important;
}
body.search-results ul.products {
    grid-template-columns: repeat(4, 1fr) !important;
}
@media (max-width: 768px) {
    body.search-results ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ================================================
   FIX: Kategorieseite — Titel-Styling
   ================================================ */
.woocommerce-products-header {
    border-bottom: 2px solid #ff4900 !important;
    margin-bottom: 20px !important;
    padding-bottom: 12px !important;
}
.woocommerce-products-header__title {
    font-size: 1.8em !important;
    font-weight: 800 !important;
    color: #1a1e24 !important;
}

/* ================================================
   FIX: Produkt-Tabs Mobile
   ================================================ */
@media (max-width: 600px) {
    .woocommerce-tabs ul.tabs li a {
        font-size: 12px !important;
        padding: 8px 10px !important;
    }
}

/* ================================================
   FIX: Produktbild aspect-ratio — 1:1 statt 3:4
   Blocksy setzt 3/4 (Portrait) — Bike-Bilder sind 890x890 (quadratisch)
   ================================================ */
.flexy-item img,
.ct-media-container img {
    aspect-ratio: 1 / 1 !important;
    width: 100% !important;
    object-fit: contain !important;
}

/* ================================================
   FIX: Navigation Obere Zeile — kein ALL CAPS
   ================================================ */
[data-row="middle"] .ct-menu a,
[data-row="middle"] nav a,
.ct-header [data-row="middle"] li a {
    text-transform: none !important;
    letter-spacing: 0 !important;
}

/* ================================================
   FIX: Kategorie-Breadcrumb (PHP-injiziert)
   ================================================ */
.fbt-cat-breadcrumb {
    font-size: 12px !important;
    color: #888 !important;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
}
.fbt-cat-breadcrumb a {
    color: #888 !important;
    text-decoration: none !important;
}
.fbt-cat-breadcrumb a:hover {
    color: #ff4900 !important;
}

/* ================================================
   FIX: Kategorie-Seite — Abstand oben reduzieren
   ================================================ */
.tax-product_cat .site-main,
.post-type-archive-product .site-main {
    padding-top: 24px !important;
}

/* ================================================
   FIX: Mobile Produktkarten — Button-Text Overflow
   ================================================ */
@media (max-width: 768px) {
    ul.products li.product a.button,
    ul.products li.product .add_to_cart_button,
    ul.products li.product button.ajax_add_to_cart {
        font-size: 11px !important;
        padding: 8px 6px !important;
        white-space: normal !important;
        word-break: break-word !important;
        line-height: 1.3 !important;
        text-align: center !important;
    }
    /* Mindesthöhe für Produktkarte auf Mobile */
    ul.products li.product .woocommerce-loop-product__title {
        min-height: 34px !important;
    }
    /* SALE-Badge kleiner auf Mobile */
    ul.products li.product span.onsale {
        font-size: 10px !important;
        padding: 3px 6px !important;
        min-height: unset !important;
        min-width: unset !important;
        top: 6px !important;
        left: 6px !important;
    }
}

/* ================================================
   FIX: Warenkorb / Kasse — volle Breite, kein Sidebar
   ================================================ */
.woocommerce-cart .ct-sidebar,
.woocommerce-checkout .ct-sidebar {
    display: none !important;
}
.woocommerce-cart .ct-container,
.woocommerce-checkout .ct-container {
    grid-template-columns: 1fr !important;
}

/* ================================================
   FIX: Produktseite — Beschreibungs-Tab Abstand
   ================================================ */
.woocommerce-tabs .panel {
    padding: 24px 0 !important;
}
.woocommerce-tabs ul.tabs {
    margin-bottom: 0 !important;
}

/* ================================================
   FIX: Footer — Spalten sichtbar
   ================================================ */
.ct-footer-widgets {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
    gap: 32px !important;
}
@media (max-width: 768px) {
    .ct-footer-widgets {
        grid-template-columns: 1fr 1fr !important;
        gap: 20px !important;
    }
}
@media (max-width: 480px) {
    .ct-footer-widgets {
        grid-template-columns: 1fr !important;
    }
}




/* ================================================
   PRODUKTSEITE — LAYOUT POLISH
   ================================================ */

/* WooCommerce Tabs: kein ALL CAPS, lesbar */
.woocommerce div.product .wc-tabs li a,
.woocommerce-tabs ul.tabs li a {
    text-transform: none !important;
    letter-spacing: 0.3px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

/* Aktiver Tab: orange Unterstrich sichtbar */
.woocommerce-tabs ul.tabs li.active a {
    color: #ff4900 !important;
    border-bottom-color: #ff4900 !important;
}

/* Produkt-Meta Labels (ARTIKELNUMMER, KATEGORIEN, SCHLAGWÖRTER): kein ALL CAPS */
.woocommerce div.product .product_meta span.sku_wrapper,
.woocommerce div.product .product_meta span.posted_in,
.woocommerce div.product .product_meta span.tagged_as,
.woocommerce div.product .product_meta .sku_wrapper label,
.woocommerce div.product .product_meta strong {
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-size: 13px !important;
    color: #444 !important;
}

/* Lagerbestand: dezent grün stylen */
.woocommerce div.product p.in-stock {
    color: #2e7d32 !important;
    font-weight: 600 !important;
    font-size: 13px !important;
}
.woocommerce div.product p.out-of-stock {
    color: #c62828 !important;
    font-weight: 600 !important;
    font-size: 13px !important;
}

/* Quantity + Button: bessere Proportion */
.woocommerce div.product form.cart .quantity {
    min-width: 110px !important;
}
.woocommerce div.product form.cart .quantity input.qty {
    text-align: center !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    height: 48px !important;
}
.woocommerce div.product form.cart button.single_add_to_cart_button {
    height: 48px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
}

/* Breadcrumb: leicht dezenter */
.woocommerce .woocommerce-breadcrumb {
    font-size: 12px !important;
    color: #888 !important;
    margin-bottom: 8px !important;
}
.woocommerce .woocommerce-breadcrumb a {
    color: #ff4900 !important;
}

/* Ähnliche Produkte: Abstand oben */
.woocommerce .related.products {
    margin-top: 60px !important;
}
.woocommerce .related.products h2 {
    font-size: 24px !important;
    font-weight: 700 !important;
    margin-bottom: 24px !important;
}

/* ================================================
   HOMEPAGE — LAYOUT POLISH
   ================================================ */

/* Hero: etwas mehr Hoehe fuer mehr Impact */
.post-16546 .wp-block-cover:first-of-type {
    min-height: 460px !important;
}

/* Abschnitt-Ueberschriften: konsistent */
.entry-content h2:not([class]) {
    font-size: 28px !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
}

/* Finanzierung-Sektion: Bullet-Liste sauberer */
.wp-block-group .wp-block-list,
.wp-block-group ul:not([class]) {
    list-style: none !important;
    padding-left: 0 !important;
}

/* Kategorie-Seite: Produkt-Anzahl-Text */
.woocommerce-result-count {
    font-size: 13px !important;
    color: #888 !important;
}

/* Sale-Badge auf Kategorie-Seiten: orange + lesbar */
.woocommerce ul.products li.product .onsale {
    background-color: #ff4900 !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    border-radius: 4px !important;
    padding: 3px 8px !important;
    min-height: auto !important;
    min-width: auto !important;
    line-height: 1.4 !important;
}

/* Preis durchgestrichen (original): dezenter */
.woocommerce ul.products li.product .price del,
.woocommerce div.product p.price del {
    opacity: 0.55 !important;
    font-size: 0.9em !important;
}

/* ================================================
   DROPDOWN FIX — FINAL (Blocksy Analyse 2026-05-25)
   Root causes:
   1. [data-responsive=no]{overflow:hidden} clippt das Dropdown
   2. [class*=animated-submenu][data-submenu]{position:relative} — data-submenu
      fehlt auf den <li>, also kein position:relative → sub-menu positioniert
      relativ zu falschem Ancestor
   3. display:none via [data-responsive=no] .sub-menu
   ================================================ */

/* Fix 1: overflow:visible NUR fuer die Kategorie-Nav (untere Leiste)
   NICHT fuer die mittlere Nav — dort wuerden 120px-hohe li-Elemente
   (Werkstatt/Vermietung) nach unten in die untere Nav hineinragen und
   mit z-index:2 alle Mouse-Events abfangen.
   Die Kategorie-Nav hat id="header-menu-2" */
#header-menu-2,
#header-menu-2 ul {
  overflow: visible !important;
}
/* Ancestor-Container der Kategorie-Nav */
#header [data-row="bottom"],
#header [data-row="bottom"] &gt; div,
#header [data-row="bottom"] [data-column],
#header [data-row="bottom"] [data-items] {
  overflow: visible !important;
}

/* Fix 2: position:relative auf <li> (data-submenu fehlt) */
#header li[class*="animated-submenu-block"] {
  position: relative !important;
}

/* Fix 3: Sub-menu anzeigen bei hover + ct-active */
#header li[class*="animated-submenu-block"]:hover &gt; .sub-menu,
#header li[class*="animated-submenu-block"].ct-active &gt; .sub-menu {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  z-index: 999999 !important;
  overflow: visible !important;
  max-height: none !important;
  transform: none !important;
  min-width: 200px !important;
}

/* Fix 4: Sub-menu Items sichtbar (Blocksy setzt opacity:0 + transform) */
#header li[class*="animated-submenu-block"]:hover &gt; .sub-menu &gt; li,
#header li[class*="animated-submenu-block"].ct-active &gt; .sub-menu &gt; li {
  opacity: 1 !important;
  transform: none !important;
}

/* Fix 5: Inline sub-menus (2. Ebene: rechts aufklappen) */
#header li[class*="animated-submenu-inline"] {
  position: relative !important;
}
#header li[class*="animated-submenu-inline"]:hover &gt; .sub-menu,
#header li[class*="animated-submenu-inline"].ct-active &gt; .sub-menu {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  position: absolute !important;
  top: 0 !important;
  left: 100% !important;
  z-index: 999999 !important;
  overflow: visible !important;
  max-height: none !important;
  transform: none !important;
  min-width: 200px !important;
}
#header li[class*="animated-submenu-inline"]:hover &gt; .sub-menu &gt; li,
#header li[class*="animated-submenu-inline"].ct-active &gt; .sub-menu &gt; li {
  opacity: 1 !important;
  transform: none !important;
}


iframe[src*="app-room.ch"] {
  border-radius: 12px !important;
}

/* ================================================
   KATEGORIEBESCHREIBUNG: nach Titel, vor Produkten
   ================================================ */
.fbt-cat-description {
    font-size: 14px !important;
    color: #555 !important;
    line-height: 1.75 !important;
    margin: 0 0 28px !important;
    max-width: 760px !important;
}
.fbt-cat-description p {
    margin-bottom: 10px !important;
    color: #555 !important;
}
.fbt-cat-description h2,
.fbt-cat-description h3 {
    font-size: 18px !important;
    color: #1a1e24 !important;
    font-weight: 700 !important;
    margin: 16px 0 8px !important;
}
.fbt-cat-description ul {
    padding-left: 18px !important;
    margin-bottom: 10px !important;
}
.fbt-cat-description a {
    color: #ff4900 !important;
}

/* ================================================
   MOBILE: Hero-Gap entfernen
   Blocksy setzt ct-container-full padding-top:50px → 50px Lücke zwischen USP-Bar und Hero
   ================================================ */
@media (max-width: 768px) {
  .home .ct-container-full {
    padding-top: 0 !important;
  }
}

/* ================================================
   MOBILE: Kategorie-Tiles — kein verwaister Platzhalter
   fbt-hero-row-3 hat 3 Tiles in 2-Spalten-Grid → Tile #3 (odd) voll-breit
   ================================================ */
@media (max-width: 768px) {
  .fbt-hero-row-3 .fbt-hero-tile:last-child:nth-child(odd) {
    grid-column: 1 / -1 !important;
  }
}

/* ================================================
   MOBILE: Logo vertikal zentriert
   site-logo-container (h=50) enthaelt img (h=34) → top-aligned → vcenter=32 statt 40
   Fix: flex + align-items:center auf dem <a>-Wrapper
   ================================================ */
#header .site-logo-container {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
}

/* ================================================
   INSTAGRAM FEED: Carousel → 2-Spalten Grid
   Elfsight rendert inline (kein iframe) → CSS greift direkt
   Widget laedt 2 Posts pro Slide → 2 Spalten optimal
   Fuer mehr Posts: Elfsight-Dashboard → Layout auf "Grid" stellen, 3 Spalten, 9 Posts
   ================================================ */
.eapps-instagram-feed-posts {
    overflow: visible !important;
    height: auto !important;
}
.eapps-instagram-feed-posts-inner {
    display: block !important;
    height: auto !important;
    transform: none !important;
    width: 100% !important;
}
.eapps-instagram-feed-posts-view {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 4px !important;
    height: auto !important;
    width: 100% !important;
}
.eapps-instagram-feed-posts-item {
    width: auto !important;
    height: auto !important;
}
.eapps-instagram-feed-posts-item img {
    width: 100% !important;
    aspect-ratio: 1 !important;
    object-fit: cover !important;
    display: block !important;
}
.eapps-instagram-feed-posts-slider-nav {
    display: none !important;
}

/* ================================================
   BRANDS-SECTION: 3 Spalten auf Mobile → 3×3 Grid bei 9 Marken
   ================================================ */
@media (max-width: 640px) {
    .fbt-brands-row {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px 16px !important;
        align-items: center !important;
        justify-items: center !important;
    }
    .fbt-brand-logo-wrap img {
        max-height: 34px !important;
        max-width: 90px !important;
    }
}

/* ================================================
   HERO / KATEGORIE-SEITEN: Abstand minimal
   ================================================ */

/* CSS-Variable überschreiben — gilt für alle Spacing-Regeln auf Shop/Kat-Seiten */
body[data-prefix="woo_categories"] {
    --theme-content-vertical-spacing: 0px;
}

/* Hero-Section selbst: nur minimales Padding */
body[data-prefix="woo_categories"] .hero-section {
    padding: 12px 0 6px !important;
    margin: 0 !important;
}

/* Titel: kein Margin unten */
body[data-prefix="woo_categories"] .entry-header,
body[data-prefix="woo_categories"] .page-title {
    margin-bottom: 0 !important;
}

/* Breadcrumb kein unterer Abstand */
body[data-prefix="woo_categories"] .woocommerce-breadcrumb,
body[data-prefix="woo_categories"] .ct-breadcrumbs {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* woo-listing-top: kleiner oberer Abstand */
body[data-prefix="woo_categories"] .woo-listing-top {
    margin-top: 12px !important;
}

/* Skeleton Loader — Bild-Container grau während Laden */
.fbs-img-wrap,
.product .woocommerce-loop-product__link,
.woocommerce-product-gallery figure,
.ct-image-container,
figure[class*=product] {
  background-color: transparent;
}
img[src*=coming-soon] {
  opacity: 0 !important;
}

/* ===== PRODUKTBILDER: kein nervöses Slider-Jitter, schärfere Darstellung ===== */
/* Slider-Transition glätten */
.woocommerce-product-gallery .ct-media-container,
.woocommerce-product-gallery__wrapper,
.woocommerce-product-gallery figure {
  transition: none !important;
  animation: none !important;
}
/* Kein Flexslider-Jitter */
.flex-viewport { overflow: hidden !important; }
.woocommerce-product-gallery .ct-slider { overflow: hidden !important; }
/* Hauptbild volle Breite, scharf, kein Blur durch Upscaling */
.woocommerce-product-gallery__image img,
.woocommerce-product-gallery .ct-media-container img {
  image-rendering: -webkit-optimize-contrast;
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}
/* Zoom-Cursor auf Hauptbild */
.woocommerce-product-gallery__image { cursor: zoom-in; }
/* Thumbnail-Leiste: klarer Rahmen beim aktiven Bild */
.woocommerce-product-gallery__thumb-list .ct-media-container.ct-is-active {
  outline: 2px solid #ff4900;
  outline-offset: 2px;
}

/* HERO-GAP-DESKTOP-FIX */
.home main#main .ct-container-full {
  padding-top: 0 !important;
}

.page-id-20974 .ct-container-full{padding-top:0 !important}
#header [data-row="bottom"] .ct-menu-link{text-transform:none !important}

@media(max-width:767px){#werkstatt-iframe{height:3300px !important;min-height:3300px !important}}

#header [data-row="middle"]{z-index:200 !important}

#header [data-row="top"] .ct-container{grid-template-columns:1fr auto 1fr !important;grid-auto-flow:column !important}

@media(min-width:768px){#header [data-row="middle"] .ct-container{grid-template-columns:1fr auto 1fr !important;grid-auto-flow:column !important}}

/* fb-navtune */
#header [data-row="bottom"] .ct-menu-link,#header [data-row="middle"] .ct-menu-link{font-size:14px}
#header [data-row="top"]{--height:40px !important}
#header [data-row="bottom"]{--height:60px !important}

/* fb-dropdown-tune */
#header .sub-menu .ct-menu-link{padding-top:7px !important;padding-bottom:7px !important}
#header [data-row="bottom"]{--height:54px !important}

/* fb-kontakt-gap */
.page-id-20788 .ct-container-full{padding-top:0 !important}
.page-id-20788 .entry-content{margin-top:0 !important}

/* fb-cat-desc */
.fbt-cat-description{max-width:1000px;margin:30px auto 0;font-size:15px;line-height:1.9;color:#4a4a4a}
.fbt-cat-description p{margin:0 0 1.2em}
.fbt-cat-description h2,.fbt-cat-description h3{font-size:20px;font-weight:700;color:#1a1e24;margin:1.5em 0 .4em;line-height:1.3}
.fbt-cat-description strong{color:#1a1e24}

/* fb-cat-desc2 */
.fbt-cat-description,.fbt-cat-description p,.fbt-cat-description li{font-size:15px !important;line-height:1.9 !important;color:#4a4a4a}
.fbt-cat-description p{margin:0 0 1.15em !important}
.fbt-cat-description br{display:block !important;content:"" !important;margin-top:.5em !important}
