/* =========================================
   FITNESS-TRACKER24
   RECHNER, FILTER UND PRODUKTSEITEN
========================================= */


/* =========================================
   RECHNER UND FILTER
========================================= */

.ft24-calc,
.ft24-finder {
    background: #fff;
    border: 1px solid #e4eaf0;
    border-radius: 20px;
    padding: 25px;
    margin: 25px 0;
    box-shadow: 0 10px 28px rgba(16,35,63,.06);
}

.ft24-calc h2,
.ft24-finder h2 {
    margin: 0 0 6px;
    color: #10233f;
    font-size: 1.55rem;
}

.ft24-intro,
.ft24-finder > p {
    color: #667085;
    margin: 0 0 20px;
}

.ft24-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 16px 0;
}

.ft24-fields label {
    display: block;
    font-weight: 650;
    color: #24334a;
}

.ft24-fields input,
.ft24-fields select {
    display: block;
    width: 100%;
    margin-top: 6px;
    border: 1px solid #d6dee7;
    border-radius: 10px;
    padding: 11px 12px;
    background: white;
    color: #172338;
    box-sizing: border-box;
}

.ft24-wide {
    grid-column: 1 / -1;
}

.ft24-button {
    display: inline-flex;
    border: 0;
    border-radius: 999px;
    background: #22a06b;
    color: white !important;
    font-weight: 750;
    padding: 12px 19px;
    cursor: pointer;
    text-decoration: none;
}

.ft24-button:hover {
    background: #16784e;
}

.ft24-result {
    display: none;
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 12px;
    background: #e8f7ee;
    color: #145b3d;
}

.ft24-result.is-visible {
    display: block;
}

.ft24-disclaimer {
    font-size: .82rem;
    color: #778294;
    margin: 14px 0 0;
}


/* =========================================
   FITNESS-TRACKER-FINDER
========================================= */

.ft24-finder-results {
    margin-top: 24px;
}

.ft24-empty {
    background: #f4f8f6;
    padding: 18px;
    border-radius: 12px;
    color: #536174;
}

.ft24-finder-results.is-loading {
    opacity: .5;
    pointer-events: none;
}


/* =========================================
   PRODUKTKARTEN
========================================= */

.ft24-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ft24-product-card {
    border: 1px solid #e4eaf0;
    border-radius: 16px;
    overflow: hidden;
    background: white;
}

.ft24-product-card > a img {
    width: 100%;
    height: 190px;
    object-fit: contain;
    background: #f7f9fa;
    padding: 12px;
    box-sizing: border-box;
}

.ft24-product-body {
    padding: 17px;
}

.ft24-brand {
    font-size: .8rem;
    color: #667085;
    font-weight: 700;
}

.ft24-product-body h3 {
    margin: 3px 0 7px;
    color: #10233f;
}

.ft24-price {
    font-weight: 800;
    color: #16784e;
}

.ft24-specs {
    display: grid;
    gap: 5px;
    font-size: .86rem;
    color: #536174;
    margin: 12px 0 16px;
}

.ft24-text-link {
    font-size: .9rem;
    font-weight: 700;
    margin-left: 8px;
}


/* =========================================
   PRODUKTDETAILSEITE
========================================= */

body.single-ft24_tracker .ft24-detail {
    display: block !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 40px auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    text-align: left !important;
}

/* Produktbereiche */

body.single-ft24_tracker .ft24-detail-hero,
body.single-ft24_tracker .ft24-detail-section,
body.single-ft24_tracker .ft24-pros-cons,
body.single-ft24_tracker .ft24-related {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}


/* =========================================
   PRODUKTKOPF
   TITEL ÜBER BILD UND INFORMATIONEN
========================================= */

body.single-ft24_tracker .ft24-detail-hero {
    display: grid !important;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr) !important;

    align-items: start !important;
    justify-items: stretch !important;

    column-gap: 35px !important;
    row-gap: 20px !important;

    width: 100% !important;
}


