#cw-mcore-fbt {
    --fbt-tile: 140px;
    box-sizing: border-box;
    max-width: 1400px;
    margin: 24px auto;
    padding: 20px 5% 30px 11%;
    background: #f1f1f1;
    color: #121212;
    font-family: Montserrat, system-ui, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

#cw-mcore-fbt [hidden] { display: none !important; }

#cw-mcore-fbt h2 {
    margin: 0 0 12px;
    color: inherit;
    font: inherit;
    font-size: 18px;
    font-weight: 500;
}

#cw-mcore-fbt .fbt-images,
#cw-mcore-fbt .fbt-items {
    margin: 0;
    padding: 0;
    list-style: none;
}

#cw-mcore-fbt .fbt-images {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 10px;
    margin-bottom: 14px;
}

#cw-mcore-fbt .fbt-tile {
    display: flex;
    align-items: center;
    gap: 10px;
}

#cw-mcore-fbt .fbt-tile a,
#cw-mcore-fbt .fbt-tile img {
    box-sizing: border-box;
    display: block;
    width: var(--fbt-tile);
    height: var(--fbt-tile) !important;
}

#cw-mcore-fbt .fbt-tile img { object-fit: contain; }
#cw-mcore-fbt .fbt-plus { color: #454545; font-size: 22px; }

#cw-mcore-fbt .fbt-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
    margin: 0 0 14px;
}

#cw-mcore-fbt output { margin-inline-start: 4px; font-weight: 600; }

#cw-mcore-fbt .fbt-controls {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

#cw-mcore-fbt .fbt-add {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 9px 21px;
    border: 1px solid #000;
    border-radius: 30px;
    background: #000;
    color: #fff;
    font: inherit;
    cursor: pointer;
}

#cw-mcore-fbt .fbt-add:hover:not(:disabled) { background: #242424; }
#cw-mcore-fbt .fbt-add:disabled { opacity: .48; cursor: default; }

#cw-mcore-fbt .fbt-item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 29px;
    margin: 0;
}

#cw-mcore-fbt .fbt-selection {
    box-sizing: border-box;
    display: inline-grid;
    flex: 0 0 24px;
    width: 24px;
    min-height: 28px;
    place-items: center;
    margin: 0;
    padding: 0;
}

#cw-mcore-fbt .fbt-selection input {
    appearance: auto;
    display: block;
    position: static;
    width: 16px;
    height: 16px;
    margin: 0;
    opacity: 1;
    accent-color: #181818;
    cursor: pointer;
}

#cw-mcore-fbt .fbt-selection input:disabled { cursor: default; }
#cw-mcore-fbt .fbt-item a { color: inherit; text-decoration: none; }
#cw-mcore-fbt .fbt-item a:hover { text-decoration: underline; }
#cw-mcore-fbt .fbt-price { color: #2943bd; white-space: nowrap; }
#cw-mcore-fbt .fbt-unavailable { color: #505050; }
#cw-mcore-fbt .fbt-status { margin: 8px 0 0; }
#cw-mcore-fbt .fbt-status a { text-decoration: underline; }

#cw-mcore-fbt :focus-visible {
    outline: 2px solid #162b86;
    outline-offset: 3px;
}

#cw-mcore-fbt .fbt-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

@media (max-width: 768px) {
    #cw-mcore-fbt {
        --fbt-tile: clamp(72px, 18vw, 102px);
        margin: 18px 0;
        padding: 16px;
    }

    #cw-mcore-fbt .fbt-images,
    #cw-mcore-fbt .fbt-tile { gap: 6px; }

    #cw-mcore-fbt .fbt-item { min-height: 36px; }
    #cw-mcore-fbt .fbt-selection { min-height: 36px; }
}