/* =========================================
   PRODUKTTITEL
   ÜBER BEIDE SPALTEN
========================================= */

body.single-ft24_tracker .ft24-detail-hero > h1.ft24-product-title {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;

    display: block !important;
    width: 100% !important;
    max-width: 100% !important;

    text-align: left !important;

    margin: 0 0 5px 0 !important;
    padding: 0 !important;

    float: none !important;
    position: static !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;

    justify-self: start !important;
    align-self: start !important;

    box-sizing: border-box !important;
}


/* =========================================
   PRODUKTBILD
========================================= */

body.single-ft24_tracker .ft24-detail-image {
    grid-column: 1 !important;
    grid-row: 2 !important;

    width: 100% !important;
    max-width: 100% !important;

    justify-self: stretch !important;
    align-self: start !important;

    box-sizing: border-box !important;
}

body.single-ft24_tracker .ft24-detail-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}


/* =========================================
   PRODUKTINFORMATIONEN
========================================= */

body.single-ft24_tracker .ft24-detail-info {
    grid-column: 2 !important;
    grid-row: 2 !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;

    width: 100% !important;
    max-width: 100% !important;

    text-align: left !important;

    justify-self: stretch !important;
    align-self: start !important;

    box-sizing: border-box !important;
}

body.single-ft24_tracker .ft24-detail-info > * {
    text-align: left !important;
}


/* Marke */

body.single-ft24_tracker .ft24-detail-brand {
    text-align: left !important;
}


/* Kurzbeschreibung */

body.single-ft24_tracker .ft24-detail-excerpt {
    width: 100%;
    text-align: left !important;
}


/* Preis */

body.single-ft24_tracker .ft24-detail-price {
    text-align: left !important;
}


/* Kaufen-Button */

body.single-ft24_tracker .ft24-buy-button {
    align-self: flex-start !important;
}


/* =========================================
   TECHNISCHE DATEN
========================================= */

body.single-ft24_tracker .ft24-detail-section {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    margin-top: 40px;
}

body.single-ft24_tracker .ft24-spec-table {
    width: 100% !important;
}


/* =========================================
   VORTEILE UND NACHTEILE
========================================= */

body.single-ft24_tracker .ft24-pros-cons {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 25px !important;
    width: 100% !important;
    margin-top: 35px;
}


/* =========================================
   ÄHNLICHE FITNESS-TRACKER
========================================= */

body.single-ft24_tracker .ft24-related {
    display: block !important;
    width: 100% !important;
    margin-top: 45px;
}

body.single-ft24_tracker .ft24-product-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    width: 100% !important;
}


/* =========================================
   RESPONSIVE DARSTELLUNG
========================================= */

@media (max-width: 760px) {

    .ft24-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 650px) {

    body.single-ft24_tracker .ft24-detail {
        width: 100% !important;
        margin: 25px auto !important;
        padding: 0 12px !important;
    }

    body.single-ft24_tracker .ft24-detail-hero {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* Titel bleibt oben und linksbündig */

    body.single-ft24_tracker .ft24-detail-hero > h1.ft24-product-title {
        grid-column: 1 !important;
        grid-row: 1 !important;
        text-align: left !important;
    }

    /* Bild unter dem Titel */

    body.single-ft24_tracker .ft24-detail-image {
        grid-column: 1 !important;
        grid-row: 2 !important;
    }

    /* Informationen unter dem Bild */

    body.single-ft24_tracker .ft24-detail-info {
        grid-column: 1 !important;
        grid-row: 3 !important;
    }

    body.single-ft24_tracker .ft24-pros-cons,
    body.single-ft24_tracker .ft24-product-grid {
        grid-template-columns: 1fr !important;
    }

    .ft24-fields,
    .ft24-product-grid {
        grid-template-columns: 1fr;
    }

    .ft24-calc,
    .ft24-finder {
        padding: 18px;
    }

    .ft24-wide {
        grid-column: auto;
    }

}
